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": "a9aea46a-6e4c-4482-ae92-df64e55eec4c",
"CustomerId": "4275bfd7-9d20-4b26-ae33-c2fd206f0e95",
"WarehouseId": "e2d6b5fa-a6ac-48f1-b14f-d73f6039d5fd",
"TerritoryId": "e718633a-a490-49cc-9af9-ad3c15366de8",
"ProductId": "b22711d7-6550-40fc-baa2-3895eec2bcdc",
"AllocatedQty": 2.0,
"Identifier": "sample string 3",
"Updated": "2025-10-26T02:52:04.8740198-04:00",
"SoldQty": 1.0,
"StartDate": "2025-10-26T02:52:04.8740198-04:00",
"EndDate": "2025-10-26T02:52:04.8740198-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>4275bfd7-9d20-4b26-ae33-c2fd206f0e95</CustomerId> <EndDate>2025-10-26T02:52:04.8740198-04:00</EndDate> <Id>a9aea46a-6e4c-4482-ae92-df64e55eec4c</Id> <Identifier>sample string 3</Identifier> <IsDeleted>1</IsDeleted> <ProductId>b22711d7-6550-40fc-baa2-3895eec2bcdc</ProductId> <SoldQty>1</SoldQty> <StartDate>2025-10-26T02:52:04.8740198-04:00</StartDate> <TerritoryId>e718633a-a490-49cc-9af9-ad3c15366de8</TerritoryId> <Updated>2025-10-26T02:52:04.8740198-04:00</Updated> <WarehouseId>e2d6b5fa-a6ac-48f1-b14f-d73f6039d5fd</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. |