get-shuttle-bus-arrival-time-all 2018-10-14T16:54:02+08:00

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 formatJSON
Requires authorization?Yes
Rate limited?Yes

Parameters

ParameterRelated FieldRequiredDescriptionTypeFilter TypeExample
date_fromdatetimeoptionalDatetime, in UTC+08:00 (inclusive)queryrange2018-10-14T10:00:00
date_todatetimeoptionalDatetime, in UTC+08:00 (inclusive)queryrange2018-10-14T11:00:00
vehicle_plate_novehiclePlateNumberoptionalVehicle plate numberquerysimpleMU-78-53
stationstationoptionalThe name of the stationquerysimple行政樓

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
}