Skip to main content
GET
/
customer
/
{customerId}
/
vehicle
/
faults
Vehicle Faults
curl --request GET \
  --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/vehicle/faults \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "groupName": "<string>",
      "groupId": "<string>",
      "make": "<string>",
      "model": "<string>",
      "version": "<string>",
      "assetRegistration": "<string>",
      "assetName": "<string>",
      "driverId": "<string>",
      "faults": [
        {
          "description": "<string>",
          "code": "<string>",
          "startDate": "2023-11-07T05:31:56Z",
          "endDate": "2023-11-07T05:31:56Z",
          "startOdometer": 123,
          "endOdometer": 123,
          "type": "CAN_FAULT",
          "inProgress": true,
          "details": {
            "source": "<string>",
            "sourceDescription": "<string>",
            "occurrenceCount": 123,
            "fmi": "<string>",
            "fmiDescription": "<string>",
            "lamps": [
              "<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

vehicleId
string

Identifier (alphanumeric) of a vehicle.

groupId
string

Identifier (alphanumeric) of a group.

startDate
string<date-time>

Earliest service due date, in UTC, in format of YYYY-MM-DDThh:mm:ss

endDate
string<date-time>

Latest service due date, in UTC, in format of YYYY-MM-DDThh:mm:ss

pageSize
integer

Number of items per page

pageIndex
integer

Current page index (zero-based)

Response

Successful operation

items
object[]
pagination
object