POST api/RiderRegistrationRequest/GetVehicleTypes

Request Information

URI Parameters

None.

Body Parameters

DTOVehicleType
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Type

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "58d7f7a6-10f2-46e6-a009-53649f006ab9",
  "Name": "sample string 2",
  "Type": "sample string 3",
  "Description": "sample string 4"
}

application/xml, text/xml

Sample:
<DTOVehicleType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels">
  <Description>sample string 4</Description>
  <Id>58d7f7a6-10f2-46e6-a009-53649f006ab9</Id>
  <Name>sample string 2</Name>
  <Type>sample string 3</Type>
</DTOVehicleType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.