APIs to create and manage events.
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 } }
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"
}
],
"customFieldV3Responses": [
{
"fieldId": "84922011-b03d-4966-bc95-c5b49bc2e342",
"fieldName": "string",
"armId": "0fd508db-63ff-4444-bfb1-b89c43061433",
"readOnly": true,
"hidden": true,
"selectedOptions": [
{
"name": "string",
"description": "string",
"additionalUserInput": "string",
"additionalInfos": [
"string"
],
"additionalInfoConfigs": [
{
"type": "VARIABLE",
"name": "PUBLISHED_FARE"
}
]
}
]
}
]
}'
List of events to be published.
Flag to indicate if an invite should be sent.
List of users receiving the invite. - If provided, invites will be sent only to the specified users. - If empty or not provided, invites will be sent to all users.
curl -i -X POST \
https://apis.spotnana.com/v2/events/bulk-publish \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"publishEventList": [
{
"id": "56789012",
"sendInvite": true,
"userIds": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"type": "GENERIC"
}
]
}'
{ "publishEventResponses": [ { … } ] }