getStocktakingReadings

Retrieve item counts on one specific stocktaking act.

To retrieve a list of physical stocktakings, see getStocktakings. To start a new stocktaking (create a new stocktaking act), see saveStocktaking. To update quantities on an act, see saveStocktakingReadings (to make bulk updates) or incrementStocktakingReading (to increment quantities atomically).

Input parameters

Parameter name Description Possible value Required
stocktakingID Integer yes
countedItemsOnly Return only counted items - with non empty countPcs, will return 1013 error if used together with uncountedItemsOnly. Integer (0 or 1)
uncountedItemsOnly Return only uncounted items - with empty countPcs, will return 1013 error if used together with countedItemsOnly. Integer (0 or 1)
recordsOnPage Number of records API should return. By default 20, at most 100. Integer
pageNo API returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". Integer

Response

Field name Type Description
productID Integer
inStock String amount in stock
reserved String amount reserved
countPcs String
comment String