POST api/Action/ExpenseClaim

Approve Expense Claim.

Request Information

URI Parameters

None.

Body Parameters

ApprovalExpenseClaimRequestLayer
NameDescriptionTypeAdditional information
TravelApplicationHeaderID

string

Required

ReportingStatus

Status

Required

FinalStatus

Status

None.

expenses

Collection of ExpenseClaimRequestLine

Required

Request Formats

application/json, text/json

Sample:
{
  "TravelApplicationHeaderID": "sample string 1",
  "ReportingStatus": 0,
  "FinalStatus": 0,
  "expenses": [
    {
      "TravelApplicationLineID": "sample string 1",
      "ApprovedAmount": "sample string 2"
    },
    {
      "TravelApplicationLineID": "sample string 1",
      "ApprovedAmount": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ApprovalExpenseClaimRequestLayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRiSAPI.Models">
  <FinalStatus>Error</FinalStatus>
  <ReportingStatus>Error</ReportingStatus>
  <TravelApplicationHeaderID>sample string 1</TravelApplicationHeaderID>
  <expenses>
    <ExpenseClaimRequestLine>
      <ApprovedAmount>sample string 2</ApprovedAmount>
      <TravelApplicationLineID>sample string 1</TravelApplicationLineID>
    </ExpenseClaimRequestLine>
    <ExpenseClaimRequestLine>
      <ApprovedAmount>sample string 2</ApprovedAmount>
      <TravelApplicationLineID>sample string 1</TravelApplicationLineID>
    </ExpenseClaimRequestLine>
  </expenses>
</ApprovalExpenseClaimRequestLayer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.