GET /service/facilities/shuttle_bus_arrival_time/all
Return shuttle bus arrival time, vehicle plate number and the name of the station.
Resource URL
https://api.data.um.edu.mo/service/facilities/shuttle_bus_arrival_time/v1.0.0/all
Resource Information
Response format | JSON |
Requires authorization? | Yes |
Rate limited? | Yes |
Parameters
Parameter | Related Field | Required | Description | Type | Filter Type | Example |
---|---|---|---|---|---|---|
date_from | datetime | optional | Datetime, in UTC+08:00 (inclusive) | query | range | 2018-10-14T10:00:00 |
date_to | datetime | optional | Datetime, in UTC+08:00 (inclusive) | query | range | 2018-10-14T11:00:00 |
vehicle_plate_no | vehiclePlateNumber | optional | Vehicle plate number | query | simple | MU-78-53 |
station | station | optional | The name of the station | query | simple | 行政樓 |
Example Request
https://api.data.um.edu.mo/service/facilities/shuttle_bus_arrival_time/v1.0.0/all?date_from=2018-10-14T10:00:00&date_to=2018-10-14T11:00:00&format&station=行政樓
(Example to shuttle bus arrival time records of from 2018/10/14 10:00:00 to 2018/10/14 11:00:00 at the station 行政樓)
Example Response
{ "_embedded": [ { "_id": "5bc2aefa6f517c2d5fd4f5f0", "datetime": "2018-10-14T10:48:02+08:00", "vehiclePlateNumber": "MK-40-61", "station": "行政樓" },{ "_id": "5bc2ab74daa27822748b90ae", "datetime": "2018-10-14T10:33:41+08:00", "vehiclePlateNumber": "MK-40-61", "station": "行政樓" },{ "_id": "5bc2a7f9daa2781838c4b27b", "datetime": "2018-10-14T10:18:14+08:00", "vehiclePlateNumber": "MK-40-61", "station": "行政樓" },{ "_id": "5bc2a4766f517c06901b361b", "datetime": "2018-10-14T10:03:22+08:00", "vehiclePlateNumber": "MK-40-61", "station": "行政樓" }] , "_returned": 4 }