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
StocktakeSetCountOptionsName | 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": "np4VWfohYEmbc5n+FtdtHA==", "headerIdentifierGuid": "59159e9e-21fa-4960-9b73-99fe16d76d1c", "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>np4VWfohYEmbc5n+FtdtHA==</HeaderIdentifier> <HeaderIdentifierGuid>59159e9e-21fa-4960-9b73-99fe16d76d1c</HeaderIdentifierGuid> <UpdateInventorySetting>1</UpdateInventorySetting> </StocktakeSetCountOptions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.