here is the json query (javascript):
{ "Header": { "context": { "_jsns": "urn:zimbra", "authToken": { "_content": "' + Net.soapAuthToken + '" } }, "format": { "type": "
js" } }, "Body":{ "SearchRequest": { "_jsns":"urn:zimbraMail", "sortBy":"dateAsc", "types": "appointment", "fetch": "all", "offset":"' + calOffset + '"; "limit": "30", "calExpandInstStart": "' + Math.floor(StartTime.getTime() / 1000) + '", "calExpandInstEnd": "' + Math.floor(EndTime.getTime() / 1000) + '" } } }
and here is the response:
{"Body":{"SearchResponse":{"more":false,"sortBy":" dateAsc","offset":0,"_jsns":"urn:zimbraMail"}},"He ader":{....etc.... }}