GET route/{routeName}/trip/{tripId}/stops
Retrieve a list of bus stops for the specified trip.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| routeName |
The route for whose stops should be retrieved. |
string |
Required |
| tripId |
The trip for whose stops should be retrieved. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Stop| Name | Description | Type | Additional information |
|---|---|---|---|
| StopId | integer |
None. |
|
| Name | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| City | string |
None. |
|
| ScheduledTime |
The time a vehicle is scheduled to depart from this stop. Note: The 'date' part of this variable is unimportant, use only the Time. |
date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StopId": 1,
"Name": "sample string 2",
"Latitude": 3.0,
"Longitude": 4.0,
"City": "sample string 5",
"ScheduledTime": "2026-03-03T02:42:16.6573188-08:00"
},
{
"StopId": 1,
"Name": "sample string 2",
"Latitude": 3.0,
"Longitude": 4.0,
"City": "sample string 5",
"ScheduledTime": "2026-03-03T02:42:16.6573188-08:00"
}
]
text/html
Sample:
[{"StopId":1,"Name":"sample string 2","Latitude":3.0,"Longitude":4.0,"City":"sample string 5","ScheduledTime":"2026-03-03T02:42:16.6573188-08:00"},{"StopId":1,"Name":"sample string 2","Latitude":3.0,"Longitude":4.0,"City":"sample string 5","ScheduledTime":"2026-03-03T02:42:16.6573188-08:00"}]
application/xml, text/xml
Sample:
<ArrayOfStop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models">
<Stop>
<City>sample string 5</City>
<Latitude>3</Latitude>
<Longitude>4</Longitude>
<Name>sample string 2</Name>
<ScheduledTime>2026-03-03T02:42:16.6573188-08:00</ScheduledTime>
<StopId>1</StopId>
</Stop>
<Stop>
<City>sample string 5</City>
<Latitude>3</Latitude>
<Longitude>4</Longitude>
<Name>sample string 2</Name>
<ScheduledTime>2026-03-03T02:42:16.6573188-08:00</ScheduledTime>
<StopId>1</StopId>
</Stop>
</ArrayOfStop>
