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": "00e3c7b6-7995-4345-84f6-a1759d2d486d",
"CustomerId": "da1e0ea2-1459-4eb4-9df5-c6daaa8b22e0",
"WarehouseId": "e50045ae-edb6-4f05-a26d-203368b03ad2",
"TerritoryId": "66d46e6a-7a27-4161-a07a-a0e6fcb2a0c4",
"ProductId": "14d45b11-4dac-43dd-9c5c-1ef3ffdc6a44",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-10-26T03:37:34.0316024-04:00",
"SoldQty": 1.0,
"StartDate": "2025-10-26T03:37:34.0316024-04:00",
"EndDate": "2025-10-26T03:37:34.0316024-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>da1e0ea2-1459-4eb4-9df5-c6daaa8b22e0</CustomerId> <EndDate>2025-10-26T03:37:34.0316024-04:00</EndDate> <Id>00e3c7b6-7995-4345-84f6-a1759d2d486d</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>14d45b11-4dac-43dd-9c5c-1ef3ffdc6a44</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-10-26T03:37:34.0316024-04:00</StartDate> <TerritoryId>66d46e6a-7a27-4161-a07a-a0e6fcb2a0c4</TerritoryId> <Updated>2025-10-26T03:37:34.0316024-04:00</Updated> <WarehouseId>e50045ae-edb6-4f05-a26d-203368b03ad2</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. |