GET api/Riders/getVehicleTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of VehcileType
NameDescriptionTypeAdditional information
VechicleTypeId

integer

None.

VechicleTypeName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VechicleTypeId": 1,
    "VechicleTypeName": "sample string 2"
  },
  {
    "VechicleTypeId": 1,
    "VechicleTypeName": "sample string 2"
  }
]

text/plain

Sample:
[{"VechicleTypeId":1,"VechicleTypeName":"sample string 2"},{"VechicleTypeId":1,"VechicleTypeName":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfVehcileType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AndroidWebAPI"><VehcileType><VechicleTypeId>1</VechicleTypeId><VechicleTypeName>sample string 2</VechicleTypeName></VehcileType><VehcileType><VechicleTypeId>1</VechicleTypeId><VechicleTypeName>sample string 2</VechicleTypeName></VehcileType></ArrayOfVehcileType>