POST https://api.zoined.com/bookings?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
A (string, optional) - Optional ID for the event this booking is done for.
Example:"123"
Currency as ISO 4217 currency code. Required if multiple currencies are used.
Example:"EUR"
- Mock serverhttps://zapi-api.zoined.com/_mock/bookings
- https://api.zoined.comhttps://api.zoined.com/bookings
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/bookings?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"booking_id": "er/232/f31",
"booking_line_id": "1",
"customer_id": "32",
"product_id": "XYZ",
"event_id": "123",
"organisation_id": "540",
"department_id": "54011",
"salesperson_id": "5402101",
"booked_quantity": 2,
"number_of_guests": 2,
"number_of_visits": 2,
"sales_value": 20,
"sales_value_wo_vat": 20,
"currency": "EUR",
"canceled": false,
"booking_date": "2020-03-01",
"booking_time": "15:00:00",
"event_start_date": "2020-03-10",
"event_start_time": "15:00:00",
"event_end_date": "2020-03-11",
"event_end_time": "15:00:00",
"booking_type": "event",
"custom_field_1": "EU only",
"custom_field_2": "EU only",
"custom_field_3": "EU only",
"custom_field_4": "EU only",
"custom_field_5": "EU only",
"custom_metric_1": 1,
"custom_metric_2": 100,
"custom_metric_3": 2.2,
"custom_metric_4": 1.05,
"custom_metric_5": 10000,
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }