Answer for the following is simple, following calendar property was checked: (Exclude this calendar when reporting free/busy times)
Running Zimbra 6.0.8 (full details below), we are making two requests for user's appointments and free/busy time. Thank you for your help.
These two requests are for the same time frame, and 2 appointments show up (one "Busy", the other "Out of Office"). <GetFreeBusyRequest> returns a single entry ignoring the appointments, stating the entire time is free.
Here is response:
<GetFreeBusyResponse xmlns="urn:zimbraMail">
<usr id="user1">
<f e="1301452394379" s="1301394794379"/>
</usr>
</GetFreeBusyResponse>
All of this is done with login by the same user (name is "user1"), who owns the calendar being checked. You can see below two calls to <GetFreeBusyRequest>, returning the same results.
Zimra full version info: Release 6.0.8_GA_2661.RHEL5_64_20100824100342 CentOS5_64 NETWORK edition.
[ Listing Appointments ]
========================
* REQUEST
Code:
POST /service/soap HTTP/1.1
Host: carmen.egr.msu.edu
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:zimbra="urn:zimbra"
xmlns:zaccount="urn:zimbraAccount"
xmlns:zmail="urn:zimbraMail">
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<zaccount:authToken>...</zaccount:authToken>
<nonotify/>
<noqualify/>
</zimbra:context>
</soap:Header>
<soap:Body>
<zmail:SearchRequest
types="appointment"
calExpandInstStar="1301394794379"
calExpandInstEnd="1301452394379">
<query>inid:10</query>
</zmail:SearchRequest>
</soap:Body>
</soap:Envelope>
* RESPONSE
Code:
Flat: Response
HTTP/1.1 200 OK
Date: Tue, 29 Mar 2011 18:35:00 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 2126
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<change token="3977"/>
</context>
</soap:Header>
<soap:Body>
<SearchResponse more="0" sortBy="dateDesc" offset="0" xmlns="urn:zimbraMail">
<appt uid="60e2447d-82b2-48eb-9ff5-86c10d8e544c" rev="3973" isOrg="1" score="1.0" id="272" md="1301421558" name="out of office" fba="O" invId="272-271" f="" d="1301421558000" status="CONF" ms="3973" loc="" class="PUB" sf="1301421558000" l="10" compNum="0" fb="O" alarm="1" x_uid="60e2447d-82b2-48eb-9ff5-86c10d8e544c" t="" dur="3600000" s="0" cm="1" transp="O" ptst="AC">
<or d="User One" a="user1@carmen.egr.msu.edu" url="user1@carmen.egr.msu.edu"/>
</appt>
<appt uid="98fb4502-677c-475b-8842-6c0793fb6551" rev="3969" isOrg="1" score="1.0" id="270" md="1301420444" name="busy time" fba="B" invId="270-269" f="" d="1301420444000" status="CONF" ms="3969" loc="" class="PUB" sf="1301420444000" l="10" compNum="0" fb="B" alarm="1" x_uid="98fb4502-677c-475b-8842-6c0793fb6551" t="" dur="3600000" s="0" cm="1" transp="O" ptst="AC"><or d="User One" a="user1@carmen.egr.msu.edu" url="user1@carmen.egr.msu.edu"/></appt><appt uid="caf95e8d-3729-47a1-b438-909326166de7" rev="3240" isOrg="1" score="1.0" id="266" md="1301410856" name="Get ready to go home" fba="B" invId="266-265" f="" d="1301075593000" status="CONF" ms="3945" loc="" class="PUB" sf="1301075593000" l="10" compNum="0" fb="B" alarm="1" x_uid="caf95e8d-3729-47a1-b438-909326166de7" t="" dur="1800000" s="0" cm="1" transp="O" ptst="AC"><or d="User One" a="user1@carmen.egr.msu.edu" url="user1@carmen.egr.msu.edu"/></appt><appt uid="7541d1df-5d1d-4e4a-8bbf-e65c104e444a" rev="2623" isOrg="1" score="1.0" id="264" md="1300890514" name="test appt mon 2011-03-21" fba="B" invId="264-263" f="" d="1300890514000" status="CONF" ms="2623" loc="test place" class="PUB" sf="1300890514000" l="10" compNum="0" fb="B" x_uid="7541d1df-5d1d-4e4a-8bbf-e65c104e444a" t="" dur="3600000" s="0" cm="1" transp="O" ptst="AC">
<or d="User One" a="user1@carmen.egr.msu.edu" url="user1@carmen.egr.msu.edu"/>
</appt>
</SearchResponse>
</soap:Body>
</soap:Envelope>
[ Requesting Free/Busy Times ]
==============================
* REQUEST 1
Code:
POST /service/soap HTTP/1.1
Host: carmen.egr.msu.edu
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:zimbra="urn:zimbra"
xmlns:zaccount="urn:zimbraAccount"
xmlns:zmail="urn:zimbraMail">
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<zaccount:authToken>...</zaccount:authToken>
<nonotify/>
<noqualify/>
</zimbra:context>
</soap:Header>
<soap:Body>
<zmail:GetFreeBusyRequest
s="1301394794379"
e="1301452394379"
name="user1">
<usr name="user1" l="10"/>
</zmail:GetFreeBusyRequest>
</soap:Body>
</soap:Envelope>
* RESPONSE
Code:
HTTP/1.1 200 OK
Date: Tue, 29 Mar 2011 18:35:30 GMT
Content-Type: text/xml; charset=utf-8
Content-Length: 322
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<change token="3977"/>
</context>
</soap:Header>
<soap:Body>
<GetFreeBusyResponse xmlns="urn:zimbraMail">
<usr id="user1">
<f e="1301452394379" s="1301394794379"/>
</usr>
</GetFreeBusyResponse>
</soap:Body>
</soap:Envelope>
* REQUEST 2 (same results)
Code:
POST /service/soap HTTP/1.1
Host: carmen.egr.msu.edu
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:zimbra="urn:zimbra"
xmlns:zaccount="urn:zimbraAccount"
xmlns:zmail="urn:zimbraMail">
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<zaccount:authToken>...</zaccount:authToken>
<nonotify/>
<noqualify/>
</zimbra:context>
</soap:Header>
<soap:Body>
<zmail:GetFreeBusyRequest
s="1301395634374"
e="1301453234374"
name="user1">
</zmail:GetFreeBusyRequest>
</soap:Body>
</soap:Envelope>