{
    "registrationUrl": "string",
    "bookingObject": {
        "invoiceAddress": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river"
        },
        "booker": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river"
        },
        "tickets": [
            {
                "caption": "Get drinks",
                "deadline": "2024-10-10T10:10:10.000Z",
                "objectType": {
                    "objectId": "651d88965302ac5de5cec83d",
                    "type": "event"
                },
                "peopleId": "65322ee0e2116fda63105acd",
                "state": ""
            }
        ],
        "miscellaneous": "string",
        "utmMedium": "string",
        "utmSource": "string",
        "utmCampaign": "string",
        "bookingConsentText": "string",
        "customFieldAnswers": [
            {
                "label": "string",
                "kind": "string",
                "answer": "string"
            }
        ],
        "invitationId": "string"
    }
}curl --location --request POST 'https://api.cobra.de/v1/events/websites/public/bookings' \
--header 'X-Integration-Name: API Documentation' \
--header 'X-Integration-Provider: cobra GmbH' \
--header 'X-Cobra-TenantId: 12e39e53-ece1-4d8d-8958-e782de1dbef0' \
--header 'X-Integration-Contact: info@cobra.de' \
--header 'Accept-Language: de' \
--header 'Content-Type: application/json' \
--data-raw '{
    "registrationUrl": "string",
    "bookingObject": {
        "invoiceAddress": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river"
        },
        "booker": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river"
        },
        "tickets": [
            {
                "caption": "Get drinks",
                "deadline": "2024-10-10T10:10:10.000Z",
                "objectType": {
                    "objectId": "651d88965302ac5de5cec83d",
                    "type": "event"
                },
                "peopleId": "65322ee0e2116fda63105acd",
                "state": ""
            }
        ],
        "miscellaneous": "string",
        "utmMedium": "string",
        "utmSource": "string",
        "utmCampaign": "string",
        "bookingConsentText": "string",
        "customFieldAnswers": [
            {
                "label": "string",
                "kind": "string",
                "answer": "string"
            }
        ],
        "invitationId": "string"
    }
}'{
    "data": {
        "id": "123456789012345678901234",
        "createdBy": "Username",
        "modifiedBy": "Username",
        "dateCreated": "2024-02-19T08:57:43.041Z",
        "dateModified": "2024-02-19T08:57:43.041Z",
        "createdByUserId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
        "modifiedByUserId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
        "invoiceAddress": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river",
            "countryLocalized": "string"
        },
        "booker": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river",
            "countryLocalized": "string"
        },
        "tickets": [
            {
                "ticketId": "string",
                "eventId": "string",
                "eventName": "string",
                "ticketCategoryId": "string",
                "ticketName": "string",
                "description": "string",
                "price": 0,
                "netPrice": 0,
                "priceID": "string",
                "currency": "string",
                "startDate": "2019-08-24T14:15:22Z",
                "endDate": "2019-08-24T14:15:22Z",
                "location": "string",
                "statusLocalized": "string",
                "status": 0,
                "paymentItemInformation": {
                    "actualPrice": 0
                },
                "participant": {
                    "company": "Sample Company Ltd",
                    "department": "Marketing",
                    "valueAddedTaxIDNumber": "DE 123456789",
                    "jobTitle": "CTO",
                    "salutation": "Mrs",
                    "title": "Dr.",
                    "firstName": "Jane",
                    "lastName": "Doe",
                    "email": "j.doe@samplecompany.com",
                    "phone": "0049515498765402",
                    "countryCode": "DE",
                    "address": "Sample Street 98",
                    "addressAdditional": "appartment B",
                    "zipCode": "12345",
                    "city": "Town upon river",
                    "countryLocalized": "string"
                },
                "onlineDetailParticipationLink": "string",
                "customFieldAnswers": [
                    {
                        "label": "string",
                        "kind": "string",
                        "answer": "string"
                    }
                ]
            }
        ],
        "miscellaneous": "string",
        "utmMedium": "string",
        "utmSource": "string",
        "utmCampaign": "string",
        "bookingConsentText": "string",
        "paymentInformation": {
            "paymentType": 0,
            "paymentTypeLocalized": "string",
            "paymentStatus": 0,
            "paymentStatusLocalized": "string",
            "invoiceNumber": "string",
            "onlinePaymentInformation": {
                "paymentIntentID": "string",
                "checkoutSessionID": "string",
                "invoiceAmount": 0,
                "totalDiscount": 0,
                "paymentMethod": "string",
                "paymentMethodLocalized": "string",
                "paymentDate": "2019-08-24T14:15:22Z",
                "invoiceUrl": "string",
                "invoiceFileUrl": "string"
            }
        },
        "orderNumber": "string",
        "registrationLink": "string",
        "portalUrl": "string",
        "registrationDate": "2019-08-24T14:15:22Z",
        "customFieldAnswers": [
            {
                "label": "string",
                "kind": "string",
                "answer": "string"
            }
        ],
        "invitationId": "string"
    },
    "message": "string",
    "metaData": {
        "totalResults": 0,
        "responseTimeStamp": "2019-08-24T14:15:22Z"
    },
    "statusCode": 0
}