2320 API Get

Introduction

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

Parameters

Parameter

Details

Required

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
<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

Code

Message

200

Order found and response prepared successfully.

204

No order found for the parameters provided.



Copyright Ontech Solutions 2017-2024. All rights reserved, no part may be replicated or distributed without the express permission of the owner.