Dear jujusous3,
Something small (just in case): please confirm appt-start and appt-end are correct to ensure catching some appointments. The time you see appointments on your calendar will be correct using the time zone, but these parameters use number of milliseconds since January 1, 1970, 00:00:00 GMT.
Note if you put app-start > appt-end, the response will look fine, with no data, since no appointment can start after it finishes.
Talking about tree on browser, it sounds like you may be using REST. We are using SOAP; believe both SOAP and REST should work fine.
What version of Zimbra are you using? Our examples are on Zimbra v6.0.8.
It would help if you could show the requests and responses being made (SOAP or JSON would work); Wireshark should be able to catch those for you.
Here is how we successfully get appointments from a shared calendar.
Calendar "Rescal's Test1" was shared, giving advisor-admin role "Admin", and with "Allow user(s) to see my private appointments" checked.
1. Login as advisor-admin
2. Get advisor-admin's folders (and links):
<zmail:GetFolderRequest>
3. Get ID for link "Rescal's Test1" from response to step 2
- name="Rescal's Test1" id="300"
4. Make request for appointments.
Here is part of the response, including the shared calendar Friend needs access to.
Response for step 2:
Code:
<GetFolderResponse xmlns="urn:zimbraMail">
<folder i4ms="1" i4next="2" id="1" l="11" ms="1" n="0" name="USER_ROOT" rev="1" s="0">
<link color="1" f="#" id="300" l="1" ms="10775" name="Rescal's Test1" owner="rescal@carmen.egr.msu.edu" rev="10775" rgb="#5B9BF2" rid="257" view="appointment" zid="a1dcec46-6ef4-444d-b13c-5547d58b0860"/>
<link color="1" id="262" l="1" ms="10780" name="User One's Calendar" owner="user1@carmen.egr.msu.edu" rev="13" rgb="#5B9BF2" rid="10" view="appointment" zid="e583b35d-c01d-49cd-85eb-d98380d7ca48"/>
</folder>
</GetFolderResponse> When we make SearchRequest with inid:300, it returns appointments for "Rescal's Test1".
Request for step 4:
Code:
<soap:Body>
<zmail:SearchRequest
types="appointment">
<query>
inid:300
AND appt-start:<=1304618943139
AND appt-end:>=1304446143139
</query>
</zmail:SearchRequest>
</soap:Body>
Response for step 4:
Code:
<soap:Body>
<SearchResponse xmlns="urn:zimbraMail" more="0" offset="0" sortBy="dateDesc">
<appt alarm="1" class="PUB" cm="1" compNum="0" d="1304529598000" dur="1800000" f="" fb="B" fba="B" id="a1dcec46-6ef4-444d-b13c-5547d58b0860:264" invId="a1dcec46-6ef4-444d-b13c-5547d58b0860:264-263" isOrg="1" l="a1dcec46-6ef4-444d-b13c-5547d58b0860:257" loc="" md="1304529598" ms="12" name="Test event" ptst="AC" rev="12" s="0" score="1.0" sf="1304529598000" status="CONF" t="" transp="O" uid="eadd1337-c9cb-464b-8f3f-e8b2a372e3f0" x_uid="eadd1337-c9cb-464b-8f3f-e8b2a372e3f0">
<or a="rescal@carmen.egr.msu.edu" d="Resource Calendar" url="rescal@carmen.egr.msu.edu"/>
</appt>
</SearchResponse>
</soap:Body>