TeamViewer IoT Cloud API - Get Last Data not working
rhojn
Posts: 2 Newbie
Hello,
I'm currently working on an app that uses the TeamViewer IoT Cloud API, and one of the endpoints that the app needs to access is the "Get Last Data," but I can't seem to make it work. It's always returning a 151 error code with "Error.wrong parameters." error message even if I'm using the correct parameters based on the documentation.
0
Answers
-
Hi @rhojn
Could you please try with these parameters?
/snapshot?sensors=[{"id":the_sensor_id,"metrics":[{"id":":the_metric_id","valueType":"double_or_string"}]}]
Regards,
Mircea
Tech Support IoT
Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.1