Adds an appointment type to an account.
The unique ID of the account.
A valid API key with a scope of AccountLists
The label of the appointment type. Must not be empty and must be 32 characters or fewer.
Indicates if the appointment type is active or inactive. Defaults to true if omitted.
"appointmentType": "In-Home Consultation",
appointmentType is required, cannot be empty, and cannot exceed 32 characters. If active is omitted, the appointment type is created as active.
Appointment type labels must be unique per account. Attempting to create an appointment type with a label that already exists for the account will fail with a 409 conflict.
Location — the URL of the newly created appointment type.
The appointment type was created.
The appointment type was not created. This occurs if appointmentType is missing, empty, or longer than 32 characters.
The API key is missing, invalid, disabled, or does not have the correct scope.
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
An appointment type with that label already exists for this account.
The unique ID of the appointment type.
The label of the appointment type.
Indicates if the appointment type is active or inactive.