Skip to main content
GET
/
public
/
v1
/
customer
/
{customerId}
/
asset
/
tire
/
defect
/
history
Tire Defect Events
curl --request GET \
  --url https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire/defect/history \
  --header 'Authorization: <api-key>'
{
  "pageIndex": 0,
  "pageSize": 25,
  "totalPages": 10,
  "totalCount": 250,
  "resultCount": 25,
  "hasNextPage": true,
  "data": [
    {
      "asset": {
        "id": "<string>",
        "name": "<string>",
        "registration": "<string>",
        "formattedRegistration": "<string>",
        "vin": "<string>"
      },
      "category": "WEAR",
      "type": "<string>",
      "entityType": "TIRE",
      "inProgress": true,
      "creationDate": "2023-11-07T05:31:56Z",
      "updateDate": "2023-11-07T05:31:56Z",
      "severity": "<string>",
      "severityCode": 2,
      "properties": {
        "dueDate": "2023-11-07T05:31:56Z",
        "positions": [
          {
            "axleNumber": 1,
            "tireCount": 2,
            "tireNumber": 1,
            "positionIdentifier": "<string>"
          }
        ],
        "pressure": 800000,
        "normalizedPressure": 790000,
        "temperature": 45,
        "conicity": 0.00415,
        "grooveHeightDifference": 0.23
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization header containing a Bearer token of the form Bearer [token], where [token] is a JWT used to authorize the request

Path Parameters

customerId
string
required

Query Parameters

startDate
string<date-time>
required

The result will include defects that occurred between startDateTime and endDateTime, not exceeding 6 months

endDate
string<date-time>
required

The result will include defects that occurred between startDateTime and endDateTime, not exceeding 6 months

severities
enum<string>[]

Filter by severity of the defect. If not provided, all severities will be returned.

Available options:
ATTENTION,
MINOR,
MODERATE,
MAJOR,
CRITICAL,
INFORMATION,
NOT_INSTALLED,
OTHER_ACTION
assetId
string

Identifier (alphanumeric) of a vehicle.. If neither assetId nor groupId is provided, data for all vehicles accessible to the user under the specified customer will be returned.

groupId
string

Group identifier (alphanumeric). Use this to retrieve data for all vehicles within a specific group. If neither assetId nor groupId is provided, data for all vehicles accessible to the user under the specified customer will be returned.

pageIndex
number

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

Example:

1

pageSize
number

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

Example:

50

Response

200 response

pageIndex
number

The current page index (zero-based).

Example:

0

pageSize
number

The number of items per page.

Example:

25

totalPages
number

The total number of pages available.

Example:

10

totalCount
number

The total number of items available.

Example:

250

resultCount
number

The number of items returned in the current response.

Example:

25

hasNextPage
boolean

Indicates if there is a next page available.

data
object[]