Get a robot by ID
GET/robots/:id
The Get Robot request allows you to retrieve information about a specific robot in ANSCER FMS.
Request
Path Parameters
id stringrequired
The ID of the robot to retrieve, update or delete
Responses
- 200
- 401
- 403
- 404
- 500
Robot details
- application/json
- Schema
- Example (from schema)
Schema
_id uuid
manufacturer string
serialNumber string
robotStatus string
Possible values: [pending, active, inactive]
createdAt date-time
updatedAt date-time
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"manufacturer": "string",
"serialNumber": "string",
"robotStatus": "pending",
"createdAt": "2025-06-05T13:40:40.451Z",
"updatedAt": "2025-06-05T13:40:40.451Z"
}
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...