POST api/Allocations
Request Information
URI Parameters
None.
Body Parameters
AllocationData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| WarehouseId | globally unique identifier |
None. |
|
| TerritoryId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| AllocatedQty | decimal number |
Required |
|
| Identifier | string |
None. |
|
| Updated | date |
None. |
|
| SoldQty | decimal number |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| IsDeleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "dee98258-f82c-4c99-b93b-46371aafb75c",
"CustomerId": "3f40aa26-de7e-4b63-b41b-fb37f77e7a23",
"WarehouseId": "087fb364-6ebf-4e29-8b13-269d5c207f1f",
"TerritoryId": "c3591112-9b34-4a5d-99e4-1a04665e9dd3",
"ProductId": "3bbb77f8-0065-4345-ab9a-796c00993d50",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-12-15T23:37:24.4349807-05:00",
"SoldQty": 1.0,
"StartDate": "2025-12-15T23:37:24.4349807-05:00",
"EndDate": "2025-12-15T23:37:24.4349807-05:00",
"IsDeleted": 1
}
application/xml, text/xml
Sample:
<AllocationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IosWebApi.Models"> <AllocatedQty>2</AllocatedQty> <CustomerId>3f40aa26-de7e-4b63-b41b-fb37f77e7a23</CustomerId> <EndDate>2025-12-15T23:37:24.4349807-05:00</EndDate> <Id>dee98258-f82c-4c99-b93b-46371aafb75c</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>3bbb77f8-0065-4345-ab9a-796c00993d50</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-12-15T23:37:24.4349807-05:00</StartDate> <TerritoryId>c3591112-9b34-4a5d-99e4-1a04665e9dd3</TerritoryId> <Updated>2025-12-15T23:37:24.4349807-05:00</Updated> <WarehouseId>087fb364-6ebf-4e29-8b13-269d5c207f1f</WarehouseId> </AllocationData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |