Class RouteSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The object used to specify the arguments when searching for Route(s).
public class RouteSearch : Search, IEntity
- Inheritance
-
RouteSearch
- Implements
- Inherited Members
Constructors
RouteSearch()
Initializes a new instance of the RouteSearch class.
public RouteSearch()
RouteSearch(Id?)
Initializes a new instance of the RouteSearch class.
public RouteSearch(Id? id)
Parameters
Properties
DeviceSearch
Gets or sets filter by the DeviceSearch options. Providing a device ID will
search for any Routes that are assigned to that Device.
Providing the Groups will search for Routes for that have Devices in that group.
Available DeviceSearch options are:
public DeviceSearch? DeviceSearch { get; set; }
Property Value
FromDate
Gets or sets search for Routes that were active at this date or after.
public DateTime? FromDate { get; set; }
Property Value
Groups
Gets or sets search for ONLY Route Completion (RouteType.Service) routes that are members of these GroupSearch(s). Available GroupSearch options are:
public IList<GroupSearch>? Groups { get; set; }
Property Value
IncludeRouteStatus
Gets or sets status for the routes. The default value is [false].
public bool? IncludeRouteStatus { get; set; }
Property Value
MaxVersion
Gets or sets maximum version of the search criteria.
public long? MaxVersion { get; set; }
Property Value
MinVersion
Gets or sets minimum version of the search criteria.
public long? MinVersion { get; set; }
Property Value
Name
Gets or sets search for Routes with this Name. Wildcard can be used by prepending/appending "%" to string. Example "%comments%".
public string? Name { get; set; }
Property Value
RouteType
Gets or sets search for Routes with this RouteType.
public RouteType? RouteType { get; set; }
Property Value
ServiceGroups
Gets or sets search for ONLY Route Completion (RouteType.Service) routes that are members of these GroupSearch(s) in the Service Group hierarchy. Available GroupSearch options are:
public IList<GroupSearch>? ServiceGroups { get; set; }
Property Value
ToDate
Gets or sets search for Routes that were active at this date or before.
public DateTime? ToDate { get; set; }
Property Value
ZoneSearch
Gets or sets filter by the ZoneSearch options. Providing a zone ID will search for any Routes that contain that Zone. Providing Groups will search for Routes that have Zones in that group. Available ZoneSearch options are:
public ZoneSearch? ZoneSearch { get; set; }