Retrieves trip info by ID.
Deprecation notice
The Get Trip /v2/trips/{tripId} endpoint has been deprecated. Use the new Get trip details /v3/trips/{tripId}/detail endpoint instead.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/trips/{tripId}
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/tripapi/v2/trips/{tripId}
curl -i -X GET \
https://api-ext-sboxmeta.partners.spotnana.com/v2/trips/2398199412 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
Information regarding whether the trip is disabled and if so, the reason why.
Header images for the trip, selected by backend based on trip destinations.
Response
{ "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": [ … ], "tripCommunicationPreferences": { … } }, "tripDisabledInfo": { "disabledReason": "MAX_BOOKINGS_EXCEEDED", "isDisabled": false }, "stealthType": "STEALTH_TYPE_1", "stealthMode": { "stealthType": "STEALTH_TYPE_1", "label": "string" }, "tripLocations": [ { … } ], "tripHeaderImages": [ { … } ] }