Introduction
The object used to specify the arguments when searching for TripClassificationLog(s).
Properties

deviceSearch

Search for TripClassificationLogs for this DeviceSearch Id. Available DeviceSearch options are:.
  • Id

fromDate

Search for TripClassificationLogs whose trip started at this date or after.

id

Search for an entry based on the specific Id.

manualOnly

A value indicating whether to restrict the search to manually entered trips (those with no associated GPS trip).

toDate

Search for TripClassificationLogs whose trip started at this date or before.

unclassifiedOnly

A value indicating whether to restrict the search to trips with no effective classification (no active TripClassificationLog and no configured TripClassificationDefault). These are the Req 75 exception trips: they are excluded from logbook export and reported to the driver. TripClassificationLogSearch.userSearch with an Id is required when this is true, as the effective classification depends on the driver's configured default.
The results describe trips rather than stored classification records — no such record exists, which is the point. Each is synthesized from the trip, so TripClassificationLog.classification is null and TripClassificationLog.dateTime carries the trip's start time rather than the time of a classification event, since nothing classified the trip. Treating that value as "classified at" would present a plausible but meaningless timestamp. The identifying fields — device, start and stop — are the trip's own and are the ones worth showing or storing.
For the same reason the Entity.id on each result is generated per call and is not a reference to anything: it is not stable across repeated searches, cannot be passed to a later operation, and two results for the same trip from two calls will not share it. Identify these trips by device and start time, which is the natural key a classification would be stored under.

userSearch

Search for TripClassificationLogs for this UserSearch Id. Available UserSearch options are:.
  • Id

Loading API Runner...