Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The purpose of this service is to provide the live delivery status for a given reference of your own.

Parameters

ParameterDetailsRequired
CustomerCodeThe Customer Code of the accountMandatory
SiteCodeThe Site Code of the accountMandatory
DocRefDocument Reference (your reference)Mandatory
PostcodeThe postcode for the Document Reference aboveMandatory

Example

http://<pathtoapi>/service/DeliveryStatusByDocRef/CustomerCode/XYZ/SiteCode/AB/DocRef/ORD001/Postcode/CM15%200LB

Response

Code Block
languagexml
titleSample
    <T>
        <R>
            <STS>Delivered</STS>
            <BDT>2016-12-23T00:00:00</BDT>
            <CDP>2016-12-23T07:05:23</CDP>
            <CDL>2016-12-23T13:26:03</CDL>
            <OEF>11:00:00</OEF>
            <OET>11:45:00</OET>
            <REF>13:00:00</REF>
            <RET>13:45:00</RET>
            <ATD>2016-12-23T13:22:59</ATD>
        </R>
    </T>

Details




DescriptionExample
T

Table of results

R
Delivery record - can repeat


STSStatusDelivered


BDTBooked date2016-12-23T00:00:00


CDPConfirmed departed at2016-12-23T07:05:23


CDLConfirmed delivered at2016-12-23T12:26:03


OEFOriginal ETA window from time11:00:00


OETOriginal ETA window to time11:45:00


REFRevised ETA window from time13:00:00


RETRevised ETA window to time13:45:00


ATDActual time of delivery2016-12-23T13:22:59

R


T



Response Codes

Common response code

CodeMessage
204No delivery found in the live system for the parameters provided, if this is not a current delivery then it may have been archived.
204No delivery found for the parameters provided.

...