GET api/Values/v1/GetMin/{secondsAgo}/{lat}/{lon}/{stopsWithinXMetres}/{limitTo}

Get a minimum information version of bus locations and bus stops (if lat and lon provided) within x metres of the provided location, v1 feed provided for stability for app developers to rely on an exact feed version

Request Information

URI Parameters

NameDescriptionTypeAdditional information
secondsAgo

The number of seconds to look back for updates

integer

None.

lat

The latitude of the current user's location

decimal number

None.

lon

The longtitude of the current user's location

decimal number

None.

stopsWithinXMetres

The number of metres within which to return bus stops

integer

Default value is 500

limitTo

The maximum number of bus stops to return in the update, in case the radius is too large

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

An array of bus locations and an optional array of bus stops

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.