Skip to main content
GET
/
public
/
v1
/
customer
/
{customerId}
/
asset
/
tire
Tire events
curl --request GET \
  --url https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire \
  --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>"
      },
      "pressureEventDate": "2023-11-07T05:31:56Z",
      "wearEventDate": "2023-11-07T05:31:56Z",
      "tires": [
        {
          "position": {
            "axleNumber": 2,
            "tireCount": 4,
            "tireNumber": 2
          },
          "positionIdentifier": "<string>",
          "pressureInspection": {
            "pressure": 800000,
            "normalizedPressure": 790000,
            "temperature": 45
          },
          "wearInspection": {
            "grooves": [
              {
                "grooveNumber": 1,
                "rtd": 2.1
              }
            ]
          },
          "inspectionStatus": "<string>",
          "regrooved": true,
          "retreaded": true
        }
      ],
      "location": {
        "latitude": 45.78337128368718,
        "longitude": 3.092814979143072,
        "pois": [
          {
            "locationId": "<string>",
            "locationName": "<string>",
            "locationCategory": "<string>"
          }
        ]
      }
    }
  ]
}

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

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.

inspectionTypes
string[]
required

Comma separated list of includes, e.g. 'TIRE_WEAR, TIRE_PRESSURE

Example:
["TIRE_WEAR", "TIRE_PRESSURE"]
includeLocation
boolean

Whether to include each vehicle's last known location; the default is false

sinceDate
string<date-time>

Only include vehicles whose tire wear/pressure have been updated since this date and time

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
default:200

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

Required range: x >= 1

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[]