PUT mileage/update

Request Information

URI Parameters

None.

Body Parameters

MileageUpdateRequest
NameDescriptionTypeAdditional information
MileageId

integer

None.

OfficeId

integer

None.

BeneficiaryId

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MileageId": 1,
  "OfficeId": 2,
  "BeneficiaryId": 3,
  "IsActive": true
}

application/xml, text/xml

Sample:
<MileageUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.ExpenseObjects">
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive>
  <BeneficiaryId>3</BeneficiaryId>
  <OfficeId>2</OfficeId>
  <MileageId>1</MileageId>
</MileageUpdateRequest>

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 'MileageUpdateRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.