Results 1 to 3 of 3

Thread: GetApptSummariesRequest

  1. #1
    Join Date
    Nov 2006
    Posts
    6
    Rep Power
    9

    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.

  2. #2
    Join Date
    Aug 2005
    Posts
    228
    Rep Power
    10

    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!

  3. #3
    Join Date
    Nov 2006
    Posts
    6
    Rep Power
    9

    Default

    Thanks I knew I was missing something obvious.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •