Zimbra REST API Reference:Import Appointments: Difference between revisions
(curl has a --user argument) |
No edit summary |
||
Line 15: | Line 15: | ||
{{Template:TabFooter}} | {{Template:TabFooter}} | ||
{{Article Infobox|{{devel}}|{{ZCS 7.0}}|{{ZCS 6.0}}|}}[[ZCS_6.0:Zimbra_REST_API_Reference|<< Back to Zimbra REST API Reference]] | {{Article Infobox|{{devel}}|{{ZCS 8.0}}|{{ZCS 7.0}}|{{ZCS 6.0}}|}}[[ZCS_6.0:Zimbra_REST_API_Reference|<< Back to Zimbra REST API Reference]] | ||
== REST API Method: Import Appointments == | == REST API Method: Import Appointments == |
Revision as of 23:24, 8 July 2013
Article Information |
---|
This article applies to the following ZCS versions. |
<< Back to Zimbra REST API Reference
REST API Method: Import Appointments
Import appointments.
URL
http://localhost:7070/home/john.doe/calendar?{params}
Go to Command Format
HTTP Method
POST
Formats
ics
(Go to Response Formats)
Requires Authentication
true
(Go to Authentication)
Parameters
fmt
. Required. The import format. Defaults toics
.
Usage Examples
The following examples show using the curl utility to post a file to the REST command. Be sure to replace {username} and {password} with the account username and password.
Import contacts from ICS format:
curl --user {username}:{password} --upload-file /tmp/myappointments.ics http://localhost:7070/home/john.doe/calendar?fmt=ics