This endpoint gets trip details for a given trip ID.
Note: For air bookings made via Travelfusion (i.e., pnrs.data.sourceInfo.bookingSource: TRAVEL_FUSION) the refundPolicy and exchangePolicy fields will be empty.
Security
Bearer
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v3/trips/{tripId}/detail
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/tripapi/v3/trips/{tripId}/detail
curl -i -X GET \
'https://api-ext-sboxmeta.partners.spotnana.com/v3/trips/6926658168/detail?refreshType=REFRESH_TYPE_BLOCKING&fetchMappedData=false' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
User facing booking status
Enum:"UNKNOWN_STATUS""PENDING_STATUS""CONFIRMED_STATUS""ACTIVE_STATUS""COMPLETED_STATUS""CANCELLED_STATUS""REFUNDED_STATUS""VOIDED_STATUS""PROCESSING_STATUS""UNCONFIRMED_STATUS"
Example:"PENDING_STATUS"
Payment info for a given trip. Fares of pending manual form and pending shell pnrs are not considered.
When true, the agent "add manual credit" action is disabled on the Trips page because the trip traveler's home legal-entity market is not in the company's supported set.
Response
{ "basicTripInfo": { "tripId": "6926658168", "tripName": "JFK SFO Trip", "tripDescription": "JFK SFO Business Trip", "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5", "startDate": { … }, "endDate": { … }, "userId": { … }, "registrarUserId": { … }, "tripMetadata": { … }, "tripDisabledInfo": { … }, "stealthType": "STEALTH_TYPE_1", "stealthMode": { … }, "tripLocations": [ … ], "tripHeaderImages": [ … ] }, "pnrs": [ { … } ], "pendingShellPnrs": [ { … } ], "pendingManualFormPnrs": [ { … } ], "tripStatus": "CONFIRMED", "tripBookingStatus": "PENDING_STATUS", "eventSummary": { "id": "12345", "type": "GENERIC", "name": "My event", "description": "This is an event description", "startDateTime": { … }, "endDateTime": { … }, "location": { … }, "contacts": [ … ], "documents": [ … ], "bookingGuidelines": [ … ], "allowedBookingTypes": [ … ], "eventUserRsvp": { … }, "contactInfoList": [ … ], "companyId": { … }, "runningStatus": "UPCOMING", "status": "DRAFT", "isRemovedParticipant": true, "inviteEmailConfig": { … }, "parentEventId": "56789012", "bookingStyle": "SELF_SERVE", "allowTravelersToRsvp": "ALLOWED" }, "simplePnrs": [ { … } ], "additionalInfo": { "vpayBillBack": "B" }, "tripPaymentInfo": { "totalFare": { … }, "totalFareAmount": { … }, "serviceFeeFareAmount": { … } }, "addManualCreditDisabled": true }