Skip to content
Developer

BookingContentType

Locations and bookings5 EndpointsEvent / BookingContentType

Returns a list of booking content type entries.

GET/api/event/booking_content_type

Query parameters

idinteger
deletedbooleanThis property is used to mark an entity as deleted / archived
namestring
shortNamestringKurzname for compact UI labels (e.g. calendars, badges).
appointmentboolean
availabilityboolean
colorstring
selfServiceSelectablebooleanWhether this content type may be picked by a customer / trainer in the self service portal. Off by default so existing installations keep the current behaviour.
trainerAvailabilityModestringControls whether a self service booking of this content type also picks the availability of a trainer: NONE (default), OPTIONAL or REQUIRED.
createdstring
searchStringstringtext to search for in the list
orderFieldNamestringname of the order field
orderFieldSortstringsorting modeAllowed: DESCASC
pageintegerpage of the list
pageSizeintegernumber of entries for each page
withMaxPageNumberstringreturns the number of pages available as a header if this is set

Responses

200Returns a list of BookingContentType objectsarray<BookingContentType>

Show fields (22)
  • idinteger

    Primary key of the content type. Internal ID.

  • short_namestring

    Kurzname for compact UI labels (e.g. calendars, badges).

  • provide_tagsstring

    Tags the content type provides, for example qualifications taught.

  • require_tagsstring

    Tags a trainer or resource needs to have for this content type.

  • required_qualificationEmploymentQualification6

    R05/L18: the qualification a performing person of appointments of this type should hold (Übungsleiter of a course, Pausenaufsicht, ...). Checked with the same group/ ranking rules as shifts; employee and linked trainer qualifications both count.

    Show fields (7)
    • idinteger

      Primary key of the employment qualification. Internal ID.

    • rankinginteger

      Ranking within an equivalence network - a linked qualification with a higher or equal ranking also satisfies requirements for this qualification.

    • equivalent_qualificationsarray<EmploymentQualification6>

      Linked ("equivalent") qualifications. Kept symmetric by the controller: every link A->B is mirrored as B->A, the ranking decides which direction actually covers which.

    • qualification_groupEmploymentQualificationGroup

      L17/A06: the "drawer" this qualification belongs to. Members of one group cover each other's requirements within their ranking, like a direct link would.

    • search_stringstring

      Text that the entity can be searched by.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

  • qualification_match_modestring

    How the required tags are matched against the qualifications.

  • availabilityboolean

    Bookings of this content type mark the resource as available.

  • appointmentboolean

    Bookings of this content type are appointments.

  • colorBookingPredefinedColor

    Predefined color used for bookings of this content type.

    Show fields (13)
    • idinteger

      Primary key of the color. Internal ID.

    • colorstring

      Color value, for example a hex code.

    • default_for_availabilityboolean

      Default color for availability bookings.

    • default_for_appointmentboolean

      Default color for appointments.

    • default_for_blockingboolean

      Default color for blocking bookings.

    • availabilityboolean

      The color can be used for availability bookings.

    • appointmentboolean

      The color can be used for appointments.

    • blockingboolean

      The color can be used for blocking bookings.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • require_single_participantboolean

    Bookings of this content type need exactly one participant.

  • require_participant_contactboolean

    Participants of this content type must have contact details.

  • require_participant_addressboolean

    Participants of this content type must have an address.

  • require_participant_birthdayboolean

    Participants of this content type must have a birthday.

  • default_time_in_minutesinteger

    Default length of a booking of this content type in minutes.

  • self_service_selectableboolean

    Whether this content type may be picked by a customer / trainer in the self service portal. Off by default so existing installations keep the current behaviour.

  • trainer_availability_modestring

    Controls whether a self service booking of this content type also picks the availability of a trainer: NONE (default), OPTIONAL or REQUIRED.

  • self_service_bookable_typesarray<BaseBookableBookableType>

    Restricts the bookable types this content type is offered for in the self service booking. An empty collection means "every bookable type".

    Show fields (11)
    • idstring

      Identifier of the bookable type. For example room or vehicle.

    • short_namestring

      Kurzname for compact UI labels (e.g. calendars, badges).

    • namestring

      Name of the bookable type.

    • view_orderinteger

      Sort order of the bookable type in lists.

    • menu_namestring

      Name of the menu entry for the bookable type.

    • menu_iconstring

      Icon of the menu entry for the bookable type.

    • show_admin_menuboolean

      Show the bookable type in the admin menu.

    • show_admin_calendarboolean

      Show the bookable type in the admin calendar.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • search_stringstring

    Text that the entity can be searched by.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • namestring

    Name of the entity.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/booking_content_type \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
