Skip to content

Update Appointment Calendar settings

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Authorizationstringrequired

Bearer partner_token, User user_token

Content-Typestringrequired

application/json

Bodyapplication/jsonrequired
activity_record_clients_count_maxinteger, [ 1 .. 255 ]required

Maximum number of seats in one group event

Example:1
record_typeinteger, [ 0 .. 2 ]required

Default appointment type: 0 - Mixed appointment, 1 - Individual appointment, 2 - Group event

Example:0
curl -i -X PATCH \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/settings/timetable' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "record_type": 0,
    "activity_record_clients_count_max": 1
  }'

Responses

Updated appointment calendar settings data

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataobject(Root Type for company_get_timetable_settings_response_data_field_data_types)
Example:
{ "record_type": 0, "activity_record_clients_count_max": 1, "is_show_newsletter_agreement": false, "is_show_personal_data_processing_agreement": false }
metaArray of objects

metadata

Example:
[]
Response
{ "success": true, "data": { "record_type": 90, "activity_record_clients_count_max": 1 }, "meta": [] }