Description
Each resource is a calendar. A calendar is defined on a structure.
URI | <url_de_base>/api/feed/calendriers |
---|---|
Category | http://schemas.holydis.com/tsq/2010#calendrier |
Available for writing |
No |
Elements
Element | Description |
---|---|
title | Label. |
origine | Origin: the structure on which the calendar was created. |
code | Calendar code. |
debutValidite | First year of validity of the calendar. |
heureChJour | Day change time. |
timeZoneId | The time zone identifier. Example: Europe/Paris. To read the data according to the Europe/Lisbon time zone, add the User-TimeZoneId parameter to the request header with the value of the identifier of the Lisbon time zone, in this case Europe/Lisbonne. If the header parameter is missing, the data is returned raw (in the resource's time zone). |
Examples of requests
Reading
Read all calendars
GET /[URI_de_base]/api/feed/calendriers
Read the calendar whose database identifier is 26000
GET /[URI_de_base]/api/feed/calendriers/26000
Example of XML request results
Example of JSON request results
Comments
0 comments
Please sign in to leave a comment.