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": "b71c04e5-515f-47a2-91c7-a1a9715f8523",
"CustomerId": "8400d0e2-10e3-4b66-a715-535e1f4f1ed1",
"WarehouseId": "2aac224d-556a-4b4d-8a69-0f6ee09f4e4a",
"TerritoryId": "a4786a7c-36b3-45bd-b049-eada95bc22d3",
"ProductId": "677f33bc-72b2-4e0a-a87b-65e914caa5e6",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-12-15T23:41:15.4771447-05:00",
"SoldQty": 1.0,
"StartDate": "2025-12-15T23:41:15.4771447-05:00",
"EndDate": "2025-12-15T23:41:15.4771447-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>8400d0e2-10e3-4b66-a715-535e1f4f1ed1</CustomerId> <EndDate>2025-12-15T23:41:15.4771447-05:00</EndDate> <Id>b71c04e5-515f-47a2-91c7-a1a9715f8523</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>677f33bc-72b2-4e0a-a87b-65e914caa5e6</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-12-15T23:41:15.4771447-05:00</StartDate> <TerritoryId>a4786a7c-36b3-45bd-b049-eada95bc22d3</TerritoryId> <Updated>2025-12-15T23:41:15.4771447-05:00</Updated> <WarehouseId>2aac224d-556a-4b4d-8a69-0f6ee09f4e4a</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. |