GET api/VehicleProfile/GetByVehicleId?vehicleId={vehicleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vehicleId

integer

Required

Body Parameters

None.

Response Information

Resource Description

vw_VehicleProfile
NameDescriptionTypeAdditional information
Id

integer

None.

OperaAccount

string

None.

FleetId

integer

None.

FleetName

string

None.

AwaitingReTorque

boolean

None.

VehicleTypeId

integer

None.

Make

string

None.

Model

string

None.

RegistrationOrTrailerNo

string

None.

VIN

string

None.

Mileage

decimal number

None.

LastInspectionDate

date

None.

LastInspectionPassed

boolean

None.

LastInspectionTyresFailed

integer

None.

LastInspectionTyresPassed

integer

None.

LastInspectionTotalFaults

integer

None.

InspectionOverdue

boolean

None.

Active

boolean

None.

LastInspectionResult

string

None.

VehicleType

VehicleType

None.

VehicleTypeName

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'VehicleTypeName' on 'DMHEntities.vw_VehicleProfile'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'VehicleTypeName' on 'DMHEntities.vw_VehicleProfile'.

application/xml, text/xml

Sample:
<vw_VehicleProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMHEntities">
  <Active>true</Active>
  <AwaitingReTorque>true</AwaitingReTorque>
  <FleetId>3</FleetId>
  <FleetName>sample string 4</FleetName>
  <Id>1</Id>
  <InspectionOverdue>true</InspectionOverdue>
  <LastInspectionDate>2025-12-06T02:35:56.5284085+00:00</LastInspectionDate>
  <LastInspectionPassed>true</LastInspectionPassed>
  <LastInspectionTotalFaults>1</LastInspectionTotalFaults>
  <LastInspectionTyresFailed>1</LastInspectionTyresFailed>
  <LastInspectionTyresPassed>1</LastInspectionTyresPassed>
  <Make>sample string 7</Make>
  <Mileage>1</Mileage>
  <Model>sample string 8</Model>
  <OperaAccount>sample string 2</OperaAccount>
  <RegistrationOrTrailerNo>sample string 9</RegistrationOrTrailerNo>
  <VIN>sample string 10</VIN>
  <VehicleTypeId>6</VehicleTypeId>
</vw_VehicleProfile>