POST mileage/add
Request Information
URI Parameters
None.
Body Parameters
MileageAddRequestName | Description | Type | Additional information |
---|---|---|---|
OfficeId | integer |
None. |
|
BeneficiaryId | integer |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "OfficeId": 1, "BeneficiaryId": 2, "IsActive": true }
application/xml, text/xml
Sample:
<MileageAddRequest 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>2</BeneficiaryId> <OfficeId>1</OfficeId> </MileageAddRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.