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  for information about request limit

Parameters

Parameter

Details

Required

CustomerCode

The Customer Code of the account

Mandatory

SiteCode

The Site Code of the account

Mandatory

Example

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

Response

See: Orders Received

Sample
Code Block
languagexmltitleSample
<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

Code

Message

200

Order found and response prepared successfully.

204

No order found for the parameters provided.