2120 API Get

Introduction

The purpose of this service is to provide a stock loss information.
See Service Limits for information about request limit

Parameters

Parameter

Details

Required

Parameter

Details

Required

CustomerCode

The customer code of your account

Mandatory

SiteCode

The site code your account's located at

Mandatory

Example

https://<pathtoapi>/service/StkLoss/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>

Response

See: XML Output (StkLoss)

Sample
<StkLoss> <LD> <CustCode>POL</CustCode> <CustName>POL ROGER LTD</CustName> <PCode>BASERED</PCode> <PDescription>Base red wine</PDescription> <Rotation>17/0000081</Rotation> <UID>1334</UID> <LossDate>13/11/2019</LossDate> <LC>-1</LC> <LS>0</LS> <LOL>0.1</LOL> <LOA>0.015000</LOA> <TAX>413</TAX> <REASON>Loss resulting from operation</REASON> </LD>CPP>56</CPP> </A> </StkLoss>



Response Codes  

Common response codes



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