PUT api/Allocations/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
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": "68d5216b-e883-4846-a397-b4d72d2edeb4",
"CustomerId": "419e86e0-d412-44fe-96de-204f30497d18",
"WarehouseId": "9785efba-3204-419a-bd1a-c61790a90d0e",
"TerritoryId": "dbab3657-c092-4051-aedc-3ed012c82bf4",
"ProductId": "674a3bed-e766-42c8-8116-ee41ae82cff0",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-10-26T03:19:55.1929571-04:00",
"SoldQty": 1.0,
"StartDate": "2025-10-26T03:19:55.1929571-04:00",
"EndDate": "2025-10-26T03:19:55.1929571-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>419e86e0-d412-44fe-96de-204f30497d18</CustomerId> <EndDate>2025-10-26T03:19:55.1929571-04:00</EndDate> <Id>68d5216b-e883-4846-a397-b4d72d2edeb4</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>674a3bed-e766-42c8-8116-ee41ae82cff0</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-10-26T03:19:55.1929571-04:00</StartDate> <TerritoryId>dbab3657-c092-4051-aedc-3ed012c82bf4</TerritoryId> <Updated>2025-10-26T03:19:55.1929571-04:00</Updated> <WarehouseId>9785efba-3204-419a-bd1a-c61790a90d0e</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. |