GET actrealtime/line?callback={callback}
Use this method to retrieve the set of routes serviced by the system.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
callback | string |
None. |
Body Parameters
None.
Response Information
Resource Description
RequestResponseOfRouteRequestResponseName | Description | Type | Additional information |
---|---|---|---|
bustime-response | RouteRequestResponse |
None. |
Response Formats
application/json, text/json
Sample:
{ "bustime-response": { "routes": [ { "rt": "sample string 1", "rtnm": "sample string 2", "rtclr": "sample string 3", "rtdd": "sample string 4", "rtpidatafeed": "sample string 5" }, { "rt": "sample string 1", "rtnm": "sample string 2", "rtclr": "sample string 3", "rtdd": "sample string 4", "rtpidatafeed": "sample string 5" } ], "error": [ {}, {} ] } }
text/html
Sample:
{"bustime-response":{"routes":[{"rt":"sample string 1","rtnm":"sample string 2","rtclr":"sample string 3","rtdd":"sample string 4","rtpidatafeed":"sample string 5"},{"rt":"sample string 1","rtnm":"sample string 2","rtclr":"sample string 3","rtdd":"sample string 4","rtpidatafeed":"sample string 5"}],"error":[{},{}]}}
application/xml, text/xml
Sample:
<RequestResponseOfRouteRequestResponseV_SDPij9I xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models"> <Response> <Error xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:anyType /> <d3p1:anyType /> </Error> <Routes> <RouteRequestResponse.Route> <Line>sample string 1</Line> <Rtclr>sample string 3</Rtclr> <Rtdd>sample string 4</Rtdd> <Rtnm>sample string 2</Rtnm> <Rtpidatafeed>sample string 5</Rtpidatafeed> </RouteRequestResponse.Route> <RouteRequestResponse.Route> <Line>sample string 1</Line> <Rtclr>sample string 3</Rtclr> <Rtdd>sample string 4</Rtdd> <Rtnm>sample string 2</Rtnm> <Rtpidatafeed>sample string 5</Rtpidatafeed> </RouteRequestResponse.Route> </Routes> </Response> </RequestResponseOfRouteRequestResponseV_SDPij9I>