[
  {
    "id": 42,
    "short_name": "Beispiel",
    "color": {
      "id": 42,
      "color": "#3f5efb",
      "name": "Beispiel",
      "default_for_availability": true,
      "default_for_appointment": true,
      "default_for_blocking": true,
      "availability": true,
      "appointment": true,
      "blocking": true,
      "search_string": "string"
    },
    "name": "Beispiel",
    "provide_tags": "string",
    "require_tags": "string",
    "required_qualification": {
      "id": 42,
      "name": "Beispiel",
      "ranking": 1,
      "search_string": "string",
      "deleted": true
    },
    "qualification_match_mode": "string",
    "availability": true,
    "appointment": true
  }
]

Creates a new booking content type entry.

POST/api/event/booking_content_type

Request body application/json

  • dataBookingContentType2
    Show fields (1)
    • deletedboolean

      This property is used to mark an entity as deleted / archived

Responses

200Add a new BookingContentTypeBookingContentType

Show fields (22)
  • idinteger

    Primary key of the content type. Internal ID.

  • short_namestring

    Kurzname for compact UI labels (e.g. calendars, badges).

  • provide_tagsstring

    Tags the content type provides, for example qualifications taught.

  • require_tagsstring

    Tags a trainer or resource needs to have for this content type.

  • required_qualificationEmploymentQualification6

    R05/L18: the qualification a performing person of appointments of this type should hold (Übungsleiter of a course, Pausenaufsicht, ...). Checked with the same group/ ranking rules as shifts; employee and linked trainer qualifications both count.

    Show fields (7)
    • idinteger

      Primary key of the employment qualification. Internal ID.

    • rankinginteger

      Ranking within an equivalence network - a linked qualification with a higher or equal ranking also satisfies requirements for this qualification.

    • equivalent_qualificationsarray<EmploymentQualification6>

      Linked ("equivalent") qualifications. Kept symmetric by the controller: every link A->B is mirrored as B->A, the ranking decides which direction actually covers which.

    • qualification_groupEmploymentQualificationGroup

      L17/A06: the "drawer" this qualification belongs to. Members of one group cover each other's requirements within their ranking, like a direct link would.

    • search_stringstring

      Text that the entity can be searched by.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

  • qualification_match_modestring

    How the required tags are matched against the qualifications.

  • availabilityboolean

    Bookings of this content type mark the resource as available.

  • appointmentboolean

    Bookings of this content type are appointments.

  • colorBookingPredefinedColor

    Predefined color used for bookings of this content type.

    Show fields (13)
    • idinteger

      Primary key of the color. Internal ID.

    • colorstring

      Color value, for example a hex code.

    • default_for_availabilityboolean

      Default color for availability bookings.

    • default_for_appointmentboolean

      Default color for appointments.

    • default_for_blockingboolean

      Default color for blocking bookings.

    • availabilityboolean

      The color can be used for availability bookings.

    • appointmentboolean

      The color can be used for appointments.

    • blockingboolean

      The color can be used for blocking bookings.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • require_single_participantboolean

    Bookings of this content type need exactly one participant.

  • require_participant_contactboolean

    Participants of this content type must have contact details.

  • require_participant_addressboolean

    Participants of this content type must have an address.

  • require_participant_birthdayboolean

    Participants of this content type must have a birthday.

  • default_time_in_minutesinteger

    Default length of a booking of this content type in minutes.

  • self_service_selectableboolean

    Whether this content type may be picked by a customer / trainer in the self service portal. Off by default so existing installations keep the current behaviour.

  • trainer_availability_modestring

    Controls whether a self service booking of this content type also picks the availability of a trainer: NONE (default), OPTIONAL or REQUIRED.

  • self_service_bookable_typesarray<BaseBookableBookableType>

    Restricts the bookable types this content type is offered for in the self service booking. An empty collection means "every bookable type".

    Show fields (11)
    • idstring

      Identifier of the bookable type. For example room or vehicle.

    • short_namestring

      Kurzname for compact UI labels (e.g. calendars, badges).

    • namestring

      Name of the bookable type.

    • view_orderinteger

      Sort order of the bookable type in lists.

    • menu_namestring

      Name of the menu entry for the bookable type.

    • menu_iconstring

      Icon of the menu entry for the bookable type.

    • show_admin_menuboolean

      Show the bookable type in the admin menu.

    • show_admin_calendarboolean

      Show the bookable type in the admin calendar.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • search_stringstring

    Text that the entity can be searched by.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • namestring

    Name of the entity.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request POST \
  --url https://your-instance.iw-erp.de/api/event/booking_content_type \
  --header 'content-type: application/json' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --data '
{
  "data": {
    "deleted": true
  }
}
'
Response 200 application/json
{
  "id": 42,
  "short_name": "Beispiel",
  "color": {
    "id": 42,
    "color": "#3f5efb",
    "name": "Beispiel",
    "default_for_availability": true,
    "default_for_appointment": true,
    "default_for_blocking": true,
    "availability": true,
    "appointment": true,
    "blocking": true,
    "search_string": "string"
  },
  "name": "Beispiel",
  "provide_tags": "string",
  "require_tags": "string",
  "required_qualification": {
    "id": 42,
    "name": "Beispiel",
    "ranking": 1,
    "qualification_group": {
      "id": 42,
      "name": "Beispiel",
      "sort_order": 1,
      "search_string": "string",
      "deleted": true,
      "created": "2026-10-15T09:30:00+02:00",
      "updated": "2026-10-15T09:30:00+02:00"
    },
    "search_string": "string",
    "deleted": true
  },
  "qualification_match_mode": "string",
  "availability": true,
  "appointment": true
}

