curl --request GET \
--url https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire \
--header 'Authorization: <api-key>'import requests
url = "https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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>"
}
]
}
}
]
}{
"errorCode": 123,
"errorMessage": "<string>"
}{
"errorCode": 123,
"errorMessage": "<string>"
}{
"errorCode": 123,
"errorMessage": "<string>"
}Tire events
Get the latest tire pressure and wear inspection data for one or more vehicles. You can filter by specific vehicle (assetId) or group, specify inspection types, include location information, and apply pagination. This endpoint returns comprehensive tire condition information including pressure, temperature, wear measurements, and defect status.
curl --request GET \
--url https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire \
--header 'Authorization: <api-key>'import requests
url = "https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.masternautconnect.com/public/v1/customer/{customerId}/asset/tire")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"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>"
}
]
}
}
]
}{
"errorCode": 123,
"errorMessage": "<string>"
}{
"errorCode": 123,
"errorMessage": "<string>"
}{
"errorCode": 123,
"errorMessage": "<string>"
}Authorizations
Authorization header containing a Bearer token of the form Bearer [token], where [token] is a JWT used to authorize the request
Path Parameters
Query Parameters
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.
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.
Comma separated list of includes, e.g. 'TIRE_WEAR, TIRE_PRESSURE
["TIRE_WEAR", "TIRE_PRESSURE"]
Whether to include each vehicle's last known location; the default is false
Only include vehicles whose tire wear/pressure have been updated since this date and time
Specifies the pagination page index. Pages are zero indexed, i.e. the first page has an index value of zero.
1
Specifies the number of items to include on a page. Must be specified if pageIndex has been specified.
x >= 1Response
200 response
The current page index (zero-based).
0
The number of items per page.
25
The total number of pages available.
10
The total number of items available.
250
The number of items returned in the current response.
25
Indicates if there is a next page available.
Show child attributes
Show child attributes
Was this page helpful?
