Reputation: 116
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.
Upvotes: 0
Views: 1983
Reputation: 22032
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
Upvotes: 1