Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 02-25-2007, 05:17 PM
Special Member
 
Posts: 151
Default

I'm trying to post a calendar entry into the Zimbra server. REST appears to only be for retrieval.

So I'm currently attempting to create a SOAP request using CreateAppointmentRequest

Again though I dont see any examples of a simple calendar item:

date
time
duration
subject
description
user

No recurrance or anything fancy, but I am having to decipher a long long soap-calendar and soap files cross referencing, etc etc.

Any ideas where to get some concise simple examples? When I have one finished, I will post it here.

Cheers.
Reply With Quote
  #12 (permalink)  
Old 02-25-2007, 05:25 PM
Zimbra Employee
 
Posts: 1,434
Default REST POST is the way to go.

Quote:
Originally Posted by phingers View Post
I'm trying to post a calendar entry into the Zimbra server. REST appears to only be for retrieval.
No, you can definitely use REST POST to add items to a mailbox. This section of the Migration wiki has details.

One note from that page: You may need to try to POST to
Code:
https://mail.server.com:<adminport>/zimbraAdmin/service/home/<username>/calendar?fmt=ics
due to server-side POST redirect issues.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #13 (permalink)  
Old 02-25-2007, 05:32 PM
Special Member
 
Posts: 151
Default

I'll give those a try, but none of those examples are posting to the admin interface port.

Using an admin user, I am trying to post to a different users calendar.

Just thought I'd give you a quick reply while I try those things to help clarify. Thanks.
Reply With Quote
  #14 (permalink)  
Old 02-26-2007, 05:11 AM
Special Member
 
Posts: 151
Default

Finally got it to work importing ICS files, the correct URL is

http://server.com/service/home/usern...lendar?fmt=ics

With the admin user authenticated via curl.

I'm going to try it now with the domain admin user, and see if that would work also.
Reply With Quote
  #15 (permalink)  
Old 02-26-2007, 09:24 AM
Zimbra Employee
 
Posts: 1,434
Default 4.0 or 4.5?

Did that work on 4.5? Or are you running 4.0?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #16 (permalink)  
Old 02-26-2007, 10:49 AM
Special Member
 
Posts: 151
Default

I'm running 4.5, havent tried the domain admin user yet, I'm still working through some time zone issues.

Thanks.
Reply With Quote
  #17 (permalink)  
Old 03-04-2007, 07:45 PM
Special Member
 
Posts: 151
Default

okay, so that does not work. The only reason it was working in test mode was because the two users had shared calendars.

So what is the correct URL for an ADMIN or DOMAIN ADMIN to post a calendar entry via REST to a specific users calendar?
Reply With Quote
  #18 (permalink)  
Old 03-06-2007, 10:45 PM
Zimbra Employee
 
Posts: 1,434
Default

Quote:
Originally Posted by phingers View Post
okay, so that does not work. The only reason it was working in test mode was because the two users had shared calendars.

So what is the correct URL for an ADMIN or DOMAIN ADMIN to post a calendar entry via REST to a specific users calendar?
Should be the same URL except using https and the admin port.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.