APIs to create and manage events.
Allowed event rsvp states for a user
curl -i -X POST \
https://apis.spotnana.com/v2/events/6926658168/travelers/f49d00fe-1eda-4304-ba79-a980f565281d/rsvp \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "GENERIC",
"eventRsvpState": "ADDED",
"eventRsvpResponse": {
"air": {
"notNeeded": true
},
"hotel": {
"notNeeded": true
},
"car": {
"notNeeded": true
},
"rail": {
"notNeeded": true
}
}
}'
curl -i -X GET \
https://apis.spotnana.com/v2/events/6926658168/travelers/f49d00fe-1eda-4304-ba79-a980f565281d/rsvp \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
Allowed event rsvp states for a user
Booking status of the travel.
Booking status of the travel.
Booking status of the travel.
{ "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "eventRsvpState": "ADDED", "eventRsvpResponse": { "air": { … }, "hotel": { … }, "car": { … }, "rail": { … } }, "invitedAt": { "iso8601": "2017-07-21T17:32Z" }, "airBookingStatus": "BOOKED", "railBookingStatus": "BOOKED", "carBookingStatus": "BOOKED", "hotelBookingStatus": "BOOKED" }
curl -i -X POST \
https://apis.spotnana.com/v2/events/6926658168/invite/send \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "GENERIC",
"userIds": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}'