APIs to manage trips.
curl -i -X GET \
'https://apis.spotnana.com/v2/pnrs?externalId=external-pnr-id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "pnrId": "1234567890", "tripId": "1234567890" }
curl -i -X GET \
'https://apis.spotnana.com/v2/pnrs/search?inputType=SOURCE_PNR&searchText=MDIB5C' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "pnrId": "1234567890", "tripId": "1234567890" }
curl -i -X GET \
https://apis.spotnana.com/v2/trips/2398199412 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "tripId": "6926658168", "tripName": "JFK SFO Trip", "tripDescription": "JFK SFO Business Trip", "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5", "startDate": { "iso8601": "2017-07-21" }, "endDate": { "iso8601": "2017-07-21" }, "userId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "registrarUserId": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "tripMetadata": { "hasTripOverride": true, "preferredCurrency": "USD", "tripContacts": [ … ] }, "tripDisabledInfo": { "disabledReason": "MAX_BOOKINGS_EXCEEDED", "isDisabled": false } }