POST api/classe/requestvehiclecheckpdf

Request historical vehicle check PDFs

Request Information

URI Parameters

None.

Body Parameters

A VehicleCheckPDFRequest

VehicleCheckPDFRequest
NameDescriptionTypeAdditional information
Token

The token returned after login used for authentication

string

None.

DriverId

The driver id returned after login used for authentication

unsigned integer

None.

ServiceId

The service id queried

unsigned integer

None.

StartDate

The start date queried

date

None.

EndDate

The end date queried

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "DriverId": 2,
  "ServiceId": 3,
  "StartDate": "2025-04-27T15:48:18.8140269+00:00",
  "EndDate": "2025-04-27T15:48:18.8140269+00:00"
}

application/xml, text/xml

Sample:
<VehicleCheckPDFRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Token>sample string 1</Token>
  <DriverId>2</DriverId>
  <ServiceId>3</ServiceId>
  <StartDate>2025-04-27T15:48:18.8140269+00:00</StartDate>
  <EndDate>2025-04-27T15:48:18.8140269+00:00</EndDate>
</VehicleCheckPDFRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VehicleCheckPDFResponse

VehicleCheckPDFResponse
NameDescriptionTypeAdditional information
VehicleChecks

A list of vehicle checks

Collection of VehicleCheckURL

None.

VehicleCheckCount

The number of vehicle checks found

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "VehicleChecks": [
    {
      "StartDate": "2025-04-27T15:48:18.8140269+00:00",
      "EndDate": "2025-04-27T15:48:18.8140269+00:00",
      "S3URL": "sample string 3",
      "Driver": "sample string 4"
    },
    {
      "StartDate": "2025-04-27T15:48:18.8140269+00:00",
      "EndDate": "2025-04-27T15:48:18.8140269+00:00",
      "S3URL": "sample string 3",
      "Driver": "sample string 4"
    }
  ],
  "VehicleCheckCount": 1
}

application/xml, text/xml

Sample:
<VehicleCheckPDFResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <VehicleChecks>
    <VehicleCheckURL>
      <StartDate>2025-04-27T15:48:18.8140269+00:00</StartDate>
      <EndDate>2025-04-27T15:48:18.8140269+00:00</EndDate>
      <S3URL>sample string 3</S3URL>
      <Driver>sample string 4</Driver>
    </VehicleCheckURL>
    <VehicleCheckURL>
      <StartDate>2025-04-27T15:48:18.8140269+00:00</StartDate>
      <EndDate>2025-04-27T15:48:18.8140269+00:00</EndDate>
      <S3URL>sample string 3</S3URL>
      <Driver>sample string 4</Driver>
    </VehicleCheckURL>
  </VehicleChecks>
  <VehicleCheckCount>1</VehicleCheckCount>
</VehicleCheckPDFResponse>