Skip to main content
GET
/
customer
/
{customerId}
/
vehicle
List Vehicle
curl --request GET \
  --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/vehicle \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "registration": "<string>",
      "name": "<string>",
      "type": "<string>",
      "groupId": "<string>",
      "groupName": "<string>",
      "odometerValue": 123,
      "odometerType": "<string>",
      "make": "<string>",
      "model": "<string>",
      "tags": [
        "<string>"
      ],
      "defaultDriverId": "<string>",
      "status": "<string>",
      "assetCosts": {
        "yearOfManufacture": 123,
        "ownershipStartDate": "2023-12-25",
        "ownershipEndDate": "2023-12-25",
        "purchaseCost": 123,
        "monthlyLeaseCost": 123,
        "monthlyInsuranceCost": 123,
        "monthlyMaintenanceCost": 123,
        "scheduledMaintenanceAmount": 123,
        "unscheduledMaintenanceAmount": 123,
        "costPerMileOverLimit": 123,
        "costOfDisposal": 123,
        "buyoutAmount": 123,
        "costCurrency": "<string>"
      },
      "fuelType": [
        "<string>"
      ],
      "engineTotalHours": 123,
      "engineTotalHoursType": "<string>",
      "serialNumber": 123,
      "activeFaultCodes": [
        "<string>"
      ]
    }
  ],
  "pagination": {
    "totalItems": 123,
    "totalPages": 123,
    "pageSize": 123,
    "pageIndex": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

Query Parameters

vehicleIds
string[]

Comma separated list of vehicle identifiers (alphanumeric).

groupIds
string[]

Comma separated list of group identifiers (alphanumeric).

name
string

Friendly name of a vehicle

pageIndex
integer

Specifies the pagination page index.
Pages are zero indexed, i.e.
the first page has an index value of zero.

pageSize
integer

Specifies the number of items to include on a page.
Must be specified if pageIndex has been specified.

Response

Vehicles were successfully returned.

items
object[]
pagination
object