Get a list of all Calendars that events can be assigned to.
POSThttps://api.elvanto.com/v1/calendar/getAll.{json|xml|php}
{
"status": "ok",
"generated_in": "0.018",
"calendars": {
"on_this_page": 2,
"per_page": 2,
"total": 2,
"page": 1,
"calendar": [
{
"id": "4bafffc6-8040-4d96-aeff-28699ff6d687",
"name": "Member Area Calendar",
"color": "",
"members": "true",
"published": "true"
},
{
"id": "9829556c-b916-4f1c-9c39-576698948f99",
"name": "Staff Only Calendar",
"color": "#dc7405",
"members": "false",
"published": "true"
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?> <rsp status="ok" generated_in="0.018"> <calendars on_this_page="2" per_page="2" total="2" page="1"> <calendar id="4bafffc6-8040-4d96-aeff-28699ff6d687"> <name>Member Area Calendar</name> <color></color> <members>true</members> <published>true</published> </calendar> <calendar id="9829556c-b916-4f1c-9c39-576698948f99"> <name>Staff Only Calendar</name> <color>#dc7405</color> <members>false</members> <published>true</published> </calendar> </calendars> </rsp>
stdClass Object
(
[status] => ok
[generated_in] => 0.018
[calendars] => stdClass Object
(
[on_this_page] => 2
[per_page] => 2
[total] => 2
[page] => 1
[calendar] => stdClass Object
(
[0] => stdClass Object
(
[id] => 4bafffc6-8040-4d96-aeff-28699ff6d687
[name] => Member Area Calendar
[color] =>
[members] => true
[published] => true
)
[1] => stdClass Object
(
[id] => 9829556c-b916-4f1c-9c39-576698948f99
[name] => Staff Only Calendar
[color] => #dc7405
[members] => false
[published] => true
)
)
)
)
Please see our response status codes documentation for details of potential error responses for any API request.