Returns a single booking content type entry.

GET/api/event/booking_content_type/{identifier}

Path parameters

identifierrequiredstring

Responses

200Returns a single BookingContentTypeBookingContentType

Show fields (22)
  • idinteger

    Primary key of the content type. Internal ID.

  • short_namestring

    Kurzname for compact UI labels (e.g. calendars, badges).

  • provide_tagsstring

    Tags the content type provides, for example qualifications taught.

  • require_tagsstring

    Tags a trainer or resource needs to have for this content type.

  • required_qualificationEmploymentQualification6

    R05/L18: the qualification a performing person of appointments of this type should hold (Übungsleiter of a course, Pausenaufsicht, ...). Checked with the same group/ ranking rules as shifts; employee and linked trainer qualifications both count.

    Show fields (7)
    • idinteger

      Primary key of the employment qualification. Internal ID.

    • rankinginteger

      Ranking within an equivalence network - a linked qualification with a higher or equal ranking also satisfies requirements for this qualification.

    • equivalent_qualificationsarray<EmploymentQualification6>

      Linked ("equivalent") qualifications. Kept symmetric by the controller: every link A->B is mirrored as B->A, the ranking decides which direction actually covers which.

    • qualification_groupEmploymentQualificationGroup

      L17/A06: the "drawer" this qualification belongs to. Members of one group cover each other's requirements within their ranking, like a direct link would.

    • search_stringstring

      Text that the entity can be searched by.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

  • qualification_match_modestring

    How the required tags are matched against the qualifications.

  • availabilityboolean

    Bookings of this content type mark the resource as available.

  • appointmentboolean

    Bookings of this content type are appointments.

  • colorBookingPredefinedColor

    Predefined color used for bookings of this content type.

    Show fields (13)
    • idinteger

      Primary key of the color. Internal ID.

    • colorstring

      Color value, for example a hex code.

    • default_for_availabilityboolean

      Default color for availability bookings.

    • default_for_appointmentboolean

      Default color for appointments.

    • default_for_blockingboolean

      Default color for blocking bookings.

    • availabilityboolean

      The color can be used for availability bookings.

    • appointmentboolean

      The color can be used for appointments.

    • blockingboolean

      The color can be used for blocking bookings.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • require_single_participantboolean

    Bookings of this content type need exactly one participant.

  • require_participant_contactboolean

    Participants of this content type must have contact details.

  • require_participant_addressboolean

    Participants of this content type must have an address.

  • require_participant_birthdayboolean

    Participants of this content type must have a birthday.

  • default_time_in_minutesinteger

    Default length of a booking of this content type in minutes.

  • self_service_selectableboolean

    Whether this content type may be picked by a customer / trainer in the self service portal. Off by default so existing installations keep the current behaviour.

  • trainer_availability_modestring

    Controls whether a self service booking of this content type also picks the availability of a trainer: NONE (default), OPTIONAL or REQUIRED.

  • self_service_bookable_typesarray<BaseBookableBookableType>

    Restricts the bookable types this content type is offered for in the self service booking. An empty collection means "every bookable type".

    Show fields (11)
    • idstring

      Identifier of the bookable type. For example room or vehicle.

    • short_namestring

      Kurzname for compact UI labels (e.g. calendars, badges).

    • namestring

      Name of the bookable type.

    • view_orderinteger

      Sort order of the bookable type in lists.

    • menu_namestring

      Name of the menu entry for the bookable type.

    • menu_iconstring

      Icon of the menu entry for the bookable type.

    • show_admin_menuboolean

      Show the bookable type in the admin menu.

    • show_admin_calendarboolean

      Show the bookable type in the admin calendar.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • search_stringstring

    Text that the entity can be searched by.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • namestring

    Name of the entity.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request GET \
  --url https://your-instance.iw-erp.de/api/event/booking_content_type/42 \
  --header 'x-iw-jwt-token: <TOKEN>'
