this is my partial code

LmcSearchRequest sReq = new LmcSearchRequest();
sReq.setOffset("0");
sReq.setLimit("30");
sReq.setQuery("date:-0week");
sReq.setTypes("appointment");
sReq.setSession(session);
LmcSearchResponse sResp = (LmcSearchResponse) sReq.invoke(serverURL);


i get this error:

com.zimbra.cs.client.soap.LmcSoapClientException: Unexpected element type appt
at com.zimbra.cs.client.soap.LmcSearchRequest.parseRe sponse(LmcSearchRequest.java:138)
at com.zimbra.cs.client.soap.LmcSearchRequest.parseRe sponseXML(LmcSearchRequest.java:152)
at com.zimbra.cs.client.soap.LmcSoapRequest.invoke(Lm cSoapRequest.java:164)


Why?

Thanks

Best Regards