API reference
/Events
/- Update event booking guidelines
Create event
Get event
Delete a draft event
Get event by external ID
Add travelers to an event
Remove travelers from an event
List events
Publish event
Edit basic details of an event
Set traveler RSVP
Get traveler RSVP
Send invite
Send a test invite
Get event summaries
Get allowed payment sources
Cancel event
Get travelers list
Update event custom field responses
Bulk publish events
Bulk edit/modify events.
Bulk delete draft events
Bulk cancel events
Register for event
Get current details of an async event job.
Update event booking guid...
Update the booking guidelines for an event. You can update booking guidelines such as maximum number of guests allowed to accompany a traveler, arrival and departure window for the event, payment methods, and allowed travel types.
Security
Bearer
A list of booking guideline for the event.
Allowed payment configuration for the event template
Mappings i.e. access level, travel type information etc.
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/events/{eventId}/edit-booking-guidelines
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/eventapi/v2/events/{eventId}/edit-booking-guidelines
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/events/6926658168/edit-booking-guidelines \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"bookingGuidelines": [
{
"airBookingGuideLine": {
"allowedAirports": [
{
"airportCode": "WRA",
"airportName": "Warder Airport",
"cityName": "Werder",
"countryName": "Ethiopia",
"countryCode": "ET",
"zoneName": "Africa/Addis_Ababa",
"stateCode": "CA"
}
],
"allowedCityCodes": [
"NYC"
],
"arrivalBookingWindow": {
"startDateTime": {
"iso8601": "2017-07-21T17:32"
},
"endDateTime": {
"iso8601": "2017-07-21T17:32"
}
},
"departureBookingWindow": {
"startDateTime": {
"iso8601": "2017-07-21T17:32"
},
"endDateTime": {
"iso8601": "2017-07-21T17:32"
}
},
"allowedFlightGuidelines": [
{
"allowedFlightType": "ROUND_TRIP",
"numberOfLegs": 2
}
]
}
}
],
"allowedBookingTypes": [
"AIR"
],
"allowedPaymentConfig": [
{
"travelType": "AIR",
"paymentConfig": "TRAVELER_DEFAULT"
}
],
"paymentMappings": [
{
"id": "f49d00fe-1eda-4304-ba79-a980f565281d",
"accessTypeAttributes": {
"travelTypeFilter": {
"travelTypes": [
{
"travelType": "AIR",
"isRequired": true,
"allowPostPaidBookings": false,
"metadata": {
"vendors": []
}
}
]
}
}
}
],
"eventType": "GENERIC"
}'