Show/Hide Toolbars

The following sample deletes an existing appointment.

Code Snippet

//for this sample it is assumed that a appointment record exists with a unique key String equal to uniqueKey

protected AppointmentRepository appointmentRepository;

public void test_deleteAppointment() throws Exception {

appointmentRepository.deleteAppointment(uniqueKey);

}