Data Collection
Create data collection item
Changed onCreate a new data collection item on the object. The DCI type is selected by the type property in the request body (item for a single-value DCI or table for a table DCI, default item). The server assigns the DCI id and returns the full created definition. Enumeration properties accept either symbolic names or raw numeric codes.
post/v1/objects/{object-id}/data-collection/configuration
Request
- Base URLhttp://127.0.0.1:8000
- URLhttp://127.0.0.1:8000/v1/objects/{object-id}/data-collection/configuration
- AuthHTTP bearer
Path parameters
object-idinteger required
Object ID
Request body
Response
Data collection item created
Changes
- breaking
removed the enum value
nxagentof the request property - warning
added the new
agentenum value to theresponse property for the response status - info
added the new
agentenum value to the request property - info
removed the
nxagentenum value from theresponse property for the response status
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info