POST api/Delivery/Allocation
Request Information
URI Parameters
None.
Body Parameters
MAllocationPlandt| Name | Description | Type | Additional information |
|---|---|---|---|
| MDAllocationdt | Collection of MAllocation |
None. |
|
| Msg | Messages |
None. |
Request Formats
application/json, text/json
Sample:
{
"MDAllocationdt": [
{
"ID": 1,
"Request_ID": 1,
"MachineType_ID": 1,
"Machine_ID": 1,
"Is_Allocate": 1,
"is_Allocate_Date": "2026-01-14T02:08:40.5823833-08:00"
},
{
"ID": 1,
"Request_ID": 1,
"MachineType_ID": 1,
"Machine_ID": 1,
"Is_Allocate": 1,
"is_Allocate_Date": "2026-01-14T02:08:40.5823833-08:00"
}
],
"Msg": {
"StatusCode": 1,
"isWarning": true,
"isError": true,
"isSuccess": true,
"isInfo": true,
"Message": "sample string 6",
"ErrorCode": 7,
"AutoNumber": "sample string 8"
}
}
application/xml, text/xml
Sample:
<MAllocationPlandt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IUMT_Services.Models">
<MDAllocationdt>
<MAllocation>
<ID>1</ID>
<Is_Allocate>1</Is_Allocate>
<MachineType_ID>1</MachineType_ID>
<Machine_ID>1</Machine_ID>
<Request_ID>1</Request_ID>
<is_Allocate_Date>2026-01-14T02:08:40.5823833-08:00</is_Allocate_Date>
</MAllocation>
<MAllocation>
<ID>1</ID>
<Is_Allocate>1</Is_Allocate>
<MachineType_ID>1</MachineType_ID>
<Machine_ID>1</Machine_ID>
<Request_ID>1</Request_ID>
<is_Allocate_Date>2026-01-14T02:08:40.5823833-08:00</is_Allocate_Date>
</MAllocation>
</MDAllocationdt>
<Msg>
<AutoNumber>sample string 8</AutoNumber>
<ErrorCode>7</ErrorCode>
<Message>sample string 6</Message>
<StatusCode>1</StatusCode>
<isError>true</isError>
<isInfo>true</isInfo>
<isSuccess>true</isSuccess>
<isWarning>true</isWarning>
</Msg>
</MAllocationPlandt>
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. |