GET api/Fastroutes/GetFastroutes?route={route}&day={day}&hour={hour}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| route | integer |
Required |
|
| day | integer |
Required |
|
| hour | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Fastroutes| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| routeName | string |
None. |
|
| destination | string |
None. |
|
| visible | boolean |
None. |
|
| sunday | boolean |
None. |
|
| monday | boolean |
None. |
|
| tuesday | boolean |
None. |
|
| wednesday | boolean |
None. |
|
| thursday | boolean |
None. |
|
| friday | boolean |
None. |
|
| saturday | boolean |
None. |
|
| FastBusStops | Collection of FastBusStops |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"routeName": "sample string 2",
"destination": "sample string 3",
"visible": true,
"sunday": true,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"FastBusStops": [
{
"stopName": "sample string 1",
"stopTime": "00:00:00.1234567",
"stopTimeStr": "sample string 3",
"hrord": 4,
"direction": 5,
"sunday": true,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"id": 13,
"routeId": 14
},
{
"stopName": "sample string 1",
"stopTime": "00:00:00.1234567",
"stopTimeStr": "sample string 3",
"hrord": 4,
"direction": 5,
"sunday": true,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"id": 13,
"routeId": 14
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"id":1,"routeName":"sample string 2","destination":"sample string 3","visible":true,"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"FastBusStops":[{"stopName":"sample string 1","stopTime":"00:00:00.1234567","stopTimeStr":"sample string 3","hrord":4,"direction":5,"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"id":13,"routeId":14},{"stopName":"sample string 1","stopTime":"00:00:00.1234567","stopTimeStr":"sample string 3","hrord":4,"direction":5,"sunday":true,"monday":true,"tuesday":true,"wednesday":true,"thursday":true,"friday":true,"saturday":true,"id":13,"routeId":14}]});