Managing Datapoint Overrides
You can specify overrides for any input datapoint. Each override has a priority, state, and value, where the priority is a value between 1 and 16. The override state can be active or inactive, and the override value is a datapoint value conforming to the type specification for the datapoint.
IAP/REST Datapoint Override Operations
Datapoint Overrides
See Datapoint Overrides in the API Reference for more information.
Returns the override values and states for the specified datapoints.
GET | /iap/devs/{id}/if/{block_type}/{block_handle}/{dp_name}/overrides |
Datapoint Override State
Sets the state for a specified override priority for a datapoint. The state can be "active" or "inactive".
See Datapoint Override State for more information on each API.
Returns the override state for the specified datapoints and priority levels.
GET | /iap/devs/{id}/if/{block_type}/{block_handle}/{dp_name}/overrides/{level}/state |
Sets the override state for the specified datapoints and priority levels, and makes the overrides active.
PUT | /iap/devs/{id}/if/{block_type}/{block_handle}/{dp_name}/overrides/{level}/state |
Datapoint Override Values
Specifies the value at a specified override priority for a datapoint. The override value must conform to the type specification for the datapoint.
See Datapoint Override Value for more information on each API.
Returns the override value for the specified datapoints and priority levels. A value of null is returned for any values that are not active.
GET | /iap/devs/{id}/if/{block_type}/{block_handle}/{dp_name}/overrides/{level}/value |
Sets the override value to the specified value for the specified datapoints and priority levels. For structured values, a subset of the fields may be specified. Any fields that are not specified are preserved.
PUT | /iap/devs/{id}/if/{block_type}/{block_handle}/{dp_name}/overrides/{level}/value |
Sets the override value to null for the specified datapoints and priority levels.
DELETE | /iap/devs/{id}/if/{block_type}/{block_handle}/{dp_name}/overrides/{level}/value |