Update an appointment
PUT/calendar-backend/api/v1/appointments/:id
Update an appointment.
It is not possible to update an appointment that is locked by another user.
If the calling user currently holds a lock on the appointment that lock will be released as this call ends.
(see /lock methods)
Example of usage:
curl -u username:password -X PUT -H 'Content-type:application/json' -d '{
"start":"2024-05-30T08:00:00",
"end":"2024-05-30T08:30:00",
"resource":{"id":"1"},
"allDay":false,
"customers":[],
"services":[{"id":"1"}],
"notes":"a note",
"title":"a title",
"branch":{"id":1},
"blocking":false,
"id":20,
"publicId":"13edd84619974fcbc0456e27e12200a2efe44f6308e33f4e02443f5c65043d02",
"custom":null
}' http://localhost:8080/calendar-backend/api/v1/appointments/20
Request
Responses
- 204
A Json object of com.qmatic.qp.calendar.rest.dto.AppointmentDTO