Skip to main content

Temperature Report

Temperature sensor readings from vehicle-mounted hardware. Track cold chain compliance and detect excursions.

GET/apidev/v1/reports/avl/temperature
PermissionAPICLI_RPTAVL_TEMPERATURA
Rate Limit10 req/min (sliding window)
Cache300s (5 min)
Max Range31 days

Overview

Returns temperature sensor readings from vehicles equipped with onboard temperature monitoring. Critical for cold chain logistics, pharmaceutical transport, and food delivery compliance.

  • Raw readings — individual data points with timestamps
  • Daily aggregationperday=true for aggregated values per day
  • Subtotalssubtotals=true for summary rows
info

Only vehicles with a temperature sensor configured return data. Devices without sensors are silently excluded.


Query Parameters

ParameterTypeRequiredDefaultDescription
startdatestringYesISO 8601 start date-time
enddatestringYesISO 8601 end date-time. Max range 31 days
devicesstringNoAll visibleComma-separated device IDs. Max 500
perdaybooleanNofalseAggregate readings by day
subtotalsbooleanNofalseInclude subtotal rows
limitintegerNo25Records per page (1100)
offsetintegerNo0Records to skip

Code Examples

curl -s "https://$TENANT/apidev/v1/reports/avl/temperature?startdate=2026-03-01T00:00:00&enddate=2026-03-15T23:59:59&limit=50&perday=true" \
-H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: $APIKEY" \
-H "tenant: $TENANT"

Response Fields

FieldTypeDescription
device_namestringDisplay name of the vehicle/device
device_groupstringGroup the device belongs to
datetimestring | nullTimestamp of the reading, or date when perday is enabled
temperaturenumberTemperature reading in °C (sensor 1)
tip

Temperature values are in degrees Celsius. Convert client-side if needed: F = (C × 9/5) + 32.

Example Response

{
"success": true,
"data": [
{
"device_name": "Reefer R-401",
"device_group": "Cold Chain Fleet",
"datetime": "2026-03-05",
"temperature": -2.4
},
{
"device_name": "Reefer R-401",
"device_group": "Cold Chain Fleet",
"datetime": "2026-03-06",
"temperature": -1.8
}
],
"meta": {
"total": 14,
"limit": 50,
"offset": 0
}
}

Errors

CodeHTTPDescription
BAD_REQUEST400Missing required headers
VALIDATION_ERROR400Invalid params: missing dates, range > 31 days
UNAUTHORIZED401Invalid or expired JWT / API Key
FORBIDDEN403User lacks APICLI_RPTAVL_TEMPERATURA permission
RATE_LIMITED429Exceeded 10 req/min
INTERNAL_ERROR500Unexpected server error

  • Ignition Report — Includes temperature_1 and temperature_2 per ignition period
  • Pagination — Standard pagination parameters