GET api/Vehicle/{id}?token={token}

get vehicle

Request Information

Parameters

NameDescriptionAdditional information
id
vehicle id

Define this parameter in the request URI.

token
generated token on login

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Type": "sample string 2",
  "Make": "sample string 3",
  "Year": "sample string 4",
  "Model": "sample string 5",
  "LicensePlateNumber": "sample string 6"
}

application/xml, text/xml

Sample:
<Vehicle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PardDriverWebService.Models">
  <Id>1</Id>
  <LicensePlateNumber>sample string 6</LicensePlateNumber>
  <Make>sample string 3</Make>
  <Model>sample string 5</Model>
  <Type>sample string 2</Type>
  <Year>sample string 4</Year>
</Vehicle>