The following example shows you how to create an appointment. Appointment will be created in Calendar folder inside user's mailbox.