content
| - ---++Calendar Controllers
|*Controller*|*Demo Links*|*Description*|
|<verbatim><br/>calendar.get (<br/> event_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx2][cURL Example]]| Get event/task details|
|<verbatim><br/>calendar.event.new (<br/> inst_id integer,<br/> uid varchar := null,<br/> subject varchar,<br/> description varchar := null,<br/> location varchar := null,<br/> attendees varchar := null,<br/> privacy integer := 1,<br/> tags varchar := '',<br/> event integer := 0,<br/> eventStart datetime,<br/> eventEnd datetime,<br/> eRepeat varchar := '',<br/> eRepeatParam1 integer := null,<br/> eRepeatParam2 integer := null,<br/> eRepeatParam3 integer := null,<br/> eRepeatUntil datetime := null,<br/> eReminder integer := 0,<br/> notes varchar := '' ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx1][cURL Example]]| Add new event. <br/> Privacy can be: -- 0 - private; 1 - public<br/>Event can be: -- 0 - intervall event; 1 = all day even<br/>Format mask for the dates is: yyyy.mm.dd|
|<verbatim><br/>calendar.event.edit (<br/> event_id integer,<br/> uid varchar := null,<br/> subject varchar,<br/> description varchar := null,<br/> location varchar := null,<br/> attendees varchar := null,<br/> privacy integer := 1,<br/> tags varchar := '',<br/> event integer := 0,<br/> eventStart datetime,<br/> eventEnd datetime,<br/> eRepeat varchar := '',<br/> eRepeatParam1 integer := null,<br/> eRepeatParam2 integer := null,<br/> eRepeatParam3 integer := null,<br/> eRepeatUntil datetime := null,<br/> eReminder integer := 0,<br/> notes varchar := '' ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx3][cURL Example]]| Edit Event details. <br/>Privacy can be: -- 0 - private; 1 - public. <br/>Event can be: -- 0 - intervall event; 1 = all day event|
|<verbatim><br/>calendar.task.new (<br/> inst_id integer,<br/> uid varchar := null,<br/> subject varchar,<br/> description varchar := null,<br/> attendees varchar := null,<br/> privacy integer := 1,<br/> tags varchar := '',<br/> eventStart datetime,<br/> eventEnd datetime,<br/> priority integer := 3,<br/> status varchar := 'Not Started',<br/> complete integer := 0,<br/> completed datetime := null,<br/> notes varchar := null ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx4][cURL Example]]|Add new task. <br/>Privacy can be: -- 0 - private; 1 - public<br/>Format mask for the dates is: yyyy.mm.dd|
|<verbatim><br/>calendar.task.edit (<br/> event_id integer,<br/> uid varchar := null,<br/> subject varchar,<br/> description varchar := null,<br/> attendees varchar := null,<br/> privacy integer := 1,<br/> tags varchar := '',<br/> eventStart datetime,<br/> eventEnd datetime,<br/> priority integer := 3,<br/> status varchar := 'Not Started',<br/> complete integer := 0,<br/> completed datetime := null,<br/> notes varchar := null ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx5][cURL Example]]| Edit task details. <br/>Privacy can be: -- 0 - private; 1 - public|
|<verbatim><br/>calendar.delete (<br/> event_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx6][cURL Example]]| Delete task/event|
|<verbatim><br/>calendar.import (<br/> inst_id integer,<br/> source varchar,<br/> sourceType varchar := 'url', <br/> userName varchar := null,<br/> userPassword varchar := null,<br/> events integer := 1,<br/> tasks integer := 1,<br/> tags varchar := '' ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx7][cURL Example]]| Import task/events<br/>When events param is 1: - include events<br/>When tasks param is 1: - include tasks<br/>sourceType can be url or WebDAV.|
|<verbatim><br/>calendar.export (<br/> inst_id integer,<br/> events integer := 1,<br/> tasks integer := 1,<br/> periodFrom date := null,<br/> periodTo date := null,<br/> tagsInclude varchar := null,<br/> tagsExclude varchar := null ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx8][cURL Example]]| Export task/events <br/>When events param is 1: - include events<br/>When tasks param is 1: - include tasks|
|<verbatim><br/>calendar.annotation.get (<br/> annotation_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx9][cURL Example]]| Get annotation details|
|<verbatim><br/>calendar.annotation.new (<br/> event_id integer,<br/> author varchar,<br/> body varchar ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx10][cURL Example]]| Create annotation|
|<verbatim><br/>calendar.annotation.claim (<br/> annotation_id integer,<br/> claimIri varchar,<br/> claimRelation varchar,<br/> claimValue varchar ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx11][cURL Example]]| Create annotation claim|
|<verbatim><br/>calendar.annotation.delete (<br/> annotation_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx12][cURL Example]]| Delete annotation|
|<verbatim><br/>calendar.comment.get (<br/> comment_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx13][cURL Example]]| Get comment|
|<verbatim><br/>calendar.comment.new (<br/> event_id integer,<br/> parent_id integer := null,<br/> title varchar,<br/> text varchar,<br/> name varchar,<br/> email varchar,<br/> url varchar ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx14][cURL Example]]| Create comment|
|<verbatim><br/>calendar.comment.delete (<br/> comment_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx15][cURL Example]]| Delete comment|
|<verbatim><br/>calendar.publication.new (<br/> inst_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> destinationType varchar := null,<br/> destination varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> events integer := 1,<br/> tasks integer := 1)</verbatim>| * [[VirtuosoOdsControllersCalendarEx16][cURL Example]]| Create new publication<br/>When events param is 1: - include events<br/>When tasks param is 1: - include tasks|
|<verbatim><br/>calendar.publication.get (<br/> publication_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx17][cURL Example]]| Get Publication details|
|<verbatim><br/>calendar.publication.edit (<br/> publication_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> destinationType varchar := null,<br/> destination varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> events integer := 1,<br/> tasks integer := 1 )</verbatim>| * [[VirtuosoOdsControllersCalendarEx18][cURL Example]]| Edit publication<br/>When events param is 1: - include events<br/>When tasks param is 1: - include tasks|
|<verbatim><br/>calendar.publication.sync (<br/> publication_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx19][cURL Example]]| Synchronize publication|
|<verbatim><br/>calendar.publication.delete (<br/> publication_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx20][cURL Example]]| Delete publication|
|<verbatim><br/>calendar.subscription.new (<br/> inst_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> sourceType varchar := null,<br/> source varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> events integer := 1,<br/> tasks integer := 1 ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx21][cURL Example]]| Create new subscription <br/>When events param is 1: - include events<br/>When tasks param is 1: - include tasks|
|<verbatim><br/>calendar.subscription.get (<br/> subscription_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx22][cURL Example]]| Get subscription details|
|<verbatim><br/>calendar.subscription.edit (<br/> subscription_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> sourceType varchar := null,<br/> source varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> events integer := 1, <br/> tasks integer := 1 ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx24][cURL Example]]| Edit subscription<br/>When events param is 1: - include events<br/>When tasks param is 1: - include tasks|
|<verbatim><br/>calendar.subscription.sync (<br/> subscription_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx25][cURL Example]]| Synchronize subscription|
|<verbatim><br/>calendar.subscription.delete (<br/> subscription_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx26][cURL Example]]| Delete subscription|
|<verbatim><br/>calendar.upstream.new (<br/> in inst_id integer,<br/> in name varchar,<br/> in source varchar,<br/> in userName varchar,<br/> in userPassword varchar,<br/> in tagsInclude varchar := null,<br/> in tagsExclude varchar := null ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx27][cURL Example]]| Create upstream|
|<verbatim><br/>calendar.upstream.edit (<br/> in upstream_id integer,<br/> in name varchar,<br/> in source varchar,<br/> in userName varchar,<br/> in userPassword varchar,<br/> in tagsInclude varchar := null,<br/> in tagsExclude varchar := null ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx28][cURL Example]]| Edit upstream details|
|<verbatim><br/>calendar.upstream.delete (<br/> in upstream_id integer ) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx29][cURL Example]]| Delete upstream|
|<verbatim><br/>calendar.options.set (<br/> inst_id integer,<br/> options any <br/> )</verbatim>| * [[VirtuosoOdsControllersCalendarEx30][cURL Example]]| Set Calendar instance options <br/>Options value should be:<br/> -- URL encoded pairs 'name'='value' separated by comma.<br/> -- Example: - chars%3D70%2Crows%3D20 decodes to chars=70,rows=20 |
|<verbatim><br/>calendar.options.get (<br/> inst_id integer) <br/></verbatim>| * [[VirtuosoOdsControllersCalendarEx31][cURL Example]]| Get Calendar instance options|
---+++Examples
* [[VirtOAuthTestToolExampleCalendar][ODS Calendar OAuth REST API Example performed with the Virtuoso OAuth Testing Tool]]
---+++References
* [[VirtuosoOdsControllers][ODS Controllers]]
|