DLA Files
Provides a set of datapoint logging and alarming (DLA) rules according to specified filters, sorting, and paging.
URI Definition
Method | URI and Fields | |||||||||||||||
GET | /iap/devTypes/{device_type}/if/{{block}/{block_index}/{datapoint}/dla | |||||||||||||||
Returns the available datapoints and the DLA rules assigned to them. XIFname vs Instance Name
Path ParametersFor a description of the available path parameters, see the path parameter tables under Query and Path Parameters below. Query Parameters
Return Codes
| ||||||||||||||||
/iap/devTypes/{device_type}/if/{{block}/{block_index}/{datapoint}/dla/count | ||||||||||||||||
Returns the number of DLA rules available, based on the current filter. XIFname vs Instance Name
Path ParametersFor a description of the available path parameters, see the path parameter tables under Query and Path Parameters below. Query Parameters
Return Codes
| ||||||||||||||||
/iap/dlaRules/{device_type}/datapointsToCopy | ||||||||||||||||
Returns all datapoints for copying properties from specified source datapoint. Path ParametersFor a description of the available path parameters for device_type, see the device_type table under Query and Path Parameters below. Query Parameters
Return Codes
| ||||||||||||||||
/iap/dla/totalParameters | ||||||||||||||||
Returns the following json fields in the body. Body
Body Example:
Return Codes
| ||||||||||||||||
PUT | /iap/dlaRules | |||||||||||||||
Updates one or more existing DLA rules, or create one or more new DLA rules. Body Example:
Return Codes
| ||||||||||||||||
/iap/dlaRules/clear | ||||||||||||||||
Clears the specified DLA rules. Body Example:
Return Codes
| ||||||||||||||||
/iap/dlaRules/clearAll | ||||||||||||||||
Clears all DLA rules, except those excluded. Body contains list of DLA rule IDs to exclude. Body
Body Example:
Return Codes
| ||||||||||||||||
/iap/dlaRules/export | ||||||||||||||||
Exports the specified DLA rules. Body Example:
Return Codes
| ||||||||||||||||
/iap/dlaRules/exportAll | ||||||||||||||||
Exports all DLA rules, except those excluded. Body contains list of DLA rule IDs to exclude from the export operation. Body
Body Example:
Return Codes
|
Query and Path Parameters
You can include queries with your IAP/REST request to specify a selection rule for your request. As described in Queries and Parameters, you can specify a query as a query parameter appended to the end of your URI preceded with a "?" character, or as a path parameter within a path element of the path component.
Path Parameters
The following path parameters can be used with this endpoint.
device_type
The following list describes the optional path parameters for the device_type path element of the DLA Files endpoint:
Path Parameter | Description |
---|---|
filename | Name of the file associated with device type |
programId | Same value as type (Program ID value). |
protocol | Filters for device types with the specified protocol. Possible values are:
|
typeName | Filters for device types with the specified type name. Used if query *+... is not specified. |
type | Filters for device types with the specified type. |
xifName | Same as datapoint XIF name. |
block
The following list describes the optional path parameters for the block path element of the DLA Files endpoint:
Path Parameter | Description |
---|---|
type | Filters for blocks with the specified block type (profile). |
block_index
The following list describes the optional path parameters for the block_index path element of the DLA Files endpoint:
Path Parameter | Description |
---|---|
index | Filters for block_indexes with the specified block index. |
datapoint_name
The following list describes the optional path parameters for the datapoint_name path element of the DLA Files endpoint:
Path Parameter | Description |
---|---|
dpName | Filters for DLA rules for datapoints with the specified instance name. |
name | Same as datapoint instance name. |
type | Filters for DLA rules for datapoints with the specified type name. |
type.id | Filters for DLA rules for datapoints with the specified type ID. |
xifName | Same as datapoint XIF name. |