Control Multiple Data Points of Single Device

Last Updated on : 2023-06-21 07:13:00download

Control multiple data points of one single device. You can set up multiple data points quickly.

API address

POST: /v1.0/iot-02/lighting/device/dps

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
spaceIdStringbodytrueThe ID of a specified space.
deviceIdStringbodytrueThe device ID.
dpsObjectbodytrueThe list of data points.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

POST: /v1.0/iot-02/lighting/device/dps

Return example

{
    "result": true,
    "t": 1640680030167,
    "success": true
}

Error code

For more information, see error code.