v1

latestSwagger 2.02026-07-1384122135.6 KB
StopPoint

Returns the canonical direction, "inbound" or "outbound", for a given pair of stop point Ids in the direction from -> to.

get/StopPoint/{id}/DirectionTo/{toStopPointId}

Path parameters

idstring required

Originating stop id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)

toStopPointIdstring required

Destination stop id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)

Query parameters

lineIdstring

Optional line id filter e.g. victoria

Response

OK

string required