/
Pickup XML format

Pickup XML format

The XML sent to the transport company is somewhat similar to the booking XML.

It has the following structure:

<header>
  <creationdate></creationdate>
  <part></part>
  <pdinstructions></pdinstructions>
  <references></references>
  <transportservice></transportservice>
  <goodsitem></goodsitem>
</header>

Status

The transport company may send status messages back. This have the following format:

<DOCUMENT>
  <Datetime>201611121345</Datetime>
  <BookingID>23423423</BookingID>
  <Status>Booking received</Status>
  <Statuscode>10000</Statuscode>
</DOCUMENT>

The <Datetime> element holds a date and time in the format YYYYMMDDHHMM, so in the example above, the date is 2016-11-12, and the time is 13:45.

The <BookingID> element holds an SLI no.

The <Status> element holds a textual status message, and the <Statuscode> element holds a numerical status code, see below:


<Statuscode><Status>
10000Booking received
10001Rejected: Booked too late
10002Rejected: Special handling required
10003Rejected: Goods dimensions
10004Rejected: Goods weight
10005Rejected: Due to time window
10006Rejected: Double booking
10099Missing ID


Related content