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": "1968ca2d-73c8-4f66-9fc3-a89d2acb5e6c",
"CustomerId": "6855170d-17e9-4a53-b5a1-1d95efdb7bc1",
"WarehouseId": "12f059b4-431a-41e5-981c-aa46fc708192",
"TerritoryId": "d3fb02d1-9889-4d17-a6c6-f3de3bc2e5cf",
"ProductId": "130fa2ca-0ea2-41b7-af34-00e8861e729d",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-10-26T02:43:09.2357638-04:00",
"SoldQty": 1.0,
"StartDate": "2025-10-26T02:43:09.2357638-04:00",
"EndDate": "2025-10-26T02:43:09.2357638-04: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>6855170d-17e9-4a53-b5a1-1d95efdb7bc1</CustomerId> <EndDate>2025-10-26T02:43:09.2357638-04:00</EndDate> <Id>1968ca2d-73c8-4f66-9fc3-a89d2acb5e6c</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>130fa2ca-0ea2-41b7-af34-00e8861e729d</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-10-26T02:43:09.2357638-04:00</StartDate> <TerritoryId>d3fb02d1-9889-4d17-a6c6-f3de3bc2e5cf</TerritoryId> <Updated>2025-10-26T02:43:09.2357638-04:00</Updated> <WarehouseId>12f059b4-431a-41e5-981c-aa46fc708192</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. |