APIs to manage trips and PNRs.
curl -i -X POST \
https://apis.spotnana.com/v3/trips/users/4974a66b-7493-4f41-908c-58ba81093947/list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"paginationRequestParams": {
"offset": 0,
"limit": 100
},
"includePnrSummaries": true,
"tripFilters": [
{
"filterType": "string",
"userIds": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
],
"sortOptions": [
{
"sortField": "START_DATE",
"sortOrder": "DESC"
}
]
}'
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ { … } ], "failedTripSummaries": [ { … } ] }
curl -i -X POST \
https://apis.spotnana.com/v3/trips/companies/4974a66b-7493-4f41-908c-58ba81093947/list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"paginationRequestParams": {
"offset": 0,
"limit": 100
},
"includePnrSummaries": true,
"tripFilters": [
{
"filterType": "string",
"userIds": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
],
"sortOptions": [
{
"sortField": "START_DATE",
"sortOrder": "DESC"
}
]
}'
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ { … } ], "failedTripSummaries": [ { … } ] }
curl -i -X POST \
https://apis.spotnana.com/v3/trips/arrangers/4974a66b-7493-4f41-908c-58ba81093947/list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"paginationRequestParams": {
"offset": 0,
"limit": 100
},
"includePnrSummaries": true,
"tripFilters": [
{
"filterType": "string",
"userIds": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
],
"sortOptions": [
{
"sortField": "START_DATE",
"sortOrder": "DESC"
}
]
}'
{ "paginationResponseParams": { "totalNumResults": 0 }, "tripSummaries": [ { … } ], "failedTripSummaries": [ { … } ] }