ODS.VirtuosoOdsControllersCalendar

  • Topic
  • Discussion
  • ODS.VirtuosoOdsControllersCalendar(Last) -- DAVWikiAdmin? , 2017-06-13 06:08:26 Edit WebDAV System Administrator 2017-06-13 02:08:26

    Calendar Controllers

    Controller Demo Links Description

    calendar.get (
      event_id integer )
      *  cURL Example Get event/task details

    calendar.event.new (
      inst_id integer,
      uid varchar := null,
      subject varchar,
      description varchar := null,
      location varchar := null,
      attendees varchar := null,
      privacy integer := 1,
      tags varchar := '',
      event integer := 0,
      eventStart datetime,
      eventEnd datetime,
      eRepeat varchar := '',
      eRepeatParam1 integer := null,
      eRepeatParam2 integer := null,
      eRepeatParam3 integer := null,
      eRepeatUntil datetime := null,
      eReminder integer := 0,
      notes varchar := '' )
      *  cURL Example Add new event.
    Privacy can be: -- 0 - private; 1 - public
    Event can be: -- 0 - intervall event; 1 = all day even
    Format mask for the dates is: yyyy.mm.dd

    calendar.event.edit (
      event_id integer,
      uid varchar := null,
      subject varchar,
      description varchar := null,
      location varchar := null,
      attendees varchar := null,
      privacy integer := 1,
      tags varchar := '',
      event integer := 0,
      eventStart datetime,
      eventEnd datetime,
      eRepeat varchar := '',
      eRepeatParam1 integer := null,
      eRepeatParam2 integer := null,
      eRepeatParam3 integer := null,
      eRepeatUntil datetime := null,
      eReminder integer := 0,
      notes varchar := '' )
      *  cURL Example Edit Event details.
    Privacy can be: -- 0 - private; 1 - public.
    Event can be: -- 0 - intervall event; 1 = all day event

    calendar.task.new (
      inst_id integer,
      uid varchar := null,
      subject varchar,
      description varchar := null,
      attendees varchar := null,
      privacy integer := 1,
      tags varchar := '',
      eventStart datetime,
      eventEnd datetime,
      priority integer := 3,
      status varchar := 'Not Started',
      complete integer := 0,
      completed datetime := null,
      notes varchar := null )
      *  cURL Example Add new task.
    Privacy can be: -- 0 - private; 1 - public
    Format mask for the dates is: yyyy.mm.dd

    calendar.task.edit (
      event_id integer,
      uid varchar := null,
      subject varchar,
      description varchar := null,
      attendees varchar := null,
      privacy integer := 1,
      tags varchar := '',
      eventStart datetime,
      eventEnd datetime,
      priority integer := 3,
      status varchar := 'Not Started',
      complete integer := 0,
      completed datetime := null,
      notes varchar := null )
      *  cURL Example Edit task details.
    Privacy can be: -- 0 - private; 1 - public

    calendar.delete (
      event_id integer )
      *  cURL Example Delete task/event

    calendar.import (
      inst_id integer,
      source varchar,
      sourceType varchar := 'url',
      userName varchar := null,
      userPassword varchar := null,
      events integer := 1,
      tasks integer := 1,
      tags varchar := '' )
      *  cURL Example Import task/events
    When events param is 1: - include events
    When tasks param is 1: - include tasks
    sourceType can be url or WebDAV?.

    calendar.export (
      inst_id integer,
      events integer := 1,
      tasks integer := 1,
      periodFrom date := null,
      periodTo date := null,
      tagsInclude varchar := null,
      tagsExclude varchar := null )
      *  cURL Example Export task/events
    When events param is 1: - include events
    When tasks param is 1: - include tasks

    calendar.annotation.get (
      annotation_id integer )
      *  cURL Example Get annotation details

    calendar.annotation.new (
      event_id integer,
      author varchar,
      body varchar )
      *  cURL Example Create annotation

    calendar.annotation.claim (
      annotation_id integer,
      claimIri varchar,
      claimRelation varchar,
      claimValue varchar )
      *  cURL Example Create annotation claim

    calendar.annotation.delete (
      annotation_id integer )
      *  cURL Example Delete annotation

    calendar.comment.get (
      comment_id integer )
      *  cURL Example Get comment

    calendar.comment.new (
      event_id integer,
      parent_id integer := null,
      title varchar,
      text varchar,
      name varchar,
      email varchar,
      url varchar )
      *  cURL Example Create comment

    calendar.comment.delete (
      comment_id integer )
      *  cURL Example Delete comment

    calendar.publication.new (
      inst_id integer,
      name varchar,
      updateType varchar := 1,
      updatePeriod varchar := 'hourly',
      updateFreq integr := 1,
      destinationType varchar := null,
      destination varchar,
      userName varchar := null,
      userPassword varchar := null,
      events integer := 1,
      tasks integer := 1)
      *  cURL Example Create new publication
    When events param is 1: - include events
    When tasks param is 1: - include tasks

    calendar.publication.get (
      publication_id integer )
      *  cURL Example Get Publication details

    calendar.publication.edit (
      publication_id integer,
      name varchar,
      updateType varchar := 1,
      updatePeriod varchar := 'hourly',
      updateFreq integr := 1,
      destinationType varchar := null,
      destination varchar,
      userName varchar := null,
      userPassword varchar := null,
      events integer := 1,
      tasks integer := 1 )
      *  cURL Example Edit publication
    When events param is 1: - include events
    When tasks param is 1: - include tasks

    calendar.publication.sync (
      publication_id integer )
      *  cURL Example Synchronize publication

    calendar.publication.delete (
      publication_id integer )
      *  cURL Example Delete publication

    calendar.subscription.new (
      inst_id integer,
      name varchar,
      updateType varchar := 1,
      updatePeriod varchar := 'hourly',
      updateFreq integr := 1,
      sourceType varchar := null,
      source varchar,
      userName varchar := null,
      userPassword varchar := null,
      events integer := 1,
      tasks integer := 1 )
      *  cURL Example Create new subscription
    When events param is 1: - include events
    When tasks param is 1: - include tasks

    calendar.subscription.get (
      subscription_id integer )
      *  cURL Example Get subscription details

    calendar.subscription.edit (
      subscription_id integer,
      name varchar,
      updateType varchar := 1,
      updatePeriod varchar := 'hourly',
      updateFreq integr := 1,
      sourceType varchar := null,
      source varchar,
      userName varchar := null,
      userPassword varchar := null,
      events integer := 1,
      tasks integer := 1 )
      *  cURL Example Edit subscription
    When events param is 1: - include events
    When tasks param is 1: - include tasks

    calendar.subscription.sync (
      subscription_id integer )
      *  cURL Example Synchronize subscription

    calendar.subscription.delete (
      subscription_id integer )
      *  cURL Example Delete subscription

    calendar.upstream.new (
      in inst_id integer,
      in name varchar,
      in source varchar,
      in userName varchar,
      in userPassword varchar,
      in tagsInclude varchar := null,
      in tagsExclude varchar := null )
      *  cURL Example Create upstream

    calendar.upstream.edit (
      in upstream_id integer,
      in name varchar,
      in source varchar,
      in userName varchar,
      in userPassword varchar,
      in tagsInclude varchar := null,
      in tagsExclude varchar := null )
      *  cURL Example Edit upstream details

    calendar.upstream.delete (
      in upstream_id integer )
      *  cURL Example Delete upstream

    calendar.options.set (
      inst_id integer,
      options any
      )
      *  cURL Example Set Calendar instance options
    Options value should be:
      -- URL encoded pairs 'name'='value' separated by comma.
      -- Example: - chars%3D70%2Crows%3D20 decodes to chars=70,rows=20

    calendar.options.get (
      inst_id integer)
      *  cURL Example Get Calendar instance options

    Examples

    References