Holiday notes REST API
https://timesaver.ch/app/rest/mandators/<mandator id>/holidayNotes[/holiday note id]
This will return all of the holiday notes of the mandator with id 59
GET https://timesaver.ch/app/rest/mandators/59/holidayNotes Authorization: Basic aW5mb0B0aW1lc2F2ZXIuY2g6czNjcjN0 Accept: application/json
ETag: MTUyNjQ2ODI3MDk4MToy Cache-Control: private, max-age=120 Content-Type: application/json;charset=UTF-8
[ { "class": "timecloud.HolidayNote", "id": 221, "description": "Waldfest 2017", "endDate": "2017-08-30T22:00:00Z", "erfDate": "2017-02-16T16:56:30Z", "erfUser": 4, "mandator": { "class": "timecloud.Mandator", "id": 59 }, "mutDate": "2017-02-16T16:56:30Z", "mutUser": 4, "startDate": "2017-08-30T22:00:00Z" }, { "class": "timecloud.HolidayNote", "id": 499, "description": "Waldfest 2018", "endDate": "2018-09-01T22:00:00Z", "erfDate": "2018-05-16T10:57:50Z", "erfUser": 4, "mandator": { "class": "timecloud.Mandator", "id": 59 }, "mutDate": "2018-05-16T10:57:50Z", "mutUser": 4, "startDate": "2018-08-26T22:00:00Z" } ]
This will return all holiday notes that have a start date greater or equals than the first of january 2018, GMT+2
GET https://timesaver.ch/app/rest/mandators/59/holidayNotes?filter.startDate.begin=2018-01-01 Authorization: Basic aW5mb0B0aW1lc2F2ZXIuY2g6czNjcjN0 Accept: application/json
ETag: MTUyNjQ2ODI3MDk4MTox Cache-Control: private, max-age=120 Content-Type: application/json;charset=UTF-8
[ { "class": "timecloud.HolidayNote", "id": 499, "description": "Waldfest 2018", "endDate": "2018-09-01T22:00:00Z", "erfDate": "2018-05-16T10:57:50Z", "erfUser": 4, "mandator": { "class": "timecloud.Mandator", "id": 59 }, "mutDate": "2018-05-16T10:57:50Z", "mutUser": 4, "startDate": "2018-08-26T22:00:00Z" } ]
GET https://timesaver.ch/app/rest/mandators/59/holidayNotes/499 Authorization: Basic aW5mb0B0aW1lc2F2ZXIuY2g6czNjcjN0 Accept: application/json
ETag: 0 Cache-Control: private, max-age=120 Content-Type: application/json;charset=UTF-8
{ "class": "timecloud.HolidayNote", "id": 499, "description": "Waldfest 2018", "endDate": "2018-09-01T22:00:00Z", "erfDate": "2018-05-16T10:57:50Z", "erfUser": 4, "mandator": { "class": "timecloud.Mandator", "id": 59 }, "mutDate": "2018-05-16T10:57:50Z", "mutUser": 4, "startDate": "2018-08-26T22:00:00Z" }