PUT api/expenserequest/UpdateStatus/{hierarchy}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| hierarchy | string |
Required |
Body Parameters
MExpenseRequestStatusUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| IS_ADMIN | boolean |
None. |
|
| ROLE | string |
None. |
|
| TRIP_ID | integer |
None. |
|
| REQ_ID | integer |
None. |
|
| COMMENT | string |
None. |
|
| PAYMENT_DETAILS | string |
None. |
|
| STATUS | string |
None. |
|
| IS_MANAGER_TRIP_APPROVAL | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"IS_ADMIN": true,
"ROLE": "sample string 2",
"TRIP_ID": 3,
"REQ_ID": 4,
"COMMENT": "sample string 5",
"PAYMENT_DETAILS": "sample string 6",
"STATUS": "sample string 7",
"IS_MANAGER_TRIP_APPROVAL": true
}
application/xml, text/xml
Sample:
<MExpenseRequestStatusUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OrderManagement.Models.ViewModels"> <COMMENT>sample string 5</COMMENT> <IS_ADMIN>true</IS_ADMIN> <IS_MANAGER_TRIP_APPROVAL>true</IS_MANAGER_TRIP_APPROVAL> <PAYMENT_DETAILS>sample string 6</PAYMENT_DETAILS> <REQ_ID>4</REQ_ID> <ROLE>sample string 2</ROLE> <STATUS>sample string 7</STATUS> <TRIP_ID>3</TRIP_ID> </MExpenseRequestStatusUpdate>
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. |