Last Updated on : 2023-06-21 07:13:06download
Top up a specified electrical device.
POST: /v1.0/iot-03/power-devices/{device_id}/charge
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
value | Double | true | The top-up value. |
Parameter name | Type | Description |
---|---|---|
result | Boolean |
|
POST: /v1.0/iot-03/power-devices/6c814919a3f54f****/charge
{
"value": 15
}
{
"result": true,
"t": 1637834199152,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback