commandSend
POST
/v2/openapi/device/command/sendRequest
Body Params application/json
deviceId
string | null
required
deviceId
commandText
string | null
required
commandText
subProtocol
string | null
required
subProtocol 0x8900
type
string | null
required
type CUSTOM
Example
{
"deviceId": "string",
"commandText": "string",
"subProtocol": "string",
"type": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
string | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": "",
"msg": ""
}
Last modified: 4 months ago