This query returns information about a specific fixed route vehicle
Object type : vehicle
URL Parameters :
-
vehicleId the id of the vehicle. In the RouteMatchd database this is the InternalVehicleId.
Query Parameters :
-
timeHorizon The maximum age, in minutes, of a vehicle's GPS data before that vehicle is removed from the query. For example if a vehicle hasn't reported GPS data in 35 minutes, and this value is 30, then the vehicle will not be included in the result. The default value is 30.
-
adherenceEnabled (boolean) – this option allows the calculation of schedule adherence to be disabled. When set to false the schedule adherence fields of the vehicle object will not be filled in, they will be set to null. This increases performance and should be used when the consuming application does not need schedule adherence information. The default value is false. Valid values are "true" or "false".
Example Queries :