get-public-holidays-all 2019-07-29T12:34:33+08:00

GET /service/aboutum/publicholidays/all

Return all public holidays of University of Macau.

Resource URL

https://api.data.um.edu.mo/service/aboutum/public_holidays/v1.0.0/all

Resource Information

Response formatsJSON
Requires authorization?Yes
Rate limited?Yes

Parameters

ParameterRelated FieldRequiredDescriptionTypeFilter TypeExample
date_fromdateNoDate, in UTC+08:00 (inclusive)queryrange2018-03-01
date_todateNoDate, in UTC+08:00 (inclusive)queryrange2018-03-31

Example Request

Example to retrieve public holidays of University of Macau for March 2018:

https://api.data.um.edu.mo/service/aboutum/public_holidays/v1.0.0/all?format&date_from=2018-03-01&date_to=2018-03-31

Example Response

{ 
"_embedded": [
{
 "_id": "5ab2e42f6f517c0a49aa38ff",
 "date": "2018-03-31T00:00:00+08:00",
 "holiday": "W"
},{
 "_id": "5ab2e42f6f517c0a49aa38fe",
 "date": "2018-03-30T00:00:00+08:00",
 "holiday": "W"
}]
, "_returned": 2
}