Skip to content

Create a new appointment type

Request

Security
bearer
Bodyapplication/jsonrequired
titlestringrequired

The title of the appointment type

Example:"1 Filling - Returning"
isEnabledboolean

Indicates if the appointment type is enabled

Example:true
curl -i -X POST \
  https://docs.axiomera.com/_mock/apis/heydonto/openapi/appointment-type \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "1 Filling - Returning",
    "isEnabled": true
  }'

Responses

The appointment type has been successfully created.

Bodyapplication/json
titlestringrequired

The title of the appointment type

Example:"1 Filling - Returning"
isEnabledboolean

Indicates if the appointment type is enabled

Example:true
Response
{ "title": "1 Filling - Returning", "isEnabled": true }