R3 Emergency stop the machine after it has been started - cheyoudaren/global-open-server-api-interface-description GitHub Wiki
Brief description:
- After calling this interface, the stop command will be issued to the device, and the reset operation will start after the device stops successfully.
Request URL:
- https://SERVER_URL/api/open/v1/rt3/stop
Request parameters:
| Parameter name | Required | Type | Illustration |
|---|---|---|---|
| openId | Yes | String | OpenID |
| time | Yes | long | Time stamp |
| iotId | Yes | long | Machine ID |
Request example:
Request JSON:
{
"openId": "rSZWWixs2CUbf0ih",
"time": 1613693307796,
"iotId": 10024
}
Response JSON:
{
"code" : 0,
}
Error example:
{
"code" : 20005,
"msg" : "IotId does not exist"
}
Return Parameter Description:
| Parameter name | Type | Illustration |
|---|---|---|
| code | int | Error ID, a value of 0 indicates no error. |
| msg | String | Error message. When the code is not 0, this field prompts the specific error reason. |