Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is example with API from Independentsoft. Administrator sends meeting request to Mark, John and Peter and decided to remove John from meeting.</p> <pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date startTime = dateFormat.parse("2013-01-03 18:00:00"); Date endTime = dateFormat.parse("2013-01-03 19:00:00"); Appointment appointment = new Appointment(); appointment.setSubject("Test15"); appointment.setBody(new Body("Body text.")); appointment.setStartTime(startTime); appointment.setEndTime(endTime); appointment.setLocation("Room 123"); appointment.setReminderIsSet(true); appointment.setReminderMinutesBeforeStart(30); appointment.getRequiredAttendees().add(new Attendee("Mark@mydomain3.com")); appointment.getRequiredAttendees().add(new Attendee("John@mydomain3.com")); appointment.getRequiredAttendees().add(new Attendee("Peter@mydomain3.com")); ItemId itemId = service.sendMeetingRequest(appointment); //add first ItemChange itemChange1 = new ItemChange(itemId); itemChange1.getPropertiesToSet().add(new Property(AppointmentPropertyPath.REQUIRED_ATTENDEES, new Attendee("Mark@mydomain3.com"))); itemId = service.updateItem(itemChange1, SendMeetingOption.SEND_TO_CHANGED_AND_SAVE_COPY); { //add others non-removed in a loop ItemChange itemChange2 = new ItemChange(itemId); itemChange2.getPropertiesToAppend().add(new Property(AppointmentPropertyPath.REQUIRED_ATTENDEES, new Attendee("Peter@mydomain3.com"))); itemId = service.updateItem(itemChange2, SendMeetingOption.SEND_TO_CHANGED_AND_SAVE_COPY); } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload