Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Introduction

The purpose of this service is to return per rotation stock quantities for an account.

Parameters

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/WhStkRn/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>

Response

Sample
<WhStkRn>
    <R>
        <RN>22/0001234</RN>
        <TS>120</TS>
        <SC>12</SC>
    </R>
	<R>
		<RN>22/0001234/2</RN>
		<TS>12</TS>
		<SC>12</SC>
    </R>
</WhStkRn>

XML Element

Definition

Length

Notes

RN

Rotation

10 to 15

Rotation Number in the format  YY/Dnnnnnn and where rotation line number are in use then YY/Dnnnnnn/nnnn.  The 15 digit format is only used when necessary, normally only shows 10 digits unless a line number exists.

TS

Total singles

6

A total amount in single items.

The present stocks figures are the total available stock holdings at the time of the extract and do NOT include items which are frozen.

To find your total stock in bond you need to add the Present and Frozen case figures together.

SC

Singles per case

5


Response Codes  

Common response codes


  • No labels