Get a robot request by ID
GET/robot-requests/:id
Retrieve information about a specific robot request.
Request
Path Parameters
id stringrequired
The ID of the robot request to retrieve, update or delete
Responses
- 200
- 401
- 403
- 404
- 500
Robot request details
- application/json
- Schema
- Example (from schema)
Schema
_id uuid
stationId uuid
locationId string
missionLogId uuid
assignedRobot uuid
load uuid
status string
Possible values: [requested, processing, approved, initiated, completed, aborted, cancelled]
sku string[]
requestType string
Possible values: [pickup, dropoff, empty]
trolleyCount number
finishedAt date-time
processedAt date-time
approvedAt date-time
initiatedAt date-time
bufferId uuid
properties object
storeId uuid
from string
Possible values: [station, store]
message string
createdAt date-time
updatedAt date-time
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"stationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"locationId": "string",
"missionLogId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"assignedRobot": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"load": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "requested",
"sku": [
"string"
],
"requestType": "pickup",
"trolleyCount": 0,
"finishedAt": "2024-12-03T13:25:44.844Z",
"processedAt": "2024-12-03T13:25:44.844Z",
"approvedAt": "2024-12-03T13:25:44.844Z",
"initiatedAt": "2024-12-03T13:25:44.844Z",
"bufferId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"properties": {},
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from": "station",
"message": "string",
"createdAt": "2024-12-03T13:25:44.844Z",
"updatedAt": "2024-12-03T13:25:44.844Z"
}
Unauthorized.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Authentication token not provided."
}
{
"message": "Authentication token not provided."
}
Forbidden.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Access to this resource is forbidden."
}
{
"message": "Access to this resource is forbidden."
}
Resource not found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Resource not found."
}
{
"message": "Resource not found."
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Internal Server Error. Please try again later."
}
{
"message": "Internal Server Error. Please try again later."
}
Loading...