Response 200 application/json
{
  "id": 42,
  "short_name": "Beispiel",
  "color": {
    "id": 42,
    "color": "#3f5efb",
    "name": "Beispiel",
    "default_for_availability": true,
    "default_for_appointment": true,
    "default_for_blocking": true,
    "availability": true,
    "appointment": true,
    "blocking": true,
    "search_string": "string"
  },
  "name": "Beispiel",
  "provide_tags": "string",
  "require_tags": "string",
  "required_qualification": {
    "id": 42,
    "name": "Beispiel",
    "ranking": 1,
    "qualification_group": {
      "id": 42,
      "name": "Beispiel",
      "sort_order": 1,
      "search_string": "string",
      "deleted": true,
      "created": "2026-10-15T09:30:00+02:00",
      "updated": "2026-10-15T09:30:00+02:00"
    },
    "search_string": "string",
    "deleted": true
  },
  "qualification_match_mode": "string",
  "availability": true,
  "appointment": true
}

Updates an existing booking content type entry.

PUT/api/event/booking_content_type/{identifier}

Path parameters

identifierrequiredstring

Request body application/json

  • dataBookingContentType2
    Show fields (1)
    • deletedboolean

      This property is used to mark an entity as deleted / archived

Responses

200Update a BookingContentTypeBookingContentType

