Skip to content

Send device command​

POST
/device/{deviceId}/commands

Send a power control dispatch command to a device.

Authorizations​

AccessToken
Type
HTTP (bearer)

Parameters​

Path Parameters

deviceId*

Device ID

Type
string
Required

Request Body​

application/json
object
object
Required

Active power control

object
Required

Reactive power control

Start time (ISO 8601 format, UTC)

Format"date-time"

End time (ISO 8601 format, UTC)

Format"date-time"

Responses​

Command received

application/json
object

System generated command ID

Message

Format"date-time"

Playground​

Authorization
Variables
Key
Value
Body