{
"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"
}
curl --location -g --request POST 'https://api.cobra.de/v1/events/bookings/tickets/{ticketId}/participant' \
--header 'X-Integration-Name: API Documentation' \
--header 'X-Integration-Provider: cobra GmbH' \
--header 'X-Cobra-TenantId: 12e39e53-ece1-4d8d-8958-e782de1dbef0' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
}'
{
"data": {
"id": "string",
"createdBy": "string",
"modifiedBy": "string",
"dateCreated": "2019-08-24T14:15:22Z",
"dateModified": "2019-08-24T14:15:22Z",
"createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
"modifiedByUserId": "17fb13b8-2d9d-45c1-bbdd-46882998f972",
"caption": "Get drinks",
"deadline": "2022-10-10T10:10:10.000Z",
"objectType": {
"caption": "Barbecue",
"objectId": "651d88965302ac5de5cec83d",
"type": "event"
},
"peopleId": "65322ee0e2116fda63105acd",
"state": "New"
},
"message": "string",
"metaData": {
"totalResults": 0,
"responseTimeStamp": "2019-08-24T14:15:22Z"
},
"statusCode": 0
}