Dock Selection
Kairos dock selection service. Send the request with an "origin" and "destination" as null or as a single dock location and "picksInfo". The response contains a "newOrigin" and a "distanceNew".
dockselection
POST https://optimizer-ara-stage-dot-kairoslogic.ew.r.appspot.com/dockselection
Request Body
_meta
string
{ "warehouse": { "tag": "ARA", "uuid": "" } }
requestType
string
"dockselection"
requestData
string
{ "origin": "DOCK10B", "destination": "DOCK10B", "mobileUnitId": "", "pickRoundId": "PRO_ARA_ARM41981437_dfd65", "picksInfo": { "SKUs": [ "40272230", "40272231", "40272232" ], "locations": [ "067U34","089B10","067U34""015D34"]} }
Example requests and responses for the dockselection service. A request can either be sent with an original "origin" and "destination" (only tested when they are the same), or where "origin" and "destination" are set to null. In the former case the response will contain a "distanceOld" which can be used to compare the distance for using a new dock location, with that sent in the request. When "origin" and "destination" are null, "distanceOld" is also set to null.
{ "_meta": {
"warehouse": {
"tag": "ARA",
"uuid": "test"
}
},
"requestType": "dockselection",
"requestData": {
"origin": "DOCK03",
"destination": "DOCK03",
"mobileUnitId": "",
"pickRoundId": "479115",
"picksInfo": {
"locations": [
"068F34",
"067U34"
],
"SKUs": [
"80311734",
"40272230"
]
}
}
}{
"_meta": {
"warehouse": {
"tag": "ARA",
"uuid": "test"
}
},
"requestData": null,
"requestType": "dockselection",
"responseData": {
"distanceNew": 176.92,
"distanceOld": 425.44,
"newOrigin": "DOCK09"
}
}{ "_meta": {
"warehouse": {
"tag": "ARA",
"uuid": "test"
}
},
"requestType": "dockselection",
"requestData": {
"origin": null,
"destination": null,
"mobileUnitId": "",
"pickRoundId": "479115",
"picksInfo": {
"locations": [
"068F34",
"067U34"
],
"SKUs": [
"80311734",
"40272230"
]
}
}
}{
"_meta": {
"warehouse": {
"tag": "ARA",
"uuid": "test"
}
},
"requestData": null,
"requestType": "dockselection",
"responseData": {
"distanceNew": 199.75,
"distanceOld": null,
"newOrigin": "DOCK09"
}
}Last updated
Was this helpful?