GET api/Vehiclelist?UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Vehicle| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleID | integer |
None. |
|
| Brand | string |
None. |
|
| Make | string |
None. |
|
| PlateCode | string |
None. |
|
| PlateNumber | string |
None. |
|
| DisplayName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VehicleID": 1,
"Brand": "sample string 2",
"Make": "sample string 3",
"PlateCode": "sample string 4",
"PlateNumber": "sample string 5",
"DisplayName": "sample string 6"
},
{
"VehicleID": 1,
"Brand": "sample string 2",
"Make": "sample string 3",
"PlateCode": "sample string 4",
"PlateNumber": "sample string 5",
"DisplayName": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfVehicle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEXABIT.TMS.BO">
<Vehicle>
<Brand>sample string 2</Brand>
<DisplayName>sample string 6</DisplayName>
<Make>sample string 3</Make>
<PlateCode>sample string 4</PlateCode>
<PlateNumber>sample string 5</PlateNumber>
<VehicleID>1</VehicleID>
</Vehicle>
<Vehicle>
<Brand>sample string 2</Brand>
<DisplayName>sample string 6</DisplayName>
<Make>sample string 3</Make>
<PlateCode>sample string 4</PlateCode>
<PlateNumber>sample string 5</PlateNumber>
<VehicleID>1</VehicleID>
</Vehicle>
</ArrayOfVehicle>