Test adding a new BaseEventSignUp as trainer

POST /api/event/trainer/test_base_event_signup

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

application/json

Body Required

  • data object
    Hide data attributes Show data attributes object
    • first_name string
    • last_name string
    • gender string
    • deletion_reason string
    • direct_billing boolean
    • direct_billing_check_date string(date-time)
    • direct_billing_token string
    • birthday string(date-time)
    • known_allergies string
    • confirmed_no_allergies boolean
    • allow_photos boolean
    • allow_child_alone boolean
    • authorized_pickup string
    • needs_support boolean
    • support_description string
    • financial_support boolean
    • financial_support_number string
    • municipal_support boolean
    • municipal_support_number string
    • grade_level integer
    • school_class string
    • confirmed_disclaimer boolean
    • confirmed_privacy boolean
    • confirmed_cancellation_policy boolean
    • free_note_one string
    • free_note_two string
    • free_note_three string
    • free_note_four string
    • invoice_products array[object]
    • self_check_in boolean
    • self_check_out boolean
    • main_phone string
    • main_fax string
    • main_email string
    • website string
    • base_event object
      Hide base_event attributes Show base_event attributes object
      • id integer
      • main_phone string
      • main_fax string
      • main_email string
      • website string
    • base_booking object
      Hide base_booking attributes Show base_booking attributes object
      • id integer
      • base_event object
        Hide base_event attributes Show base_event attributes object
        • id integer
        • main_phone string
        • main_fax string
        • main_email string
        • website string

Responses

  • 200 application/json

    Test adding a new BaseEventSignUp as trainer

    Hide response attributes Show response attributes object
    • signup_allowed boolean
    • signup_waitlist_allowed boolean
POST /api/event/trainer/test_base_event_signup
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/event/trainer/test_base_event_signup' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"first_name":"string","last_name":"string","gender":"string","deletion_reason":"string","direct_billing":true,"direct_billing_check_date":"2025-05-04T09:42:00Z","direct_billing_token":"string","birthday":"2025-05-04T09:42:00Z","known_allergies":"string","confirmed_no_allergies":true,"allow_photos":true,"allow_child_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","confirmed_disclaimer":true,"confirmed_privacy":true,"confirmed_cancellation_policy":true,"free_note_one":"string","free_note_two":"string","free_note_three":"string","free_note_four":"string","invoice_products":[{}],"self_check_in":true,"self_check_out":true,"main_phone":"string","main_fax":"string","main_email":"string","website":"string","base_event":{"id":42,"main_phone":"string","main_fax":"string","main_email":"string","website":"string"},"base_booking":{"id":42,"base_event":{"id":42,"main_phone":"string","main_fax":"string","main_email":"string","website":"string"}}}}'
Request examples
{
  "data": {
    "first_name": "string",
    "last_name": "string",
    "gender": "string",
    "deletion_reason": "string",
    "direct_billing": true,
    "direct_billing_check_date": "2025-05-04T09:42:00Z",
    "direct_billing_token": "string",
    "birthday": "2025-05-04T09:42:00Z",
    "known_allergies": "string",
    "confirmed_no_allergies": true,
    "allow_photos": true,
    "allow_child_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",
    "confirmed_disclaimer": true,
    "confirmed_privacy": true,
    "confirmed_cancellation_policy": true,
    "free_note_one": "string",
    "free_note_two": "string",
    "free_note_three": "string",
    "free_note_four": "string",
    "invoice_products": [
      {}
    ],
    "self_check_in": true,
    "self_check_out": true,
    "main_phone": "string",
    "main_fax": "string",
    "main_email": "string",
    "website": "string",
    "base_event": {
      "id": 42,
      "main_phone": "string",
      "main_fax": "string",
      "main_email": "string",
      "website": "string"
    },
    "base_booking": {
      "id": 42,
      "base_event": {
        "id": 42,
        "main_phone": "string",
        "main_fax": "string",
        "main_email": "string",
        "website": "string"
      }
    }
  }
}
Response examples (200)
{
  "signup_allowed": true,
  "signup_waitlist_allowed": true
}