POST api/fieldexpense/ApproveRejectExpenseBySenior
Request Information
URI Parameters
None.
Body Parameters
ClaimExpenseApproveRejectBySenor| Name | Description | Type | Additional information |
|---|---|---|---|
| TourPlanId | integer |
None. |
|
| BMEmployeeId | integer |
None. |
|
| DAAmount | integer |
None. |
|
| IsApproved | integer |
None. |
|
| TotalKM | decimal number |
None. |
|
| Remark | string |
None. |
|
| OtherExpenseDetail | Collection of ClaimExpenseApproveRejectBySenor_OtherExpenseDetail |
None. |
|
| EmployeeId | integer |
None. |
|
| SessionID | string |
None. |
|
| DeviceID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TourPlanId": 1,
"BMEmployeeId": 2,
"DAAmount": 3,
"IsApproved": 4,
"TotalKM": 5.0,
"Remark": "sample string 6",
"OtherExpenseDetail": [
{
"TourPlanOtherExpenseId": 1,
"ApprovedAmount": 2
},
{
"TourPlanOtherExpenseId": 1,
"ApprovedAmount": 2
}
],
"EmployeeId": 7,
"SessionID": "sample string 8",
"DeviceID": "sample string 9"
}
application/xml, text/xml
Sample:
<ClaimExpenseApproveRejectBySenor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">
<DeviceID>sample string 9</DeviceID>
<EmployeeId>7</EmployeeId>
<SessionID>sample string 8</SessionID>
<BMEmployeeId>2</BMEmployeeId>
<DAAmount>3</DAAmount>
<IsApproved>4</IsApproved>
<OtherExpenseDetail>
<ClaimExpenseApproveRejectBySenor_OtherExpenseDetail>
<ApprovedAmount>2</ApprovedAmount>
<TourPlanOtherExpenseId>1</TourPlanOtherExpenseId>
</ClaimExpenseApproveRejectBySenor_OtherExpenseDetail>
<ClaimExpenseApproveRejectBySenor_OtherExpenseDetail>
<ApprovedAmount>2</ApprovedAmount>
<TourPlanOtherExpenseId>1</TourPlanOtherExpenseId>
</ClaimExpenseApproveRejectBySenor_OtherExpenseDetail>
</OtherExpenseDetail>
<Remark>sample string 6</Remark>
<TotalKM>5</TotalKM>
<TourPlanId>1</TourPlanId>
</ClaimExpenseApproveRejectBySenor>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.