POST api/ASMTransfer/RequestAllocation
Request Information
URI Parameters
None.
Body Parameters
MAssetAllocation| Name | Description | Type | Additional information |
|---|---|---|---|
| allocations | Collection of Asset_Allocation |
None. |
|
| Status | integer |
None. |
|
| RequestedToName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"allocations": [
{
"ID": 1,
"Request_ID": 1,
"Allocation_Date": "2025-12-05T18:22:23.4930655-08:00",
"Asset_Code_Sr_No": "sample string 2",
"Addons": "sample string 3",
"Remarks": "sample string 4"
},
{
"ID": 1,
"Request_ID": 1,
"Allocation_Date": "2025-12-05T18:22:23.4930655-08:00",
"Asset_Code_Sr_No": "sample string 2",
"Addons": "sample string 3",
"Remarks": "sample string 4"
}
],
"Status": 1,
"RequestedToName": "sample string 2"
}
application/xml, text/xml
Sample:
<MAssetAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASM_API.Models">
<RequestedToName>sample string 2</RequestedToName>
<Status>1</Status>
<allocations>
<Asset_Allocation>
<Addons>sample string 3</Addons>
<Allocation_Date>2025-12-05T18:22:23.4930655-08:00</Allocation_Date>
<Asset_Code_Sr_No>sample string 2</Asset_Code_Sr_No>
<ID>1</ID>
<Remarks>sample string 4</Remarks>
<Request_ID>1</Request_ID>
</Asset_Allocation>
<Asset_Allocation>
<Addons>sample string 3</Addons>
<Allocation_Date>2025-12-05T18:22:23.4930655-08:00</Allocation_Date>
<Asset_Code_Sr_No>sample string 2</Asset_Code_Sr_No>
<ID>1</ID>
<Remarks>sample string 4</Remarks>
<Request_ID>1</Request_ID>
</Asset_Allocation>
</allocations>
</MAssetAllocation>
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. |