...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <Booking> <SourceRef>R353226570</SourceRef> <ExternalMatchingRef></ExternalMatchingRef> <BookingReason>SALES_ORDER</BookingReason> <IsReturn></IsReturn> <Incoterms></Incoterms> <IncotermsLocation></IncotermsLocation> <SourceCreationTime>2022-01-25T15:19:30.500Z</SourceCreationTime> <!-- No Consignor / Consignee or Client organisations will be provided --> <Organisations></Organisations> <Goods> <GoodsItem> <Description>ROOM office pod STANDARD</Description> <SKU>S001211356</SKU> <SalesOrderLineID>1</SalesOrderLineID> <Quantity>2</Quantity> <QuantityUnit>PCS</QuantityUnit> <Condition></Condition> <ChildGoods> <ChildGoodsItem> <Description>left wall</Description> <SKU>S02345332</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>right wall</Description> <SKU>S02345349</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>rear wall</Description> <SKU>S02345336</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>front wall</Description> <SKU>S02345356</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>floor</Description> <SKU>S02345378</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>roof</Description> <SKU>S02345389</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> </ChildGoods> </GoodsItem> <GoodsItem> <Description>ROOM office pod DELUXE</Description> <SKU>S001211357</SKU> <SalesOrderLineID>2</SalesOrderLineID> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> <Condition></Condition> <ChildGoods> <ChildGoodsItem> <Description>left wall</Description> <SKU>S02345332</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>right wall</Description> <SKU>S02345349</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>rear wall</Description> <SKU>S02345336</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>front wall</Description> <SKU>S02345358</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>floor</Description> <SKU>S02345378</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> <ChildGoodsItem> <Description>roof</Description> <SKU>S02345391</SKU> <Quantity>1</Quantity> <QuantityUnit>PCS</QuantityUnit> </ChildGoodsItem> </ChildGoods> </GoodsItem> </Goods> <!-- Transit not strictly necessary as we are arranging the transport --> <Transit> <TransitMode>ROAD</TransitMode> <AdditionalInfo></AdditionalInfo> <!-- No container information provided --> <Containers></Containers> </Transit> <!-- No Receive From information provided --> <Collection> <Location> <Code>SEKOGB</Code> <Name>SEKO Warehouse</Name> <AddressLine1>High Standing</AddressLine1> <AddressLine2>Harding Road</AddressLine2> <City>Milton Keynes</City> <Postcode>MK10 0DF</Postcode> <CountryCode>GB</CountryCode> </Location> <Contact></Contact> </Collection> <CollectionWindow> <Earliest></Earliest> <Latest>2022-02-08T12:00:00.000Z</Latest> </CollectionWindow> <Delivery> <Location> <Code>XYZ987</Code> <Name>Barney Rubble Ltd</Name> <AddressLine1>12 Market Avenue</AddressLine1> <AddressLine2></AddressLine2> <City>Southampton</City> <Postcode>SO23 3HQ</Postcode> <CountryCode>GB</CountryCode> </Location> <Contact> <ContactName>Joan Smith</ContactName> <EmailAddress>jsmith@barneyrubble.co.uk</EmailAddress> <ContactNumber></ContactNumber> </Contact> </Delivery> <DeliveryWindow> <Earliest></Earliest> <Latest>2022-02-18T12:00:00.000Z</Latest> </DeliveryWindow> <WhiteGlove> <AssemblyRequired>TRUE</AssemblyRequired> <AdditionalInfo>doors may be a bit narrow?</AdditionalInfo> </WhiteGlove> <GoodsAllocation> <AllocateGoodsFromRef>R353225423</AllocateGoodsFromRef> </GoodsAllocation> </Booking> |
Example Booking API Response Message
The API response will either be Success or Failure.
In the event of Success, an internally-generated SEKO ID for the booking will be returned and no error messages will be returned.
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<BookingResponse>
<IsSuccess>TRUE</IsSuccess>
<SEKOBookingID>B000022322</SEKOBookingID>
<ErrorMessages></ErrorMessages>
</BookingResponse> |
In the event of Failure, no internally-generated SEKO ID for this booking will be returned, but one or more error messages (depending on which part(s) failed validation) will be returned.
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<BookingResponse>
<IsSuccess>FALSE</IsSuccess>
<SEKOBookingID></SEKOBookingID>
<ErrorMessages>
<Error>Unrecognised Booking Reason/Error>
<Error>Sales Order Line ID is present but this is not a SALES ORDER booking</Error>
<Error>Handover To Agent Code is missing</Error>
</ErrorMessages>
</BookingResponse> |