...
This method will return the next future, active appointment. If there is not a future appointment it will return the last active appointment based on dateappointment with the most recent modifiedDate.
GET /ssp/api/1/person/{id}/appointment/current
...
Code Block |
---|
{"id" : "46711355-5a40-4115-b5b9-0bd06986c9e1", "createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : 1332216000000, "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : 1332216000000, "objectStatus" : "ACTIVE", "startTime" : 1332326000000, "endTime" : 1332339600000, "attended" : false} |
Create an Appointment
Appointments in the past are not allowed and will throw an exception.
POST /ssp/api/1/person/{id}/appointment
...