GET routes/{booking}
Retrieve all of AC Transit's routes.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
booking |
Unique id that represents a specific schedule for the peiod of time associated with the data to be retrieved. Use 'Current' or leave empty to return exceptions for the current schedule. Use 'Next' to return exceptions for the next schedule once it's available. Use BookingId to return exceptions for a specific schedule. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of RouteName | Description | Type | Additional information |
---|---|---|---|
RouteId |
Route's unique identifier |
string |
None. |
Name |
The Route's name as seen by the public |
string |
None. |
Description |
Additional information regarding the route. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RouteId": "sample string 1", "Name": "sample string 2", "Description": "sample string 3" }, { "RouteId": "sample string 1", "Name": "sample string 2", "Description": "sample string 3" } ]
text/html
Sample:
[{"RouteId":"sample string 1","Name":"sample string 2","Description":"sample string 3"},{"RouteId":"sample string 1","Name":"sample string 2","Description":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfRoute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models"> <Route> <Description>sample string 3</Description> <Name>sample string 2</Name> <RouteId>sample string 1</RouteId> </Route> <Route> <Description>sample string 3</Description> <Name>sample string 2</Name> <RouteId>sample string 1</RouteId> </Route> </ArrayOfRoute>