GET stops
Retrieve all of AC Transit's currently active stops.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of StopName | Description | Type | Additional information |
---|---|---|---|
StopId | integer |
None. |
|
Name | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
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, "ScheduledTime": "2024-04-24T09:59:22.3092374-07:00" }, { "StopId": 1, "Name": "sample string 2", "Latitude": 3.0, "Longitude": 4.0, "ScheduledTime": "2024-04-24T09:59:22.3092374-07:00" } ]
text/html
Sample:
[{"StopId":1,"Name":"sample string 2","Latitude":3.0,"Longitude":4.0,"ScheduledTime":"2024-04-24T09:59:22.3092374-07:00"},{"StopId":1,"Name":"sample string 2","Latitude":3.0,"Longitude":4.0,"ScheduledTime":"2024-04-24T09:59:22.3092374-07: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> <Latitude>3</Latitude> <Longitude>4</Longitude> <Name>sample string 2</Name> <ScheduledTime>2024-04-24T09:59:22.3092374-07:00</ScheduledTime> <StopId>1</StopId> </Stop> <Stop> <Latitude>3</Latitude> <Longitude>4</Longitude> <Name>sample string 2</Name> <ScheduledTime>2024-04-24T09:59:22.3092374-07:00</ScheduledTime> <StopId>1</StopId> </Stop> </ArrayOfStop>