2102 API Get

Introduction

The purpose of this service is to provide a stock snapshot, by rotation.

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

http://<pathtoapi>/service/StkRotn/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>

Response

See: 2102 Rotation Stock

Sample
<StockRotn> <PRODUCT> <HD> <Cust>BEN</Cust> <Site>CO</Site> <Code /> <Desc>CH LACTR 1999 12 x 75 12 x 75</Desc> </HD> <LD> <Rotn>19/D000377</Rotn> <Recd>21/11/2019</Recd> <SPC>6</SPC> <PC>5</PC> <PS>0</PS> <TS>30</TS> <FzC>0</FzC> <FzS>0</FzS> <TFzS>0</TFzS> <DP>Yes</DP> <Rsrv>DIN</Rsrv> <YR>1999</YR> <FC>Yes</FC> <OWC>No</OWC> <DS>No</DS> <PT>CS</PT> </LD> </PRODUCT> </StockRotn>



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.