Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

The purpose of this service is to provide held orders.
See Service for information about request limit

Parameters

ParameterDetailsRequired
CustomerCodeThe Customer Code of the accountMandatory
SiteCodeThe Site Code of the accountMandatory

Example

https://<pathtoapi>/service/HeldOrders/CustomerCode/XYZ/SiteCode/AB

Response


Sample
<HeldOrders>
    <HD>
        <CustC>GDPR</CustC>
        <CustN>GDPR Esd</CustN>
        <OrdRef>325</OrdRef>
        <DocRef>1234</DocRef>
        <DName>LONDON CITY</DName>
        <DPost>RM18 7NN</DPost>
        <OrdDt>2012-08-31T00:00:00</OrdDt>
        <Cases>2</Cases>
        <Singles>2</Singles>
        <LD>
            <PCode>002641</PCode>
            <PDesc>YQUEM 1986 12X75</PDesc>
            <PckDesc>12x0.75 1986 Per Pallet 1</PckDesc>
            <Rtn>09/D001915</Rtn>
            <Cases>1</Cases>
            <Singles>1</Singles>
            <INS>0</INS>
        </LD>
        <LD>
            <PCode>006484</PCode>
            <PDesc>COS D'ESTOURNEL  2005</PDesc>
            <PckDesc>12x0.75 2005 Per Pallet 1</PckDesc>
            <Rtn>12/0028964</Rtn>
            <Cases>1</Cases>
            <Singles>1</Singles>
            <INS>1</INS>
        </LD>
    </HD>
</HeldOrders>
SegmentSegment
L1

Segment
L2

Segment
L3
Field Description
HeldOrders


Held orders

HD

Herder element 


CustC
Customer code


CustN
Customer name


OrdRef
Order reference


DocRef
Document reference 


DName
Delivery name


OrdDt
Order date


Cases
Cases


Singles
Singles


LD




PCodeProduct code



PDescProduct description



PckDescPackage description



RtnRotation number



CasesCases



SinglesSingles



INSis Insufficient stock? (bit)


LD


HD


HeldOrders



Response Codes

Common response codes

CodeMessage
200Order found and response prepared successfully.
204No order found for the parameters provided.
  • No labels