GET route/{routeName}/{booking}

Retrieve information for a specific route.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
routeName

The route to be retrieved.

string

Required

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

Route
NameDescriptionTypeAdditional 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"
}

text/html

Sample:
{"RouteId":"sample string 1","Name":"sample string 2","Description":"sample string 3"}

application/xml, text/xml

Sample:
<Route xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models">
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <RouteId>sample string 1</RouteId>
</Route>