Confirm a multi-customer appointment
POST/calendar-backend/public/api/v2/branches/appointments/:publicAppointmentId/confirm
Confirm a multi-customer appointment.
It is possible to confirm both multi- and single-service appointments.
It is also possible to confirm with a different number of customers than that provided in the reservation, but this will not affect the time allocated for the reservation.
Example:
curl -X POST -H "Content-Type: application/json" -d '{
"title": "Meeting A",
"notes": "",
"customers": [
{"publicId":"828e247c573535d951568fada893ba9122cbfbb3e3cdda04fe5cae1d812e7df8"},
{"publicId":"402db65843b5db4167ff96e77170df96b23777c0318eef9328ccb58fcffd05c9"}
],
"custom":"{\"phoneNumber\":\"46716036116\",\"notificationType\":\"sms\",\"appId\":\"generic\"}"
}'
http://localhost:8080/calendar-backend/public/api/v2/branches/appointments/fb8323a5a4f44c975d96f54d0988cb3aef553614654b0d26d20533aad9cfb761/confirm
Request
Responses
- 201
A Json object of {$ref com.qmatic.qp.calendar.rest.dto.AppointmentDTO}