When I create an appointment in the client-side script, I understand, I need to add an Organizer via a party list, but can't understand in what format it should be present. Please help!
The example below gives an error on an invalid Organizer field but works without an Organizer. How to add an Organizer?
var appointment = new Object();
appointment.Subject = "Test Appointment";
appointment.Description = "Test Appointment created using the BookRequest Message.";
appointment.ScheduledStart = DateToUTCFormat(new Date(y, m, d, 13, 0));
appointment.ScheduledEnd = DateToUTCFormat(new Date(y, m, d, 15, 0));
appointment.Location = "Office";
var organizerParty = new Object();
organizerParty.partyid = { type: "systemuser", Value: '{0a69fa75-92e3-df11-9ecd-00155d01ce0c}' };
appointment.Organizer = [ organizerParty ];
*This post is locked for comments
I have the same question (0)