Query parameters

application/json

Body Required

  • data object
    Hide data attribute Show data attribute object

Responses

POST /api/event/customer/base_booking
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/event/customer/base_booking' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"deleted":true}}'
Request examples
{
  "data": {
    "deleted": true
  }
}
Response examples (200)
{
  "company": {
    "id": 42,
    "short_name": "string",
    "company_name": "string",
    "secondary_name": "string",
    "direct_dial": "string",
    "invoice_email": "string",
    "send_invoice_email": true,
    "send_invoice_letter": true,
    "time_report_email": "string",
    "payment_goal": {
      "id": 42,
      "name": "string",
      "date_string": "string",
      "deleted": true,
      "global_default": true
    },
    "payment_interval": "string",
    "vatid": "string",
    "taxnumber": "string",
    "buyer_reference_id": "string",
    "tax": {
      "id": 42,
      "name": "string",
      "value": 42.0,
      "deleted": true,
      "global_default": true
    },
    "info": "string",
    "number": "string",
    "manual_number": 42,
    "number_string": "string",
    "is_customer": true,
    "is_supplier": true,
    "is_other": true,
    "is_member": true,
    "archived": true,
    "category": {
      "id": 42,
      "name": "string",
      "description": "string",
      "deleted": true,
      "global_default": true,
      "enabled_customer_portal": true,
      "g_drive_root_dir": "string",
      "g_drive_root_dir_archived": "string",
      "require_company_address": true,
      "require_company_billing": true
    },
    "visible_for_customer": true,
    "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",
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "payment_type": {
      "id": 42,
      "name": "string",
      "auto": true,
      "conditions": "string",
      "linked_keywords": "string",
      "global_default": true,
      "bank_import_default": true,
      "is_direct_debit": true,
      "is_external": true,
      "deleted": true
    }
  },
  "id": 42,
  "start_time": "2025-05-04T09:42:00Z",
  "end_time": "2025-05-04T09:42:00Z",
  "booking_type": "string",
  "booking_status": "string",
  "auto_invoice": true,
  "waiting": true,
  "confirmed": true,
  "external": true,
  "deletion_reason": "string",
  "billed": true,
  "invoice": {
    "id": 42,
    "token": "string",
    "number": 42,
    "manual_number_prefix": "string",
    "manual_number": 42,
    "number_string": "string",
    "generation_date": "2025-05-04T09:42:00Z",
    "number_date": "2025-05-04T09:42:00Z",
    "message": "string",
    "currency": "string",
    "name": "string",
    "due_date": "2025-05-04T09:42:00Z",
    "netto_value": 42.0,
    "brutto_value": 42.0,
    "tax_value": 42.0,
    "tax": {
      "id": 42,
      "name": "string",
      "value": 42.0,
      "deleted": true,
      "global_default": true
    },
    "linked_number_title": "string",
    "linked_number": "string",
    "status": "string",
    "previous_status": "string",
    "status_updated": "2025-05-04T09:42:00Z",
    "archived": true,
    "last_pdf_export": "2025-05-04T09:42:00Z",
    "last_status_export": "string",
    "search_string": "string",
    "accounting_type": {
      "id": 42,
      "name": "string",
      "cancelled_name": "string",
      "type": "string",
      "deleted": true
    },
    "payment_type": {
      "id": 42,
      "name": "string",
      "auto": true,
      "conditions": "string",
      "linked_keywords": "string",
      "global_default": true,
      "bank_import_default": true,
      "is_direct_debit": true,
      "is_external": true,
      "deleted": true
    },
    "payment_goal": {
      "id": 42,
      "name": "string",
      "date_string": "string",
      "deleted": true,
      "global_default": true
    },
    "buyer": {
      "id": 42,
      "name": "string",
      "vat_id": "string",
      "taxnumber": "string",
      "buyer_reference_id": "string",
      "secondary_name": "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",
      "number": "string",
      "search_string": "string",
      "invoice": {}
    },
    "payment_date": "2025-05-04T09:42:00Z",
    "is_payment_date_from_ext_service": true,
    "direct_debit_exported": true,
    "cancel_date": "2025-05-04T09:42:00Z",
    "cancel_text": "string"
  },
  "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",
    "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",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "order": 42
  },
  "participant": {
    "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",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "order": 42
  },
  "participant_name": "string",
  "participant_first_name": "string",
  "participant_last_name": "string",
  "participant_address_street_level": "string",
  "participant_address_zip": "string",
  "participant_address_city": "string",
  "participant_address_country": "string",
  "participant_number": "string",
  "participant_email": "string",
  "participant_birthday": "2025-05-04T09:42:00Z",
  "content_type": {
    "id": 42,
    "availability": true,
    "appointment": true,
    "color": {
      "id": 42,
      "color": "string",
      "default_for_availability": true,
      "default_for_appointment": true,
      "default_for_blocking": true,
      "availability": true,
      "appointment": true,
      "blocking": true,
      "search_string": "string",
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "name": "string",
      "deleted": true
    },
    "require_single_participant": true,
    "require_participant_contact": true,
    "require_participant_address": true,
    "require_participant_birthday": true,
    "default_time_in_minutes": 42,
    "search_string": "string",
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "name": "string",
    "deleted": true
  },
  "modified_time": true,
  "modified_location": true,
  "modified_bookable": true,
  "modified_performing_person": true,
  "event_people_limit": 42,
  "event_people_min_limit": 42,
  "booking_schedule": {
    "id": 42,
    "start_time": "2025-05-04T09:42:00Z",
    "end_time": "2025-05-04T09:42:00Z",
    "generated_until": "2025-05-04T09:42:00Z",
    "generate_ignore_sys_calendar": true,
    "generate_hour_start": "2025-05-04T09:42:00Z",
    "generate_hour_end": "2025-05-04T09:42:00Z",
    "generate_day_of_week": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "deleted": true
  },
  "searching_for_performing_person": true,
  "created": "2025-05-04T09:42:00Z",
  "updated": "2025-05-04T09:42:00Z",
  "name": "string",
  "deleted": true,
  "color": "string",
  "fg_color": "string"
}