GET stop/{stopId}/profile
Retrieve information for a given stop.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stopId |
511's unique stop identifier whose stop information will be retrieved |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StopProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| StopId | integer |
None. |
|
| Street | string |
None. |
|
| City | string |
None. |
|
| SiteDirection | string |
None. |
|
| Site | string |
None. |
|
| Corner | string |
None. |
|
| IsInService | boolean |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Routes | string |
None. |
|
| AllowAlighting | boolean |
None. |
|
| AllowBoarding | boolean |
None. |
|
| PlaceId | string |
None. |
|
| PlaceDescription | string |
None. |
|
| StopServiceAlerts | InfoUrl |
None. |
|
| Amenities | InfoUrl |
None. |
|
| Predictions | InfoUrl |
None. |
|
| Map | InfoUrl |
None. |
|
| Schedules | Collection of RouteUrl |
None. |
Response Formats
application/json, text/json
Sample:
{
"StopId": 1,
"Street": "sample string 2",
"City": "sample string 3",
"SiteDirection": "sample string 4",
"Site": "sample string 5",
"Corner": "sample string 6",
"IsInService": true,
"Latitude": 8.0,
"Longitude": 9.0,
"Routes": "sample string 10",
"AllowAlighting": true,
"AllowBoarding": true,
"PlaceId": "sample string 13",
"PlaceDescription": "sample string 14",
"StopServiceAlerts": {
"Url": "sample string 1"
},
"Amenities": {
"Url": "sample string 1"
},
"Predictions": {
"Url": "sample string 1"
},
"Map": {
"Url": "sample string 1"
},
"Schedules": [
{
"RouteId": "sample string 1",
"Url": "sample string 2"
},
{
"RouteId": "sample string 1",
"Url": "sample string 2"
}
]
}
text/html
Sample:
{"StopId":1,"Street":"sample string 2","City":"sample string 3","SiteDirection":"sample string 4","Site":"sample string 5","Corner":"sample string 6","IsInService":true,"Latitude":8.0,"Longitude":9.0,"Routes":"sample string 10","AllowAlighting":true,"AllowBoarding":true,"PlaceId":"sample string 13","PlaceDescription":"sample string 14","StopServiceAlerts":{"Url":"sample string 1"},"Amenities":{"Url":"sample string 1"},"Predictions":{"Url":"sample string 1"},"Map":{"Url":"sample string 1"},"Schedules":[{"RouteId":"sample string 1","Url":"sample string 2"},{"RouteId":"sample string 1","Url":"sample string 2"}]}
application/xml, text/xml
Sample:
<StopProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models">
<AllowAlighting>true</AllowAlighting>
<AllowBoarding>true</AllowBoarding>
<Amenities>
<Url>sample string 1</Url>
</Amenities>
<City>sample string 3</City>
<Corner>sample string 6</Corner>
<IsInService>true</IsInService>
<Latitude>8</Latitude>
<Longitude>9</Longitude>
<Map>
<Url>sample string 1</Url>
</Map>
<PlaceDescription>sample string 14</PlaceDescription>
<PlaceId>sample string 13</PlaceId>
<Predictions>
<Url>sample string 1</Url>
</Predictions>
<Routes>sample string 10</Routes>
<Schedules>
<RouteUrl>
<Url>sample string 2</Url>
<RouteId>sample string 1</RouteId>
</RouteUrl>
<RouteUrl>
<Url>sample string 2</Url>
<RouteId>sample string 1</RouteId>
</RouteUrl>
</Schedules>
<Site>sample string 5</Site>
<SiteDirection>sample string 4</SiteDirection>
<StopId>1</StopId>
<StopServiceAlerts>
<Url>sample string 1</Url>
</StopServiceAlerts>
<Street>sample string 2</Street>
</StopProfile>
