GET api/v4/uservehicle/{userID}/{token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

unsigned integer

Required

token

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UserVehicleResponseModel
NameDescriptionTypeAdditional information
ServiceID

The service id of the vehicle

unsigned integer

None.

VehicleRegistration

The registration of the vehicle

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ServiceID": 1,
    "VehicleRegistration": "sample string 2"
  },
  {
    "ServiceID": 1,
    "VehicleRegistration": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserVehicleResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <UserVehicleResponseModel>
    <ServiceID>1</ServiceID>
    <VehicleRegistration>sample string 2</VehicleRegistration>
  </UserVehicleResponseModel>
  <UserVehicleResponseModel>
    <ServiceID>1</ServiceID>
    <VehicleRegistration>sample string 2</VehicleRegistration>
  </UserVehicleResponseModel>
</ArrayOfUserVehicleResponseModel>