Class TripSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The object used to specify the arguments when searching for Trip(s).
This search has been designed to work efficiently with these combinations of parameters:
public class TripSearch : Search, IEntity
- Inheritance
-
TripSearch
- Implements
- Inherited Members
Constructors
TripSearch()
Initializes a new instance of the TripSearch class.Constructor.
public TripSearch()
TripSearch(Id?)
Initializes a new instance of the TripSearch class.Constructor.
public TripSearch(Id? id)
Parameters
id
IdThe identifier.
Properties
DeviceSearch
Gets or sets search for Trips with this DeviceSearch Id. Available DeviceSearch options are:.
public DeviceSearch? DeviceSearch { get; set; }
Property Value
FromDate
Gets or sets search for Trips recorded at this date or after. When "IncludeOverlappedTrips" is set to True, search for Trips where the NextTripStartTime is at this date, after or NULL.
public DateTime? FromDate { get; set; }
Property Value
IncludeDeleted
Gets or sets a value indicating whether trip search allows including deleted records
public bool IncludeDeleted { get; set; }
Property Value
IncludeOverlappedTrips
Gets or sets a value indicating whether when OverlappedTrips is set to True; any part of a trip that overlaps with the FromDate or ToDate boundary will have the entire trip included in the data.
public bool? IncludeOverlappedTrips { get; set; }
Property Value
MaxId
Gets or sets maximum Id of the search criteria.
public Id? MaxId { get; set; }
Property Value
MinId
Gets or sets minimum Id of the search criteria.
public Id? MinId { get; set; }
Property Value
SearchArea
Gets or sets search rectangular area for Trips; the trips being retrieved must be located in this area. The BoundingBox object should contain the bottom left and top right coordinates of the searching rectangle.
public BoundingBox? SearchArea { get; set; }
Property Value
ToDate
Gets or sets search for Trips recorded at this date or before. When "IncludeOverlappedTrips" is set to True, search for Trips where the StartDateTime is this date or before.
public DateTime? ToDate { get; set; }
Property Value
UserSearch
Gets or sets search for Trips with this UserSearch Id. Available UserSearch options are:.
public UserSearch? UserSearch { get; set; }