0
votes

I am trying microsft's EWS api service to handle the meeting requests. But Now I want to update the times for a previous meeting created in EWS. I cant really find a way to do that.

Appointment meeting = Appointment.Bind(service, meetingId, new PropertySet(AppointmentSchema.Subject, 
                                                                       AppointmentSchema.Location, 
                                                                       AppointmentSchema.RequiredAttendees, 
                                                                       AppointmentSchema.Resources));

The above code is picked up from https://msdn.microsoft.com/en-us/library/office/dn495610(v=exchg.150).aspx

I have no idea what appointmentId means there. How do I get that.

1
Sorry for short mistake avove. But it is: I have no idea what meetingId means therecode_love

1 Answers

1
votes

This is the EWSId (ItemId) of the Appointment you want to access https://msdn.microsoft.com/en-us/library/office/dd634072(v=exchg.80).aspx . You need to using FindItems (or FindAppointment) to find the existing appointment and bind to this and update it eg https://msdn.microsoft.com/en-us/library/office/dn495614(v=exchg.150).aspx or using a SearchFilter https://msdn.microsoft.com/en-us/library/office/dn579422%28v=exchg.150%29.aspx

Cheers Glen