Update Robot Task Status
You can use this method to update the robot task status.
After a robot task is created, the robot adapter keeps tracking its status until the robot task reaches a final status.
When the robot task status is changed, the robot adapter is notified within one second. Then the robot adapter calls this API method to notify the warehouse robot controller of the change.
Note that if there is no status change, the robot adapter shouldn't call this API method.
Request
URI: /robots/{robotId}/robotTasks/{robotTaskId}/robotTaskStatus
HTTP Method: PUT
Request Parameters
| Parameter | Required | Data Type | Description |
|---|---|---|---|
| robotId | Yes | String | Robot ID |
| robotTaskId | Yes | String | Robot task |
| status | Yes | String (maximum 20 characters) | Status
Possible values:
|
| message | No | String | Additional message to explain status. |
Response
| Code | Description |
|---|---|
| 200 | The request is processed successfully. |
| 400 | The server can't process the request. |
| 404 | Robot task doesn't exist. |