Calendar Server includes four simple sample programs to help you get started. The code for these samples resides in the following directory:
cal-server-base/cal/csapi/samples/ens