View Maintenance History

This API allows the user to view the maintenance history of your account. You are allowed to filter the records between time range by passing the 'startTime' and 'endTime' as query parameters.

📘

Sample Request

https://services.azuga.com/azuga-ws-oauth/v3/maintanance/reports/scheduledreport.json?startTime=2023-03-01 12:00:00 AM&endTime=2023-03-27 11:59:59 PM&isCount=false

{}

API Response explanation

Field

Description

Data Type

generatedAtInMillis

API generation time in UTC milliseconds

Long

data

Object representing the details of the maintenance history

Object

vehicleName

Name of the vehicle

String

serviceType

Type of the service configured

String

assetNumber

Asset number of the vehicle

String

offset

Offset value representing the local time of the vehicle with UTC

Integer

lastTimezone

Last timezone detected by the device from vehicle's location

String

vehicleId

Unique identifier representing the vehicle

String

rulesetId

Unique identifier representing the ruleset

String

groupName

Name of the group

String

alertId

Unique identifier representing the maintenance alert

String

alertName

Name of the maintenance alert

String

odoChoice

Boolean which represents whether the odometer reading is from the vehicle or manual calculation

True = Odo value from vehicle
False = Manual calculation by Azuga based on Initial odometer reading

Boolean

vehicleSupportedOdo

Vehicle supported odometer reading

Double

odoSupportedMileage

Odometer reading from the vehicle as of the service date

Double

serviceDate

Service date in UTC milliseconds

Timestamp

serviceDateStr

Service date in mmm-dd-yyyy format

String

serviceDays

Service days set for the vehicle

Integer

reminderDays

Reminder days set for the vehicle

Integer

nextServiceDate

Next service date in UTC milliseconds

Timestamp

nextServiceDateStr

Next service date in mmm-dd-yyyy format

String

initialMileage

Odometer reading as of the service date

Double

currentMileage

Odometer reading as of current date

Double

serviceMileage

The frequency of vehicle to be service from the last services mileage

Double

reminderMiles

Reminder miles of the vehicle

Double

nextServiceMileage

Next service mileage of the vehicle

Double

intialEngineHrs

Initial engine hours of the vehicle

Long

intialEngineHrsStr

Initial engine hours in time format of the vehicle

String

currentEngineHrs

Current engine hours of the vehicle

Long

currentEngineHrsStr

Current engine hours in time format of the vehicle

String

serviceHrs

Service hours of the vehicle

Integer

serviceHrsStr

Service hours in time format of the vehicle

String

reminderEngineHrs

Reminder engine hours of the vehicle

Integer

reminderEngineHrsStr

Reminder engine hours in time format of the vehicle

String

nextEngineHrs

Next engine hours of the vehicle

Long

nextEngineHrsStr

Next engine hours in time format of the vehicle

String

rc0Enable

Boolean representing whether Mileage(Miles) is enabled for the vehicle reminder

boolean

rc1Enable

Boolean representing whether Time Interval is enabled for the vehicle reminder

boolean

rc2Enable

Boolean representing whether Engine Run Time(Hrs) is enabled for the vehicle reminder

boolean

trackeeTypeId

Unique identifier representing the type of the vehicle. The following values are valid:

1 - Vehicle
3 - Asset
5 - OEM

short

currentMileageAsset

Current odometer reading of the asset

Double

currentEngineHrsAsset

Current engine hours of the asset

Long

alertCount

For Azuga internal use

Integer

userName

Name of the driver associated with the vehicle

String

dueDays

Number of days the service is due

int

upcoming

Boolean value representing whether the reminder is upcoming or not

True = Upcoming
False = Overdue

boolean

error

Error description - if any

List<Error>

Language
Credentials
Header
Click Try It! to start a request and see the response here!