Hi i want to pull data via API jason format but once im pulling the sensor id it only gives me the primary channle and not all the channles thats what im getting via the jason: https://fileportal.totalegame.net/Handlers/AnonymousDownload.ashx?file=33864377&links=true and thats how the sensor looks : https://fileportal.totalegame.net/Handlers/AnonymousDownload.ashx?file=3f9f95a0&links=true how can i pull via API in jason format the whole sensor tree.


Article Comments

Dear Alexander

The API allows to either get the whole (or a branch of) the sensor tree with the primary channel, or all sensor channels for a single sensor:

/api/table.json?id=2123&content=channels&columns=objid,name,minimum,maximum,lastvalue&count=*

Replace "2123" with the according sensor ID.


Dec, 2016 - Permalink

thanks


Dec, 2016 - Permalink