GET actrealtime/vehicle?vid={vid}&rt={rt}&tmres={tmres}&callback={callback}&lat={lat}&lng={lng}&searchRadius={searchRadius}

Use this method to retrieve vehicle information (i.e., locations) of all or a subset of vehicles currently being tracked.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vid

Comma-delimited list of vehicle IDs(not available with route parameter)

string

None.

rt

Comma-delimited list of route designators (not available with the vid parameter)

string

None.

tmres

Resolution of time stamps. Set to “s” to get time resolution to the second.Set to “m” to get time resolution to the minute.If omitted, defaults to “m”. Date and time is represented in the following format: If specified as “s” YYYYMMDD HH:MM:SS If specified as “m” YYYYMMDD HH:MM Month is represented as two digits where January is equal to “01” and December is equal to “12”. Time is represented using a 24-hour clock.

string

None.

callback

string

None.

lat

Value expressing the latitude of a point/location that will be used when filtering vehicles located within a given radius

decimal number

None.

lng

Value expressing the longitude of a point/location that will be used when filtering vehicles located within a given radius

decimal number

None.

searchRadius

Search distance expressed in feet (ft) from provided lat and lng parameters. When provided only vehicles that are located under this radius are returned

decimal number

None.

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.