Zimbra REST API Reference:Import Message: Difference between revisions
m (Gayle moved page ZCS 6.0:Zimbra REST API Reference:Import Message to Zimbra REST API Reference:Import Message) |
Malte Stretz (talk | contribs) (Remove old ZCS_6.0 prefixes) |
||
Line 1: | Line 1: | ||
{{Template:TabHeader}} | {{Template:TabHeader}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference|Introduction]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Folder|Method: Get Folder]]}} | ||
{{Template:Tab1|[[ | {{Template:Tab1|[[Zimbra_REST_API_Reference:Import_Message|Method: Import Message]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Contacts|Method: Get Contacts]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Import_Contacts|Method: Import Contacts]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Calendar|Method: Get Calendar]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_FreeBusy|Method: Get FreeBusy]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Import_Appointments|Method: Import Appointments]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Tasks|Method: Get Tasks]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Item|Method: Get Item]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Briefcase|Method: Get Briefcase]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Get_Briefcase_Item|Method: Get Briefcase Item]]}} | ||
{{Template:Tab2|[[ | {{Template:Tab2|[[Zimbra_REST_API_Reference:Export_Mailbox|Method: Export Mailbox]]}} | ||
{{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]] | {{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]] |
Revision as of 17:20, 5 August 2014
Introduction |
|
Method: Get Folder |
|
Method: Import Message |
|
Method: Get Contacts |
|
Method: Import Contacts |
|
Method: Get Calendar |
|
Method: Get FreeBusy |
|
Method: Import Appointments |
|
Method: Get Tasks |
|
Method: Get Item |
|
Method: Get Briefcase |
|
Method: Get Briefcase Item |
|
Method: Export Mailbox |
<< Back to Zimbra REST API Reference REST API Method: Import MessageImports a message to a mail folder in MIME RFC822 format. Default (inbox/sent/trash/junk) and user-defined folders are supported. URLhttp://localhost:7070/home/john.doe/{folder-name} Go to Command Format HTTP Method
Formats
Requires Authentication
ParametersFolder Name
Usage ExamplesThe 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 the message into the "inbox" folder: curl -u {username}:{password} --upload-file /tmp/mymessage.msg http://localhost:7070/home/john.doe/inbox Import the message into the user-defined "mymessages" folder: curl -u {username}:{password} --upload-file /tmp/mymessage.msg http://localhost:7070/home/john.doe/mymessages
|