GET v1/utilityClass/getVehicleDetails?registrationNo={registrationNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
registrationNo

string

Required

Body Parameters

None.

Response Information

Resource Description

getVehicleDetailsResult
NameDescriptionTypeAdditional information
regNo

string

None.

success

boolean

None.

errorMsg

string

None.

message

string

None.

vehicleMake

string

None.

vehicleMakeID

integer

None.

vehicleModel

string

None.

vehicleModelID

integer

None.

engineNumber

string

None.

chassisNumber

string

None.

ownerName

string

None.

ownerAddress

string

None.

vehicleStatus

string

None.

vehicleColor

string

None.

vehicleColorID

integer

None.

stateOfRegistration

string

None.

expiryDate

string

None.

validityPeriod

Object

None.

vehicleCategory

Object

None.

yearOfManufacture

string

None.

Response Formats

application/json, text/json

Sample:
{
  "regNo": "sample string 1",
  "success": true,
  "errorMsg": "sample string 3",
  "message": "sample string 4",
  "vehicleMake": "sample string 5",
  "vehicleMakeID": 6,
  "vehicleModel": "sample string 7",
  "vehicleModelID": 8,
  "engineNumber": "sample string 9",
  "chassisNumber": "sample string 10",
  "ownerName": "sample string 11",
  "ownerAddress": "sample string 12",
  "vehicleStatus": "sample string 13",
  "vehicleColor": "sample string 14",
  "vehicleColorID": 15,
  "stateOfRegistration": "sample string 16",
  "expiryDate": "sample string 17",
  "validityPeriod": {},
  "vehicleCategory": {},
  "yearOfManufacture": "sample string 20"
}

application/xml, text/xml

Sample:
<utilityClass.getVehicleDetailsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.DTO">
  <chassisNumber>sample string 10</chassisNumber>
  <engineNumber>sample string 9</engineNumber>
  <errorMsg>sample string 3</errorMsg>
  <expiryDate>sample string 17</expiryDate>
  <message>sample string 4</message>
  <ownerAddress>sample string 12</ownerAddress>
  <ownerName>sample string 11</ownerName>
  <regNo>sample string 1</regNo>
  <stateOfRegistration>sample string 16</stateOfRegistration>
  <success>true</success>
  <validityPeriod />
  <vehicleCategory />
  <vehicleColor>sample string 14</vehicleColor>
  <vehicleColorID>15</vehicleColorID>
  <vehicleMake>sample string 5</vehicleMake>
  <vehicleMakeID>6</vehicleMakeID>
  <vehicleModel>sample string 7</vehicleModel>
  <vehicleModelID>8</vehicleModelID>
  <vehicleStatus>sample string 13</vehicleStatus>
  <yearOfManufacture>sample string 20</yearOfManufacture>
</utilityClass.getVehicleDetailsResult>

text/html

Sample:
{"regNo":"sample string 1","success":true,"errorMsg":"sample string 3","message":"sample string 4","vehicleMake":"sample string 5","vehicleMakeID":6,"vehicleModel":"sample string 7","vehicleModelID":8,"engineNumber":"sample string 9","chassisNumber":"sample string 10","ownerName":"sample string 11","ownerAddress":"sample string 12","vehicleStatus":"sample string 13","vehicleColor":"sample string 14","vehicleColorID":15,"stateOfRegistration":"sample string 16","expiryDate":"sample string 17","validityPeriod":{},"vehicleCategory":{},"yearOfManufacture":"sample string 20"}