Accessing (export) calendar via web-sevices

Accessing (export) calendar via web-sevices

by Oliver Obermayr -
Number of replies: 0

I'm wondering about exporting of moodle Calendar via web services or by calling some link. For the experiment I've tried to call the calendar via link provided by moodle (Get calendar URL) and it gived me the following link:

Calendar URL: http://localhost/moodle/calendar/export_execute.php?userid=2&authtoken=b1b4b7995fff29739050ad97abd14485b1284e03&preset_what=courses&preset_time=monthnow

this link is workable until userid=2 and authtoken=b1b4b7995fff29739050ad97abd14485b1284e03

Question: Is there some way to use web-services user token to export the calendar instead of authtoken by calling this link?

If someone have other approach, he/she could share here smile

Average of ratings: -