Skip to content

DTOs

InductDto (GET /sortation, HTTP 210)

{
  "Type": "REQUEST",
  "TrackID": "00.329.000092727",
  "Barcode": "B000121238776",
  "MessageCode": 0,
  "InductLocation": "ESM-M-0001-C",
  "RecirculationCount": 0,
  "Length": 296.0,
  "Width": 203.0,
  "Height": 11.0,
  "Weight": 350.0
}

AssignmentDto (POST /sortation)

{
  "TrackID": "00.329.000092727",
  "Barcode": "B000121238776",
  "Destination": "DST-CH-0012-1-B"
}

VerifyDto (GET /sortation, HTTP 212)

{
  "Type": "VERIFY",
  "TrackID": "00.329.000092727",
  "Barcode": "B000121238776",
  "Destination": "DST-CH-0012-1-B",
  "MessageCode": 18004
}

DestinationInfoDto (GET /destination, HTTP 211)

{
  "Type": "SCAN",
  "Destination": "DST-CH-0012-1-B",
  "DestinationStatus": "Ready",
  "DestinationText": "SORT",
  "LightStatus": "Off",
  "LightColor": "BLUE",
  "ButtonID": 1,
  "MessageCode": 50010,
  "BatchDoorStatus": null
}

DestinationSetDto (POST /destination)

{
  "Destination": "DST-CH-0012-1-B",
  "DestinationStatus": "NotReady",
  "DestinationText": "SORT",
  "LightStatus": "Solid",
  "LightColor": "BLUE",
  "BatchDoorStatus": "OPENED"
}

Parsing/default behavior for POST /destination

Enum parsing is case-insensitive. If parse fails:

  • DestinationStatus => NotReady
  • LightStatus => Off
  • LightColor => Off