Trips

Get trip details

Changed on

This endpoint gets trip details for a given trip ID. {% admonition type="info" %} Note: For air bookings made via Travelfusion (i.e., pnrs.data.sourceInfo.bookingSource: TRAVEL_FUSION) the refundPolicy and exchangePolicy fields will be empty. {% /admonition %}

get/v3/trips/{tripId}/detail

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

Path parameters

tripIdstring required
Example:6926658168

Trip ID

Query parameters

refreshType'REFRESH_TYPE_BLOCKING' | 'REFRESH_TYPE_ASYNC' | 'REFRESH_TYPE_DISABLED'

Refresh Type:

  • REFRESH_TYPE_BLOCKING - Block the read call, till the PNRs are refreshed.
  • REFRESH_TYPE_ASYNC - Refresh the PNRs asynchronously and return the previous PNR versions.
  • REFRESH_TYPE_DISABLED - Disable trip refresh for the read call.
Example:REFRESH_TYPE_BLOCKING

Refresh Type

fetchMappedDataboolean

If true, fetch PNRs from already mapped data present in DB

Response

OK

tripStatus'PENDING' | 'CONFIRMED' | 'ACTIVE' | 'COMPLETED' | 'CANCELLED' | 'REFUNDED' | 'VOIDED' | 'PROCESSING' | 'UNCONFIRMED' | 'AIRLINE_CONTROL' | 'PAYMENT_DECLINED' | 'SCHEDULE_CHANGE' | 'UNKNOWN' | 'HOLD' | 'APPROVAL_REQUESTED' | 'APPROVAL_DENIED' | 'CANCELLATION_IN_PROGRESS' | 'INOPERATIVE_STATUS' | 'FLIGHT_UNCONFIRMED_STATUS'

User facing status for this booking

tripBookingStatus'UNKNOWN_STATUS' | 'PENDING_STATUS' | 'CONFIRMED_STATUS' | 'ACTIVE_STATUS' | 'COMPLETED_STATUS' | 'CANCELLED_STATUS' | 'REFUNDED_STATUS' | 'VOIDED_STATUS' | 'PROCESSING_STATUS' | 'UNCONFIRMED_STATUS' | 'AIRLINE_CONTROL_STATUS' | 'PAYMENT_DECLINED_STATUS' | 'SCHEDULE_CHANGE_STATUS' | 'HOLD_STATUS' | 'APPROVAL_REQUESTED_STATUS' | 'APPROVAL_DENIED_STATUS' | 'CANCELLATION_IN_PROGRESS_STATUS' | 'INOPERATIVE_STATUS' | 'FLIGHT_UNCONFIRMED_STATUS'

User facing booking status

addManualCreditDisabledboolean

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.

Changes

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    48 more changes in this revision