Versions Compared

Key

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

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

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