POST api/Travel/UpdateApprovedTravelInfo

Request Information

URI Parameters

None.

Body Parameters

ApprovedTravelIDInfo
NameDescriptionTypeAdditional information
TravelClaimID

integer

None.

TravelID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TravelClaimID": 1,
  "TravelID": 2
}

text/html

Sample:
{"TravelClaimID":1,"TravelID":2}

application/xml, text/xml

Sample:
<TravelController.ApprovedTravelIDInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <TravelClaimID>1</TravelClaimID>
  <TravelID>2</TravelID>
</TravelController.ApprovedTravelIDInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApprovedTravelIDInfo'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>