POST - https://staging.subscribercrmapi.acamh.org/api/neweventbooking

Adds a new event booking to SubscriberCRM. This will create a new event booking directly, complete with any delegates and sub event booking.

{
"EventBooking": {
"Id": null,
"EventId": 1234,
"ContactId": 5678,
"BookingDate": "2024-11-23T22:20:31.7674501+00:00",
"OrderNumber": "",
"Title": "Mr",
"FirstName": "Bruce",
"Surname": "Wayne",
"ContactName": "",
"Position": "",
"Department": "",
"Organisation": "",
"AddressLine1": "1 Main Street",
"AddressLine2": "",
"AddressLine3": "",
"Town": "London",
"CountyId": -1,
"Postcode": "AB12 3CD",
"CountryId": -1,
"Phone": "",
"Mobile": null,
"Email": "",
"BookingMethodId": -1,
"BookingWhereHeardId": -1,
"Notes": "",
"EventDelegates": [
{
"ContactId": 5678,
"Title": "Mr",
"FirstName": "Bruce",
"Surname": "Wayne",
"Position": "",
"Department": "",
"Organisation": "",
"AddressLabel": "",
"AddressLine1": "1 Main Street",
"AddressLine2": "",
"AddressLine3": "",
"Town": "London",
"CountyId": -1,
"Postcode": "AB12 3CD",
"CountryId": -1,
"Phone": "",
"Mobile": null,
"Email": "",
"Notes": "",
"AccessRequirements": "",
"DietaryRequirements": "",
"SubEventBookings": [
{
"SubEventId": 1234,
"UnitAmount": 50.0,
"DiscountAmount": 0.0,
"Quantity": 1,
"IsChairperson": false,
"IsSpeaker": false,
"SubEventRateId": null,
"Notes": "",
"IsAttended": true,
"GroupNumber": "",
"SeatNumber": ""
}
]
}
]
},
"Payment": {
"Id": null,
"ContactId": 0,
"DemandId": null,
"DonationId": null,
"Amount": 50.0,
"TransactionDate": "2024-11-23T22:20:31.7674501+00:00",
"Comments": "ABC123",
"PaymentMethodId": 1
}
}