Creating and reading calendar entries via API for many users

Creating and reading calendar entries via API for many users

by Angus Denton -
Number of replies: 0

Hi Moodle Jedi's

I am looking at a way of pushing calendar events to students however I may need to create entries at a user level as my institution produces personalised timetables for students.

Currently I can see that the web service allows the creation of calendar events for groups, courses and site wide, but is there a way I can push an event to an individual user via web service..

Webservice documentation shows for 

function: core_calendar_create_calendar_events
has an argument that is an array object called events that can have the following fields

name
description
format
courseid
groupid
...... etc

There is no userid available to be added to the events array....

Currently we are using Moodle 2.7 with a migration to 2.8 mid year (Moodlerooms) 

<gratitude>Lots of thanks well a truly in advance of your wondrous and collective wisdom</gratitude>

<afterthought>What does the sequence field do / represent given there is also a repeats field</afterthought>

Angus

Average of ratings: -