Show fields (22)
  • idinteger

    Primary key of the content type. Internal ID.

  • short_namestring

    Kurzname for compact UI labels (e.g. calendars, badges).

  • provide_tagsstring

    Tags the content type provides, for example qualifications taught.

  • require_tagsstring

    Tags a trainer or resource needs to have for this content type.

  • required_qualificationEmploymentQualification6

    R05/L18: the qualification a performing person of appointments of this type should hold (Übungsleiter of a course, Pausenaufsicht, ...). Checked with the same group/ ranking rules as shifts; employee and linked trainer qualifications both count.

    Show fields (7)
    • idinteger

      Primary key of the employment qualification. Internal ID.

    • rankinginteger

      Ranking within an equivalence network - a linked qualification with a higher or equal ranking also satisfies requirements for this qualification.

    • equivalent_qualificationsarray<EmploymentQualification6>

      Linked ("equivalent") qualifications. Kept symmetric by the controller: every link A->B is mirrored as B->A, the ranking decides which direction actually covers which.

    • qualification_groupEmploymentQualificationGroup

      L17/A06: the "drawer" this qualification belongs to. Members of one group cover each other's requirements within their ranking, like a direct link would.

    • search_stringstring

      Text that the entity can be searched by.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

  • qualification_match_modestring

    How the required tags are matched against the qualifications.

  • availabilityboolean

    Bookings of this content type mark the resource as available.

  • appointmentboolean

    Bookings of this content type are appointments.

  • colorBookingPredefinedColor

    Predefined color used for bookings of this content type.

    Show fields (13)
    • idinteger

      Primary key of the color. Internal ID.

    • colorstring

      Color value, for example a hex code.

    • default_for_availabilityboolean

      Default color for availability bookings.

    • default_for_appointmentboolean

      Default color for appointments.

    • default_for_blockingboolean

      Default color for blocking bookings.

    • availabilityboolean

      The color can be used for availability bookings.

    • appointmentboolean

      The color can be used for appointments.

    • blockingboolean

      The color can be used for blocking bookings.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • require_single_participantboolean

    Bookings of this content type need exactly one participant.

  • require_participant_contactboolean

    Participants of this content type must have contact details.

  • require_participant_addressboolean

    Participants of this content type must have an address.

  • require_participant_birthdayboolean

    Participants of this content type must have a birthday.

  • default_time_in_minutesinteger

    Default length of a booking of this content type in minutes.

  • self_service_selectableboolean

    Whether this content type may be picked by a customer / trainer in the self service portal. Off by default so existing installations keep the current behaviour.

  • trainer_availability_modestring

    Controls whether a self service booking of this content type also picks the availability of a trainer: NONE (default), OPTIONAL or REQUIRED.

  • self_service_bookable_typesarray<BaseBookableBookableType>

    Restricts the bookable types this content type is offered for in the self service booking. An empty collection means "every bookable type".

    Show fields (11)
    • idstring

      Identifier of the bookable type. For example room or vehicle.

    • short_namestring

      Kurzname for compact UI labels (e.g. calendars, badges).

    • namestring

      Name of the bookable type.

    • view_orderinteger

      Sort order of the bookable type in lists.

    • menu_namestring

      Name of the menu entry for the bookable type.

    • menu_iconstring

      Icon of the menu entry for the bookable type.

    • show_admin_menuboolean

      Show the bookable type in the admin menu.

    • show_admin_calendarboolean

      Show the bookable type in the admin calendar.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • search_stringstring

    Text that the entity can be searched by.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • namestring

    Name of the entity.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request PUT \
  --url https://your-instance.iw-erp.de/api/event/booking_content_type/42 \
  --header 'content-type: application/json' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --data '
{
  "data": {
    "deleted": true
  }
}
'
Response 200 application/json
{
  "id": 42,
  "short_name": "Beispiel",
  "color": {
    "id": 42,
    "color": "#3f5efb",
    "name": "Beispiel",
    "default_for_availability": true,
    "default_for_appointment": true,
    "default_for_blocking": true,
    "availability": true,
    "appointment": true,
    "blocking": true,
    "search_string": "string"
  },
  "name": "Beispiel",
  "provide_tags": "string",
  "require_tags": "string",
  "required_qualification": {
    "id": 42,
    "name": "Beispiel",
    "ranking": 1,
    "qualification_group": {
      "id": 42,
      "name": "Beispiel",
      "sort_order": 1,
      "search_string": "string",
      "deleted": true,
      "created": "2026-10-15T09:30:00+02:00",
      "updated": "2026-10-15T09:30:00+02:00"
    },
    "search_string": "string",
    "deleted": true
  },
  "qualification_match_mode": "string",
  "availability": true,
  "appointment": true
}

Updates an existing booking content type entry.

PATCH/api/event/booking_content_type/{identifier}

Path parameters

identifierrequiredstring

Request body application/json

  • dataBookingContentType2
    Show fields (1)
    • deletedboolean

      This property is used to mark an entity as deleted / archived

Responses

200Update a BookingContentTypeBookingContentType

