Query parameters

application/json

Body Required

Responses

POST /api/event/base_event
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/event/base_event' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"address":"string","address_street":"string","address_house_number":"string","address_street_level":"string","address_co":"string","address_city":"string","address_zip":"string","address_admin_level1":"string","address_country":"string","address_full_country":"string","address_geo_lat":"string","address_geo_lng":"string","address_external_provider_id":"string","main_phone":"string","main_fax":"string","main_email":"string","website":"string","deleted":true,"ucats":[{"address":"string","address_street":"string","address_house_number":"string","address_street_level":"string","address_co":"string","address_city":"string","address_zip":"string","address_admin_level1":"string","address_country":"string","address_full_country":"string","address_geo_lat":"string","address_geo_lng":"string","address_external_provider_id":"string","main_phone":"string","main_fax":"string","main_email":"string","website":"string","deleted":true,"slug_identifier":"string","image_url":"string","is_ui_filter":true}],"image_url":"string","slug_identifier":"string"}}'
Request examples
{
  "data": {
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "deleted": true,
    "ucats": [
      {
        "address": "string",
        "address_street": "string",
        "address_house_number": "string",
        "address_street_level": "string",
        "address_co": "string",
        "address_city": "string",
        "address_zip": "string",
        "address_admin_level1": "string",
        "address_country": "string",
        "address_full_country": "string",
        "address_geo_lat": "string",
        "address_geo_lng": "string",
        "address_external_provider_id": "string",
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string",
        "deleted": true,
        "slug_identifier": "string",
        "image_url": "string",
        "is_ui_filter": true
      }
    ],
    "image_url": "string",
    "slug_identifier": "string"
  }
}
Response examples (200)
{
  "baseBookable": {
    "baseLocation": {
      "id": 42,
      "token": "string",
      "location_type": "string",
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "address": "string",
      "address_street": "string",
      "address_house_number": "string",
      "address_street_level": "string",
      "address_co": "string",
      "address_city": "string",
      "address_zip": "string",
      "address_admin_level1": "string",
      "address_country": "string",
      "address_full_country": "string",
      "address_geo_lat": "string",
      "address_geo_lng": "string",
      "address_external_provider_id": "string",
      "main_phone": "string",
      "main_fax": "string",
      "main_email": "string",
      "website": "string",
      "name": "string",
      "deleted": true,
      "short_identifier": "string",
      "image_url": "string",
      "slug_identifier": "string",
      "is_ui_filter": true,
      "unified_cat_ids": {},
      "unified_cat_names": {}
    },
    "id": 42,
    "token": "string",
    "bookable_type": "string",
    "floor_level": "string",
    "floor_size": 42,
    "pets_allowed": true,
    "barrier_free": true,
    "cargo_volume": 42,
    "fuel_type": "string",
    "seating_capacity": 42,
    "has_wait_list": true,
    "booking_limit": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "name": "string",
    "deleted": true,
    "short_identifier": "string",
    "image_url": "string",
    "slug_identifier": "string",
    "unified_cat_ids": {},
    "unified_cat_names": {}
  },
  "secondaryBaseBookable": {
    "baseLocation": {
      "id": 42,
      "token": "string",
      "location_type": "string",
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "address": "string",
      "address_street": "string",
      "address_house_number": "string",
      "address_street_level": "string",
      "address_co": "string",
      "address_city": "string",
      "address_zip": "string",
      "address_admin_level1": "string",
      "address_country": "string",
      "address_full_country": "string",
      "address_geo_lat": "string",
      "address_geo_lng": "string",
      "address_external_provider_id": "string",
      "main_phone": "string",
      "main_fax": "string",
      "main_email": "string",
      "website": "string",
      "name": "string",
      "deleted": true,
      "short_identifier": "string",
      "image_url": "string",
      "slug_identifier": "string",
      "is_ui_filter": true,
      "unified_cat_ids": {},
      "unified_cat_names": {}
    },
    "id": 42,
    "token": "string",
    "bookable_type": "string",
    "floor_level": "string",
    "floor_size": 42,
    "pets_allowed": true,
    "barrier_free": true,
    "cargo_volume": 42,
    "fuel_type": "string",
    "seating_capacity": 42,
    "has_wait_list": true,
    "booking_limit": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "name": "string",
    "deleted": true,
    "short_identifier": "string",
    "image_url": "string",
    "slug_identifier": "string",
    "unified_cat_ids": {},
    "unified_cat_names": {}
  },
  "baseLocation": {
    "id": 42,
    "token": "string",
    "location_type": "string",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "name": "string",
    "deleted": true,
    "short_identifier": "string",
    "image_url": "string",
    "slug_identifier": "string",
    "is_ui_filter": true,
    "unified_cat_ids": {},
    "unified_cat_names": {}
  },
  "id": 42,
  "token": "string",
  "public_keywords": "string",
  "event_type": "string",
  "age_group": "string",
  "min_age": 42,
  "max_age": 42,
  "min_grade_level": 42,
  "max_grade_level": 42,
  "age_tolerance": 42,
  "event_people_limit": 42,
  "event_people_min_limit": 42,
  "hide_event_people_limit": true,
  "event_people_recovered_vaccinated_limit": 42,
  "event_people_not_recovered_vaccinated_limit": 42,
  "has_wait_list": true,
  "can_sign_up_for_main_event": true,
  "only_sign_up_for_main_event": true,
  "sign_up_limit_days_before": 42,
  "sign_up_limit_stop_days_before": 42,
  "sign_up_delete_hours_before": 42,
  "performing_person": {
    "id": 42,
    "first_name": "string",
    "last_name": "string",
    "number": 42,
    "manual_number": 42,
    "number_string": "string",
    "gender": "string",
    "title": "string",
    "position": "string",
    "language": "string",
    "special_salutation": "string",
    "form_of_salutation": "string",
    "birthday": "2025-05-04T09:42:00Z",
    "known_allergies": "string",
    "confirmed_no_allergies": true,
    "allow_photos": true,
    "allow_leaving_alone": true,
    "authorized_pickup": "string",
    "needs_support": true,
    "support_description": "string",
    "financial_support": true,
    "financial_support_number": "string",
    "municipal_support": true,
    "municipal_support_number": "string",
    "grade_level": 42,
    "school_class": "string",
    "start_time": "2025-05-04T09:42:00Z",
    "start_time_reason": "string",
    "end_time": "2025-05-04T09:42:00Z",
    "end_time_reason": "string",
    "confirmed_gtc_time": "2025-05-04T09:42:00Z",
    "crm_person_contact_data": [
      {
        "id": 42,
        "name": "string",
        "value": "string",
        "generated_value": "string",
        "contact_data_type": {
          "id": 42,
          "name": "string",
          "value": "string",
          "allow_self_service": true,
          "deleted": true
        },
        "search_string": "string"
      }
    ],
    "archived": true,
    "subscribed_newsletter": true,
    "subscribed_magazine": true,
    "printed_member_card": true,
    "has_login_user": true,
    "profile_picture_url": "string",
    "log_book_staff": true,
    "log_book_staff1": true,
    "log_book_staff2": true,
    "log_book_member": true,
    "log_book_trainer": true,
    "log_book_trainer1": true,
    "log_book_trainer2": true,
    "log_book_head_of_department": true,
    "log_book_supervisory_board": true,
    "log_book_board_of_directors": true,
    "log_book_honorary_member": true,
    "log_book_club_card_one": true,
    "log_book_health_recovered": true,
    "log_book_health_vaccinated": true,
    "log_book_health_vaccinated_addition": "string",
    "sync_lanista": true,
    "category": {
      "id": 42,
      "name": "string",
      "name_plural": "string",
      "description": "string",
      "deleted": true,
      "is_public": true,
      "enabled_customer_create_new": true,
      "customer_register_min_number": 42,
      "customer_add_ignore_invite_code": true,
      "customer_ui_allowed_ticket_types": "string",
      "enabled_customer_ui_selection": true,
      "order": 42
    },
    "search_string": "string",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "unified_cat_ids": {},
    "unified_cat_names": {},
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "order": 42
  },
  "secondary_performing_person": {
    "id": 42,
    "first_name": "string",
    "last_name": "string",
    "number": 42,
    "manual_number": 42,
    "number_string": "string",
    "gender": "string",
    "title": "string",
    "position": "string",
    "language": "string",
    "special_salutation": "string",
    "form_of_salutation": "string",
    "birthday": "2025-05-04T09:42:00Z",
    "known_allergies": "string",
    "confirmed_no_allergies": true,
    "allow_photos": true,
    "allow_leaving_alone": true,
    "authorized_pickup": "string",
    "needs_support": true,
    "support_description": "string",
    "financial_support": true,
    "financial_support_number": "string",
    "municipal_support": true,
    "municipal_support_number": "string",
    "grade_level": 42,
    "school_class": "string",
    "start_time": "2025-05-04T09:42:00Z",
    "start_time_reason": "string",
    "end_time": "2025-05-04T09:42:00Z",
    "end_time_reason": "string",
    "confirmed_gtc_time": "2025-05-04T09:42:00Z",
    "crm_person_contact_data": [
      {
        "id": 42,
        "name": "string",
        "value": "string",
        "generated_value": "string",
        "contact_data_type": {
          "id": 42,
          "name": "string",
          "value": "string",
          "allow_self_service": true,
          "deleted": true
        },
        "search_string": "string"
      }
    ],
    "archived": true,
    "subscribed_newsletter": true,
    "subscribed_magazine": true,
    "printed_member_card": true,
    "has_login_user": true,
    "profile_picture_url": "string",
    "log_book_staff": true,
    "log_book_staff1": true,
    "log_book_staff2": true,
    "log_book_member": true,
    "log_book_trainer": true,
    "log_book_trainer1": true,
    "log_book_trainer2": true,
    "log_book_head_of_department": true,
    "log_book_supervisory_board": true,
    "log_book_board_of_directors": true,
    "log_book_honorary_member": true,
    "log_book_club_card_one": true,
    "log_book_health_recovered": true,
    "log_book_health_vaccinated": true,
    "log_book_health_vaccinated_addition": "string",
    "sync_lanista": true,
    "category": {
      "id": 42,
      "name": "string",
      "name_plural": "string",
      "description": "string",
      "deleted": true,
      "is_public": true,
      "enabled_customer_create_new": true,
      "customer_register_min_number": 42,
      "customer_add_ignore_invite_code": true,
      "customer_ui_allowed_ticket_types": "string",
      "enabled_customer_ui_selection": true,
      "order": 42
    },
    "search_string": "string",
    "address": "string",
    "address_street": "string",
    "address_house_number": "string",
    "address_street_level": "string",
    "address_co": "string",
    "address_city": "string",
    "address_zip": "string",
    "address_admin_level1": "string",
    "address_country": "string",
    "address_full_country": "string",
    "address_geo_lat": "string",
    "address_geo_lng": "string",
    "address_external_provider_id": "string",
    "unified_cat_ids": {},
    "unified_cat_names": {},
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "order": 42
  },
  "start_time": "2025-05-04T09:42:00Z",
  "end_time": "2025-05-04T09:42:00Z",
  "require_address": true,
  "require_contact": true,
  "require_billing": true,
  "allow_direct_billing": true,
  "require_age": true,
  "require_grade_level": true,
  "require_free_note_field_ids": "string",
  "generate_new_bookings": true,
  "generate_new_bookings_v2": true,
  "generate_ignore_sys_calendar": true,
  "copy_main_sign_ups_to_booking": true,
  "generate_hour_start": "2025-05-04T09:42:00Z",
  "generate_hour_end": "2025-05-04T09:42:00Z",
  "generate_day_of_week": 42,
  "bitmask_days_of_week": 42,
  "bitmask_hours_start": 42,
  "summarized_date_times": "string",
  "sign_up_ui_more_information_hint": "string",
  "sign_up_ui_legal_hint": "string",
  "sign_up_ui_disclaimer_checkbox": "string",
  "sign_up_ui_privacy_checkbox": "string",
  "sign_up_ui_cancellation_checkbox": "string",
  "customer_detail_cta": "string",
  "customer_badge": "string",
  "created": "2025-05-04T09:42:00Z",
  "updated": "2025-05-04T09:42:00Z",
  "address": "string",
  "address_street": "string",
  "address_house_number": "string",
  "address_street_level": "string",
  "address_co": "string",
  "address_city": "string",
  "address_zip": "string",
  "address_admin_level1": "string",
  "address_country": "string",
  "address_full_country": "string",
  "address_geo_lat": "string",
  "address_geo_lng": "string",
  "address_external_provider_id": "string",
  "main_phone": "string",
  "main_fax": "string",
  "main_email": "string",
  "website": "string",
  "name": "string",
  "deleted": true,
  "unified_cat_ids": {},
  "unified_cat_names": {},
  "short_identifier": "string",
  "image_url": "string",
  "color": "string",
  "fg_color": "string",
  "slug_identifier": "string"
}