Good afternoon,

When I using following API call to get historic data, the response does not include value unit. /api/historicdata.json?id=2168&avg=3600&sdate=2021-01-11-00-00-00&edate=2021-01-12-01-00-00&usecaption=1 When I using following call, the response include unit information, but do not include channel name or id information. /api/historicdata.json?id=2168&avg=3600&sdate=2021-01-11-00-00-00&edate=2021-01-12-01-00-00

Is there a way to call /api/historicdata.json, and return the result include the channel name, and value unit?

Thanks.


Article Comments

Hello there,

Thanks for the KB post.

I am afraid there is no way to have the unit displayed when using the usecaption syntax.


With kind regards,
Chan Siau Hen
Technical Support Team, Paessler AG


Jan, 2021 - Permalink

Thank you for the reply.


Jan, 2021 - Permalink