/
Managing Datapoint Properties
Managing Datapoint Properties
Datapoint properties describe attributes of a datapoint including a description, direction, property and read-only flags, and monitoring rate. You can read or update these properties as indicated below. For more information, refer to Datapoint Properties in the IAP/REST Reference.
Returns the specified properties of the specified datapoints. If no properties are specified, it returns all properties.
GET | /iap/devs/{device handle}/if/{block name}/{block index}/{datapoint name}/{datapoint property} |
Updates the specified properties of the specified datapoints.
PUT | /iap/devs/{device handle}/if/{block name}/{block index}/{datapoint name}/{datapoint property} |
Get_Set_Datapoint_Properties
GET /iap/devs/17q2d9x.5/if/block/1/Volts_1/monitor [ { "deviceId":"17q2d9x.5", "blockName":"block", "blockIndex":"1", "datapointName":"Volts_1", "deviceState":"provisioned", "deviceHealth":"normal", "monitor":{ "cat":"data", "rate":0, "report":"change", "throttle":0, "inFeedback":true } } ] PUT /iap/devs/17q2d9x.5/if/block/1/Volts_1/values Payload: {"cat":"data","rate":50,"report":"change","throttle":0,"inFeedback":true} Success
API Method and Endpoints
Returns all datapoint properties for all devices
Return all properties for specific datapoint
Properties of Volts_1 datapoint
GET /iap/devs/17q2d9x.5/if/block/1/Volts_1/* [ { "deviceId":"17q2d9x.5", "blockName":"block", "blockIndex":"1", "datapointName":"Volts_1", "deviceState":"provisioned", "deviceHealth":"normal", "values":{ "level":17, "levels":{ "17":-500 } }, "cat":"out", "property":false, "monitor":{ "cat":"data", "rate":0, "report":"change", "throttle":0, "inFeedback":true }, "type":"0000000000000000-0/SNVT_volt_f", "value":-500 } ]
Returns all datapoint "values" for device with handle 17q2d9x.5 and for block "block/1"
Return all datapoint of specific device
GET /iap/devs/17q2d9x.5/if/block/1/*/values [ { "deviceId":"17q2d9x.5", "blockName":"block", "blockIndex":"1", "datapointName":"Freq", "deviceState":"provisioned", "deviceHealth":"normal", "values":{ "level":17, "levels":{ "17":0 } } }, { "deviceId":"17q2d9x.5", "blockName":"block", "blockIndex":"1", "datapointName":"Volts_1", "deviceState":"provisioned", "deviceHealth":"normal", "values":{ "level":17, "levels":{ "17":-500 } } } ]
Returns properties for all datapoint which name starts with specific prefix "Volts"
Collect datapoint with specific prefix
GET /iap/devs/17q2d9x.5/if/block/1/*+name=+^Volts/* [ { "deviceId":"17q2d9x.5", "blockName":"block", "blockIndex":"1", "datapointName":"Volts_1", "deviceState":"provisioned", "deviceHealth":"normal", "values":{ "level":17, "levels":{ "17":-500 } }, "cat":"out", "property":false, "monitor":{ "cat":"data", "rate":0, "report":"change", "throttle":0, "inFeedback":true }, "type":"0000000000000000-0/SNVT_volt_f", "value":-500 } ]
, multiple selections available,
Related content
Datapoint Properties
Datapoint Properties
More like this
Managing Datapoint Types
Managing Datapoint Types
More like this
Managing Datapoint Overrides
Managing Datapoint Overrides
More like this
Monitoring Datapoints
Monitoring Datapoints
More like this