Common Messages
Message Structure
All messages contain the following structure:
- Header
- Body
The parameters in the body can vary depending on the message type in the header.
Note the following points for messages:
- The size of each message from the fleet management system must not exceed 2 megabytes (M). Otherwise, the 413 (PAYLOAD_TOO_LARGE) error occurs.
- The message from the fleet management system must contain the Content-Length parameter in the header to indicate the size of the message body. Otherwise, the 411 (LENGTH_REQUIRED) error occurs.
Here is an example of the message structure:
Message Parameters
| Parameter | Required | Data Type | Description |
|---|---|---|---|
| messageId | Yes | String | Message ID in UUID format |
| messageType | Yes | String | Message type
For example, possible values can be CREATE_ROBOT_TASK (Create Robot Task) or ROBOT_TASK_STATUS_CALLBACK (Update Robot Task Status). |
| warehouseCode | No | String | Warehouse ID in the fleet management system. The warehouse ID is mapped to a warehouse number in SAP Warehouse Robotics. |
| version | Yes | String | Version of the HTTP request. The current version is 1.0.0. |