English
English
简体中文
Contact Us
Register
Log In

Control Multiple Data Points of Single Device

Last Updated on : 2022-09-07 08:38:02download

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.