APIs to create and manage events.
curl -i -X POST \
'https://apis.spotnana.com/v2/events/6926658168/cancel?type=GENERIC' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Indicates from where in the list of travelers the server should start.
Maximum number of results to be fetched for the query.
curl -i -X POST \
https://apis.spotnana.com/v2/events/6926658168/travelers-list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"offset": 2,
"limit": 2,
"type": "GENERIC",
"filters": [
{
"type": "string",
"searchTerm": "name"
}
]
}'
{ "travelerEventInfos": [ { … } ], "userGroupInfo": { "userGroupCriteria": [ … ], "userIds": [ … ] }, "paginationParams": { "totalNumResults": 0 } }
List of custom field responses for an event.
The unique identifier for the custom field.
Responses selected by the event coordinator.
curl -i -X PUT \
https://apis.spotnana.com/v2/events/6926658168/custom-field-responses \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"eventCustomFieldResponses": [
{
"customFieldId": "f49d00fe-1eda-4304-ba79-a980f565281d",
"responseItems": [
{
"response": "Leisure travel",
"additionalInput": "20"
}
],
"travelerAccess": "HIDDEN"
}
]
}'