Skip to main content
POST
/
v3
/
appointment-definitions
/
{appointmentDefinition}
/
special-hours
Add Appointment Definition Special Hour
curl --request POST \
  --url https://api.{tenant}.getomneo.com/api/v3/appointment-definitions/{appointmentDefinition}/special-hours \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "start_at": "<string>",
  "end_at": "<string>",
  "is_repeating": true,
  "available_from": "<string>",
  "available_until": "<string>"
}
'
{
  "data": {
    "id": 123,
    "appointment_definition_id": 123,
    "name": "<string>",
    "is_repeating": true,
    "available_from": "<string>",
    "available_until": "<string>",
    "start_at": "<string>",
    "end_at": "<string>",
    "is_closed": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

appointmentDefinition
integer
required

The appointment definition ID

Body

application/json
name
string
required
Maximum string length: 255
start_at
string
required
end_at
string
required
is_repeating
boolean
available_from
string | null
available_until
string | null

Response

AppointmentDefinitionSpecialHour

data
AppointmentDefinitionSpecialHour · object
required