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
  #1 (permalink)  
Old 11-24-2006, 01:45 AM
Junior Member
 
Posts: 6
Default GetApptSummariesRequest

I am currently trying to get a list of appointments from the calendar for syndication outside zimbra.
Something like:
1) Show today's events
2) Show this week's events

My request looks something like:
Code:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:zimbraMail" xmlns:ns2="urn:zimbra">
<SOAP-ENV:Header>
<ns2:context>
<nonotify/>
<noqualify/>
<sessionId>
409</sessionId>
<authToken>
0_bb310747e3b32753a21f52f82b9adf6c8f11a00b_69643d33363a34346361313233662d343133332d346333642d623261382d3832326239313063666434333b6578703d31333a313136343533333933333333313b</authToken>
</ns2:context>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:GetApptSummariesRequest s="1" e="1164383999" />
</SOAP-ENV:Body>
</SOAP-ENV:Envelope
And no matter what I change the "s" and "e" values to I cannot find any of my appointments. The response is always something similar to:
Code:
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<context xmlns="urn:zimbra">
<sessionId id="409">
409</sessionId>
<change token="112"/>
</context>
</soap:Header>
<soap:Body>
<GetApptSummariesResponse xmlns="urn:zimbraMail"/>
</soap:Body>
</soap:Envelope>
Am I missing something obvious?
Thanks.
Reply With Quote
  #2 (permalink)  
Old 11-24-2006, 10:43 AM
Zimbra Employee
 
Posts: 228
Default

I'm pretty sure the start/end times are in miliseconds, so you'll need to multiply s and e by 1000. I think there is also a limit to how much that call will expand, so you'll want to calculate the range you really want (having 1 as a start time might not work).
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 11-24-2006, 09:31 PM
Junior Member
 
Posts: 6
Default

Thanks I knew I was missing something obvious.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.