If the warehouse has an open inventory task, you can use this function to set the counted number of items at a particular location.

Tags: InventoryTaskCount, InventoryTaskCountOperation, ByUser, InventoryTaskCountResponse, InventoryTaskCountResult, InventoryTaskCountErrorResult

Request XML

POST /xxx/Automation.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ""

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
    <InventoryTaskCount xmlns="">

Request specification

UserName string(50) Req. Your username
Password string(50) Req. Your password
Operation InventoryTaskCountOperation Req. The operation object
InventoryId int Req. The ID of the inventory task.
ArticleDefId int Req. The article ID of the article which you have counted.
LocationId int Req. The ID of the location which was counted.
CountedNumberOfItems decimal Req. The quantity which was counted.
AdjustedByUser ByUser An element of type ByUser. Designates which user did the adjustment.
UserName string(50) Req. The name of the user. Must be an actual user in Ongoing WMS. Will be set as the user that performed the packing.

Response XML

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
    <InventoryTaskCountResponse xmlns="">
          <ErrorType>LogonError or InventoryIdNotFound or InventoryIdIsNotActive or WrongInventoryType or ArticleIsDeleted or ArticleNotFound or ArticleAndInventoryHasDiffingGoodsOwners or LocationNotFound or UnknownError or InvalidCountedNumberOfItems or ErrorSavingInventoryCount or ArticleItemsAllocatedOnLocation</ErrorType>

Response specification

InventoryTaskCountResult InventoryTaskCountResult
Error InventoryTaskCountErrorResult An element of type InventoryTaskCountErrorResult.
Success boolean
ErrorType enum An element of type InventoryTaskCountErrorType.
Message string