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": "86d28074-882b-48d2-b1aa-cee56ad93da1",
"CustomerId": "b65e0ec0-e126-4d19-afef-c260a25cead0",
"WarehouseId": "15071db0-05b6-4282-930b-43ee4b1dd51d",
"TerritoryId": "234897ce-f128-469b-a258-7ae884c0a39f",
"ProductId": "9838b6f8-ef11-4950-a514-778a3946285b",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-10-26T03:33:28.237024-04:00",
"SoldQty": 1.0,
"StartDate": "2025-10-26T03:33:28.237024-04:00",
"EndDate": "2025-10-26T03:33:28.237024-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>b65e0ec0-e126-4d19-afef-c260a25cead0</CustomerId> <EndDate>2025-10-26T03:33:28.237024-04:00</EndDate> <Id>86d28074-882b-48d2-b1aa-cee56ad93da1</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>9838b6f8-ef11-4950-a514-778a3946285b</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-10-26T03:33:28.237024-04:00</StartDate> <TerritoryId>234897ce-f128-469b-a258-7ae884c0a39f</TerritoryId> <Updated>2025-10-26T03:33:28.237024-04:00</Updated> <WarehouseId>15071db0-05b6-4282-930b-43ee4b1dd51d</WarehouseId> </AllocationData>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |