Versions Compared

Key

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

Introduction

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

Parameters

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

...

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

Response

See: Orders Received

Code Block
languagexml
titleSample
<NewOrds>
    <HD>
        <Cust>JOE</Cust>
        <Site>CO</Site>
        <UID>36405</UID>
        <DocRef>DS20181122094805</DocRef>
        <OrdDate>11/22/18</OrdDate>
        <HMRCType>TR</HMRCType>
        <LD>
            <PCode>C94300</PCode>
            <PDesc>HINE ANTIQUE XO 1ER CRU GRD</PDesc>
            <PBrand>COGNAC</PBrand>
            <Rtn>18/0000018</Rtn>
            <RtnLn />
            <Cases>0</Cases>
            <Singles>1</Singles>
            <Tsingles>1</Tsingles>
            <LM>
                <MD_PCode>C94300</MD_PCode>
                <MD_Case>0</MD_Case>
                <MD_Single>1</MD_Single>
            </LM>
        </LD>
    </HD>
</NewOrds>

Response Codes

Common response codes

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

...