Not logged in : Login |
ODS Calendar can import an complete iCal file into a Calendar app instance. This iCal file can be located in the WebDAV tree or at any public URL.
inst_id
The id of the Calendar app instance. See ODS App Instance Ids for details.
source
The source URL or path depending on the sourceType.
sourceType
Can be one of "url" or "webdav".
userName
Optional user name required to access the source. Defaults to the calling user credentials.
userPassword
Optional password required to access the source. Defaults to the calling user credentials.
events
If 1 events will be imported.
tasks
If 1 tasks will be imported.
tags
An optional comma-separated list of tags to assign to the imported events and tasks.
An error code stating the success of the command execution as detailed in ODS Error Result Codes.
Example:
$ curl -i "http://kingsley.idehen.net/ods/api/calendar.import?inst_id=11&source=http://mysportscal.com/Files_iCal_CSV/iCal_NFL_2010-2011/NFL_2010_complete_season.ics&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 06:29:00 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57
1
Attributes | Values |
---|---|
type | |
Description |
An error code stating the success of the command execution as detailed in ODS Error Result Codes. $ curl -i "http://kingsley.idehen.net/ods/api/calendar.import?inst_id=11&source=http://mysportscal.com/Files_iCal_CSV/iCal_NFL_2010-2011/NFL_2010_complete_season.ics&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 06:29:00 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 <result> <code>1</code> <message>Success</message> </result> |
name |
|
url | |
contentType |
|
httpMethod |
|
isWebServiceOf | |
oplwebservices:endPointURL | |
hasParameter | |
schema:shortDescription |
|
is target of |