Not logged in : Login

About: EntryPoint - calendar_comment_new     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:EntryPoint, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
described by
name
  • EntryPoint - calendar_comment_new
schema:contentType
  • text/xml
description
  • Comments can be put in threads, ie. a comment can have a parent comment. In that case it is considered a reply to the parent comment.

  • event_id

    The id of the event or task to comment on.

  • parent_id

    The optional id of the comment the new comment should reply to.

  • title

    The title of the comment.

  • text

    The text body of the comment.

  • name

    The name of the commenter.

  • email

    The email address of the commenter.

  • url

    An optional URL to identify the commenter.

An error code stating the success of the command execution as detailed in ODS Error Result Codes. If successful the error code matches the id of the newly created comment.

calendar.comment.delete

Example:
$ curl -i "http://ods-qa.openlinksw.com/ods/api/calendar.comment.new?event_id=1111&title=test&text=simple&name=Kate&email=kate@yahoo.com&url=http://openlinksw.com&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"

HTTP/1.1 200 OK
Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB
Connection: Keep-Alive
Date: Fri, 20 May 2011 07:03:15 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57

<result>
  <code>4</code>
  <message>Success</message>
</result>

  • Comments can be put in threads, ie. a comment can have a parent comment. In that case it is considered a reply to the parent comment.

  • event_id

    The id of the event or task to comment on.

  • parent_id

    The optional id of the comment the new comment should reply to.

  • title

    The title of the comment.

  • text

    The text body of the comment.

  • name

    The name of the commenter.

  • email

    The email address of the commenter.

  • url

    An optional URL to identify the commenter.

  • An error code stating the success of the command execution as detailed in ODS Error Result Codes. If successful the error code matches the id of the newly created comment.

    calendar.comment.delete

    Example:
     $ curl -i "http://ods-qa.openlinksw.com/ods/api/calendar.comment.new?event_id=1111&title=test&text=simple&name=Kate&email=kate@yahoo.com&url=http://openlinksw.com&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"
    
     HTTP/1.1 200 OK
     Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB
     Connection: Keep-Alive
     Date: Fri, 20 May 2011 07:03:15 GMT
     Accept-Ranges: bytes
     Content-Type: text/xml; charset="UTF-8"
     Content-Length: 57
    
     <result>
       <code>4</code>
       <message>Success</message>
     </result>
     

    schema:httpMethod
    • GET
    schema:shortDescription
    • Create a new comment on an event or task.

    isWebServiceOf
    url
    oplwebservices:endPointURL
    hasParameter
    is topic of
    is target of
    Faceted Search & Find service v1.17_git55 as of Mar 01 2021


    Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
    This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
    OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
    Data on this page belongs to its respective rights holders.
    Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software