with the help of previous posts I can retrieve a list of ZAppointmentHits using ZMailbox.
However retrieving the actual appointment object escapes me. I have tried using:
This gives the following error:
ZAppointment appt = zMailbox.getAppointment(apptHit.getId());
com.zimbra.common.service.ServiceException: invalid request: missing required attribute: id
I also tried retrieving the ZMessage with:
Got the following error:
ZGetMessageParams msgParams = new ZGetMessageParams();
ZMessage appt = zMailbox.getMessage(msgParams);
I have also tried prepending the appt ID with account ID separated by a colon. Still no joy.
Any suggestions welcome.