POST apiassetoauth/driive/requestfaultvehiclecheckpdf/{serviceId}

Get the last vehicle check for a vehicle if it had a fault

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serviceId

The service id queried

unsigned integer

Required

Body Parameters

None.

Response Information

Resource Description

A FaultyVehicleCheckResponse or null if the last check performed had no faults

FaultyVehicleCheckResponse
NameDescriptionTypeAdditional information
HighSeverityFaults

integer

None.

MediumSeverityFaults

integer

None.

LowSeverityFaults

integer

None.

StartDate

When the vehicle check was started

date

None.

EndDate

When the vehicle check ended

date

None.

S3Url

The pdf s3 url

string

None.

VehicleCheckFaults

Details of the faults

Collection of VehicleCheckFaultInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "HighSeverityFaults": 1,
  "MediumSeverityFaults": 2,
  "LowSeverityFaults": 3,
  "StartDate": "2026-09-19T07:49:06.356392+00:00",
  "EndDate": "2026-09-19T07:49:06.356392+00:00",
  "S3Url": "sample string 6",
  "VehicleCheckFaults": [
    {
      "SectionId": 1,
      "SectionName": "sample string 2",
      "ItemId": 3,
      "ItemName": "sample string 4"
    },
    {
      "SectionId": 1,
      "SectionName": "sample string 2",
      "ItemId": 3,
      "ItemName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<FaultyVehicleCheckResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <HighSeverityFaults>1</HighSeverityFaults>
  <MediumSeverityFaults>2</MediumSeverityFaults>
  <LowSeverityFaults>3</LowSeverityFaults>
  <StartDate>2026-09-19T07:49:06.356392+00:00</StartDate>
  <EndDate>2026-09-19T07:49:06.356392+00:00</EndDate>
  <S3Url>sample string 6</S3Url>
  <VehicleCheckFaults>
    <VehicleCheckFaultInfo>
      <SectionId>1</SectionId>
      <SectionName>sample string 2</SectionName>
      <ItemId>3</ItemId>
      <ItemName>sample string 4</ItemName>
    </VehicleCheckFaultInfo>
    <VehicleCheckFaultInfo>
      <SectionId>1</SectionId>
      <SectionName>sample string 2</SectionName>
      <ItemId>3</ItemId>
      <ItemName>sample string 4</ItemName>
    </VehicleCheckFaultInfo>
  </VehicleCheckFaults>
</FaultyVehicleCheckResponse>