POST api/SelectCar

Request Information

URI Parameters

None.

Body Parameters

ResParams
NameDescriptionTypeAdditional information
ResId

string

None.

VehicleType

string

None.

SelectedOfficePayment

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ResId": "sample string 1",
  "VehicleType": "sample string 2",
  "SelectedOfficePayment": true
}

application/xml, text/xml

Sample:
<SelectCarController.ResParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentWebApi.Controllers">
  <ResId>sample string 1</ResId>
  <SelectedOfficePayment>true</SelectedOfficePayment>
  <VehicleType>sample string 2</VehicleType>
</SelectCarController.ResParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GeneralResult
NameDescriptionTypeAdditional information
ErrorCode

string

None.

ErrorMessage

string

None.

Result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": "sample string 1",
  "ErrorMessage": "sample string 2",
  "Result": "sample string 3"
}

application/xml, text/xml

Sample:
<CustomFields.GeneralResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentWebApi">
  <ErrorCode>sample string 1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>sample string 3</Result>
</CustomFields.GeneralResult>