Forums

Calendar Id

I'm trying to create an event, but I don't know what the calendar Id should be set to. 

Where can I retrieve a list of calendars that the user has access to?

Hi David


Thanks for the question.


It does appear that the Calendar ID details can only be retrieved from within Elvanto itself.


I'll pass this along to the developers to see what we can do to rectify this.  (This may not be possible until after we expand the API in the coming months)


Hope this helps,

Stewart

If I may make a recomendation, just add it to the output of /calendar/events/getAll

Hi David


Just to let you know, the developers will look at this over the next few days.


Stewart

Hi David.


Just to let you know, the developers have added calendar_id to the output of the calendar/events/getAll endpoint. 


 {
                "picture": "https://d5w68ic4qi8w5.cloudfront.net/img/calendar/default_event_pic.png", 
                "description": "", 
                "end_date": "2015-06-07 02:00:00", 
                "url": "http://yourchurch.elvanto.com/calendar_embed.php?service=89dd1081-eeca-11e4-bb6c-06ba798128be", 
                "interval": "", 
                "all_day": 0, 
                "start_date": "2015-06-07 00:30:00", 
                "color": "#0088ff", 
                "where": "Nashville Campus", 
                "id": "89dc0adc-eeca-11e4-bb6c-06ba798128be", 
 "name": "Sunday Service"
            }, 
 {
                "picture": "https://d5w68ic4qi8w5.cloudfront.net/img/calendar/default_event_pic.png", 
                "description": "<p>This is an event description.</p>", 
                "end_date": "2015-06-08 04:00:00", 
                "url": "http://yourchurch.elvanto.com.com/event/8a9fdb12-b73a-11e4-a825-06ba798128be_15|5", 
                "interval": "15|5", 
                "all_day": 0, 
                "start_date": "2015-06-08 02:15:00", 
                "color": "#00ab00", 
                "calendar_id": "8a0acd2a-b596-11e4-a825-06ba798128be", 
                "where": "21 Main St Large Town", 
                "id": "8a9fdb12-b73a-11e4-a825-06ba798128be", 
 "name": "Prayer Meeting"
            }, 

 

Events with no calendar_id attribute are services. 


Hope this helps,

Stewart

Thanks!

If I wish to add events to services, do I just specify the calendar_id as "services"? (this is how the getAll functions)

Hi David


Sorry for the late reply. Long weekend and all.


You can not create a service with the API at this time. This is an Endpoint we will be looking into creating in the future though.



Login or Signup to post a comment