Appointment entity exposed in the SuperOffice.CRM.Entities namespace is one of the easiest ways to create an appointment, as shown in the example below.
Code
CS
Walk-through
After anSoSession has been created, we proceed on to creating an appointment.
To create an appointment, it is required to create an instance of the Appointment entity using the CreateNew method exposed in the Associate class, after which the default values for the entity will be set using the SetDefaults method like this:
CS
Alarm property:
CS
HasAlarm property should be assigned first before the value for the Alarm property is assigned.
Once the required values to the properties of the Appointment entity have been added or assigned it could be saved with the Save method:
CS