POST v1/Warehouses/{warehouseId}/StockCountGroup
Create new stock count group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseId |
Id of warehouse |
integer |
Required. |
Body Parameters
Parameters
AddStockCountGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Name of StockCount group |
string |
Required |
| CreateStockCounts |
If true, the system will automatically create stock items for all locations (except PurchaseOrder Location) associated with the Warehouse |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"CreateStockCounts": true
}
application/xml, text/xml
Sample:
<AddStockCountGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Name>sample string 1</Name> <CreateStockCounts>true</CreateStockCounts> </AddStockCountGroup>
Response Information
Resource Description
StockCountGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
If of group |
integer |
None. |
| Name |
Name of group |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2"
}
application/xml, text/xml
Sample:
<StockCountGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <Name>sample string 2</Name> </StockCountGroup>