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 retrieve 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