Receive Cross-Dock ASN
Receive an advance shipping notification (ASN) for cross-dock operations. The ASN must contain either pallets or parcels, but not both at the top level.
Direction Host → WMS
HTTP Method POST
Path /inbound/cross-dock/receive-asn
Request Body
Section titled “Request Body”A CrossDockAsnDto object. asnId is required. Supply either crossDockPallets or crossDockParcels, not both.
{ "asnId": "ASN-2024-001234", "vehicleNumberPlate": "AB12 CDE", "crossDockPallets": [ { "palletId": "PLT-001", "sortCode": "SC-01", "crossDockParcels": [ { "sortCode": "SC-01", "shipmentNumber": "SHP-001", "shipmentLabelId": "LBL-001" } ] } ], "crossDockParcels": [ { "sortCode": "SC-02", "shipmentNumber": "SHP-002", "shipmentLabelId": "LBL-002" } ]}Supply either
crossDockPalletsorcrossDockParcels, not both. Both are shown here for reference.
Responses
Section titled “Responses”202: ASN accepted and event published
{ "identifier": "ASN-2024-001234", "warehouseName": "WAREHOUSE_01", "success": true, "error": null}400: Validation failed (missing ASN ID, or request contains both pallets and parcels)
{ "identifier": "ASN-2024-001234", "warehouseName": "WAREHOUSE_01", "success": false, "error": { "errorCode": "400", "errorMessage": "BAD_REQUEST" }}500: Internal error (failed to publish event)