POST api/stocktake/{id}/setcount
Set products inventory levels based on stocktake values
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
header identifier |
globally unique identifier |
Required |
Body Parameters
options for how to set stocktake
StocktakeSetCountOptions| Name | Description | Type | Additional information |
|---|---|---|---|
| HeaderIdentifier | Collection of byte |
None. |
|
| HeaderIdentifierGuid | globally unique identifier |
None. |
|
| UpdateInventorySetting | UpdateInventory |
None. |
|
| HeaderID |
Deprecated in favour of HeaderIdentifier. Allows deprecated routes to continue to function |
integer |
Deprecated. Don't use this, use HeaderIdentifier instead. |
Request Formats
application/json, text/json
Sample:
{
"headerIdentifier": "oEFrvcoYEUOhRA1UI3hg5Q==",
"headerIdentifierGuid": "bd6b41a0-18ca-4311-a144-0d54237860e5",
"updateInventorySetting": 1,
"headerID": 1
}
application/xml, text/xml
Sample:
<StocktakeSetCountOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stocktake"> <HeaderID>1</HeaderID> <HeaderIdentifier>oEFrvcoYEUOhRA1UI3hg5Q==</HeaderIdentifier> <HeaderIdentifierGuid>bd6b41a0-18ca-4311-a144-0d54237860e5</HeaderIdentifierGuid> <UpdateInventorySetting>1</UpdateInventorySetting> </StocktakeSetCountOptions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.