Get follow-ups belonging to a series
•
Version: 10
Some tooltip text!
• Less than 1 minute to read
• Less than 1 minute to read
NSAppointment[] GetAppointmentRecords(Integer motherId, Integer recurrenceRuleId)
Integer recurrenceId = 1;
NSAppointmentAgent appointmentAgent;
NSAppointment[] appointmentList = appointmentAgent.GetAppointmentRecords(0,recurrenceId);
for(Integer i = 0; i < appointmentList.length(); i++) {
printLine("ID: " + appointmentList[i].GetAppointmentId().toString() + "\t At: " + appointmentList[i].GetStartDate().toString());
}
Tip
Set motherId
to 0 unless you're working with meeting invitations.