Versions Compared

Key

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

...

Parameter

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

Info

URL encode by replacing / with %252F

i.e. 10%252F0000123

Optional

Example

http://<pathtoapi>/service/WhStkRn/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>/ProductCode/<ProductCode>

http://<pathtoapi>/service/WhStkRn/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>/ProductCode/<ProductCode>/Rotation/<Rotation>

http://<pathtoapi>/service/WhStkRn/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>/Rotation/<Rotation>

Response

Sample
Code Block
languagexml
<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>

...