Show fields (22)
  • idinteger

    Primary key of the content type. Internal ID.

  • short_namestring

    Kurzname for compact UI labels (e.g. calendars, badges).

  • provide_tagsstring

    Tags the content type provides, for example qualifications taught.

  • require_tagsstring

    Tags a trainer or resource needs to have for this content type.

  • required_qualificationEmploymentQualification6

    R05/L18: the qualification a performing person of appointments of this type should hold (Übungsleiter of a course, Pausenaufsicht, ...). Checked with the same group/ ranking rules as shifts; employee and linked trainer qualifications both count.

    Show fields (7)
    • idinteger

      Primary key of the employment qualification. Internal ID.

    • rankinginteger

      Ranking within an equivalence network - a linked qualification with a higher or equal ranking also satisfies requirements for this qualification.

    • equivalent_qualificationsarray<EmploymentQualification6>

      Linked ("equivalent") qualifications. Kept symmetric by the controller: every link A->B is mirrored as B->A, the ranking decides which direction actually covers which.

    • qualification_groupEmploymentQualificationGroup

      L17/A06: the "drawer" this qualification belongs to. Members of one group cover each other's requirements within their ranking, like a direct link would.

    • search_stringstring

      Text that the entity can be searched by.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

    • namestring

      Name of the entity.

  • qualification_match_modestring

    How the required tags are matched against the qualifications.

  • availabilityboolean

    Bookings of this content type mark the resource as available.

  • appointmentboolean

    Bookings of this content type are appointments.

  • colorBookingPredefinedColor

    Predefined color used for bookings of this content type.

    Show fields (13)
    • idinteger

      Primary key of the color. Internal ID.

    • colorstring

      Color value, for example a hex code.

    • default_for_availabilityboolean

      Default color for availability bookings.

    • default_for_appointmentboolean

      Default color for appointments.

    • default_for_blockingboolean

      Default color for blocking bookings.

    • availabilityboolean

      The color can be used for availability bookings.

    • appointmentboolean

      The color can be used for appointments.

    • blockingboolean

      The color can be used for blocking bookings.

    • search_stringstring

      Text that the entity can be searched by.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • namestring

      Name of the entity.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • require_single_participantboolean

    Bookings of this content type need exactly one participant.

  • require_participant_contactboolean

    Participants of this content type must have contact details.

  • require_participant_addressboolean

    Participants of this content type must have an address.

  • require_participant_birthdayboolean

    Participants of this content type must have a birthday.

  • default_time_in_minutesinteger

    Default length of a booking of this content type in minutes.

  • self_service_selectableboolean

    Whether this content type may be picked by a customer / trainer in the self service portal. Off by default so existing installations keep the current behaviour.

  • trainer_availability_modestring

    Controls whether a self service booking of this content type also picks the availability of a trainer: NONE (default), OPTIONAL or REQUIRED.

  • self_service_bookable_typesarray<BaseBookableBookableType>

    Restricts the bookable types this content type is offered for in the self service booking. An empty collection means "every bookable type".

    Show fields (11)
    • idstring

      Identifier of the bookable type. For example room or vehicle.

    • short_namestring

      Kurzname for compact UI labels (e.g. calendars, badges).

    • namestring

      Name of the bookable type.

    • view_orderinteger

      Sort order of the bookable type in lists.

    • menu_namestring

      Name of the menu entry for the bookable type.

    • menu_iconstring

      Icon of the menu entry for the bookable type.

    • show_admin_menuboolean

      Show the bookable type in the admin menu.

    • show_admin_calendarboolean

      Show the bookable type in the admin calendar.

    • createdstring (date-time)

      Point in time the entity was created.

    • updatedstring (date-time)

      Point in time the entity was last updated.

    • deletedboolean

      This property is used to mark an entity as deleted / archived

  • search_stringstring

    Text that the entity can be searched by.

  • createdstring (date-time)

    Point in time the entity was created.

  • updatedstring (date-time)

    Point in time the entity was last updated.

  • namestring

    Name of the entity.

  • deletedboolean

    This property is used to mark an entity as deleted / archived

Request
curl --request PATCH \
  --url https://your-instance.iw-erp.de/api/event/booking_content_type/42 \
  --header 'content-type: application/json' \
  --header 'x-iw-jwt-token: <TOKEN>' \
  --data '
{
  "data": {
    "deleted": true
  }
}
'
Response 200 application/json
{
  "id": 42,
  "short_name": "Beispiel",
  "color": {
    "id": 42,
    "color": "#3f5efb",
    "name": "Beispiel",
    "default_for_availability": true,
    "default_for_appointment": true,
    "default_for_blocking": true,
    "availability": true,
    "appointment": true,
    "blocking": true,
    "search_string": "string"
  },
  "name": "Beispiel",
  "provide_tags": "string",
  "require_tags": "string",
  "required_qualification": {
    "id": 42,
    "name": "Beispiel",
    "ranking": 1,
    "qualification_group": {
      "id": 42,
      "name": "Beispiel",
      "sort_order": 1,
      "search_string": "string",
      "deleted": true,
      "created": "2026-10-15T09:30:00+02:00",
      "updated": "2026-10-15T09:30:00+02:00"
    },
    "search_string": "string",
    "deleted": true
  },
  "qualification_match_mode": "string",
  "availability": true,
  "appointment": true
}