Skip to main content

Create appointment profile

POST 

/calendar-backend/api/v1/appointmentprofiles

Create appointment profile.

Create a new appointment profile object in the calendar backend.

Example:

curl -u username:password -X POST -H 'Content-type:application/json'
-d '{"name": "AP666", "bookingOffsetDays": 1, "bookingThresholdPercentage": 80,"bookingPeriodDays": 28, "bookingOffsetMinutes": 0, "interval": 5,
"resourceGroup": {
"name": "RG1",
"id": 1
},"services": [
{"name": "Service A","id": 1},
{"name": "Service B","id": 2}
],
"branch": {"name": "Branch A","id": 1},
"capacity": {"name": "WS","id": 1}
}' http://localhost:8080/calendar-backend/api/v1/appointmentprofiles

Request​

Responses​

A Json object of com.qmatic.qp.calendar.model.AppointmentProfile