Get Route Response
GET/optimize/route/:request_id
Get Route Response
Request
Path Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The site name of the site.
The site id of the site.
The id of the wave.
The ObjectId of the corresponding request.
The timestamp of the response.
Time our algorithm spent calculating.
An error message, if an error occurred.
Link to a visualization of the optimization, if enabled in request parameters.
The id of the route.
picks object[]
The optimized sequence of picks.
ID to unique identify this pick
The location of the pick in the warehouse.
The sequence number of the pick in the as-is route.Required for calculating as-is distances.
Higher priority picks are picked first.
The id of the SKU on the location.
The order id of the pick.
The handling unit id of the pick.
The handling unit type of the pick.
The optimal sequence of this pick in the optimized route.
The path to the pick in the warehouse.
instructions object
The hallways that should be crossed to reach the pick in the shortest path.
Whether the pick should ends the loop.
Whether the pick should starts a new loop.A pick can both end a loop and start a new one.
The distance of the as-is route.
The distance of the optimized route.
{
"asis_distance": 100,
"computation_time": 0.05,
"optimal_distance": 80,
"picks": [],
"request_id": "675177e2aea9bc14fe7c0c02",
"route_id": "Route01",
"site_id": "675177e91539871b3ce6e156",
"site_name": "Example Site",
"timestamp": "2024-12-05T09:41:39.792Z",
"visualization_url": "https://example.com/visualization",
"wave_id": "wave001"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD2
- ]
- ]
detail object[]
loc object[]required
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}