/
2132 API Get

2132 API Get

Introduction

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

URL Parameters

None

Example

http://<pathtoapi>service/WhStkRn

Request Headers

Key

Details

Required

Key

Details

Required

CustomerCode

The customer code of your account

Mandatory

SiteCode

The site code your account's located at

Mandatory

ProductCode

Return rotations belonging to this product code

Optional

Rotation

The rotation number to return stock for

URL encode by replacing / with %252F

i.e. 10%252F0000123

Optional

Response

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

XML Element

Definition

Length

Notes

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, including stocks which are currently frozen.

AS

Available singles

6

TS (above) minus frozen stocks.

SC

Singles per case

5



Response Codes  

Common response codes

Related content

2102 API Get
2102 API Get
More like this
2104 Rotation Stock Enhanced
2104 Rotation Stock Enhanced
More like this
2132 Warehouse Stock by Rotation
2132 Warehouse Stock by Rotation
More like this
2102 Rotation Stock
2102 Rotation Stock
More like this
2131 Warehouse Stock by Product
2131 Warehouse Stock by Product
Read with this
2131 API Get
2131 API Get
More like this

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