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
Requiredstring
Request Body
application/json
activePowerControl
object
Required
Active power control
Expand
reactivePowerControl
object
Required
Reactive power control
Expand
startTime
string
Required
Start time (ISO 8601 format, UTC)
Format
"date-time"endTime
string
Required
End time (ISO 8601 format, UTC)
Format
"date-time"Responses
Command received
application/json
object
id
string
System generated command ID
message
string
Message
timestamp
string
Format
"date-time"POST
/device/{deviceId}/commands