Trip PNRs

Create PNR

Create a new Passenger Name Record (PNR). A PNR represents a booking (air, hotel, rail, or car) made on the Spotnana platform. You can also use this endpoint to import bookings made from external sources into the Spotnana platform.

post/v3/trips/{tripId}/pnrs

Request body

versioninteger

Current PNR version. This field is used for handling conflicts in case of concurrent updates. This should be sent unmodified in update request.

createdVia'OFFLINE' | 'OBT' | 'SHELL' | 'PASSIVE' | 'API'

Indicates the source of creation of PNR, like SHELL, OBT, etc.

initialVersionCreatedVia'OFFLINE' | 'OBT' | 'SHELL' | 'PASSIVE' | 'API'

Indicates the source of creation of PNR, like SHELL, OBT, etc.

invoiceDelayedBookingboolean

True if the billing is delayed

isFinalizedboolean

Indicates if finalize action has been performed on the pnr.

bookingStatus'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

contactSupportboolean

Set to true if there might be an issue in the PNR for which the user should be warned to contact TMC support.

travelerPnrVisibilityStatus'VISIBLE' | 'HIDDEN'

Represents the PNR visibility status, if marked as HIDDEN should not be displayed to the traveler

cancellationRequestStatus'CANCELLATION_IN_PROGRESS' | 'CANCELLATION_BY_AGENT_REQUESTED'

Status of in progress cancellation request CANCELLATION_IN_PROGRESS - Cancellation request is in progress via OBT CANCELLATION_BY_AGENT_REQUESTED - Cancellation request is in progress via agent

tripIdstring

Spotnana trip ID to which the PNR belongs to

pnrIdstring

Spotnana PNR ID

dkNumberstring

DK number attached to the PNR.

suspendReason'AIR_PRICE_OPTIMIZATION' | 'EXCHANGE' | 'GDS_EXCHANGE' | 'PRICE_OPTIMIZATION'

Reason for suspending the pnr

state'ITINERARY' | 'PNR'

State of the PNR

Response

Created

idstring

Changes

Changed in 5 of the 6 revisions of this API.216212

  • df8931fb2aca251See the full diff
    • the request property ////// became required

      request-property-became-required

    • the request property ////// became required

      request-property-became-required

    • added the new optional request property ///

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ////

      new-optional-request-property

    • the request property /// became optional

      request-property-became-optional

    • the request property /////// became optional

      request-property-became-optional

    • the request property /////// became optional

      request-property-became-optional

    • the request property /////// became optional

      request-property-became-optional

    • the request property ////// became optional

      request-property-became-optional

    • the request property ////// became optional

      request-property-became-optional

    • the request property ////// became optional

      request-property-became-optional

    • the request property /////// became optional

      request-property-became-optional

    • the request property ////// became optional

      request-property-became-optional

    • the request property ////// became optional

      request-property-became-optional

    • the request property ////// became optional

      request-property-became-optional

    • added the new CAR_MODIFIED enum value to the request property ////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property //////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property //////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property //////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property //////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property //////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ///////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property /////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property ////////

      request-property-enum-value-added

    • added the new HILTON enum value to the request property //////

      request-property-enum-value-added

    • added the new KNOWLEDGE_BASE enum value to the request property ///

      request-property-enum-value-added

  • ac03100c629a1621See the full diff
    • changed the pattern of the request property //////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property //////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property //////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property //////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • changed the pattern of the request property ///////////// from ^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$ to ^([01][0-9]|2[0-4]):([0-5][0-9])(:([0-5][0-9]))?$

      request-property-pattern-changed

    • added the new AMADEUS_NDC enum value to the request property /////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property //////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property //////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property //////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property //////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property //////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property /////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property /////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property /////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property /////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property /////////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ///////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property /////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property ////////

      request-property-enum-value-added

    • added the new AMADEUS_NDC enum value to the request property //////

      request-property-enum-value-added

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new PRICE_OPTIMIZATION enum value to the request property

      request-property-enum-value-added

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property ////

      new-optional-request-property

    • added the new optional request property ////

      new-optional-request-property

    • added the new optional request property ////

      new-optional-request-property

    • added the new optional request property ////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ///////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ///////////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////////

      new-optional-request-property

    • added the new optional request property ///////////

      new-optional-request-property

    • added the new optional request property ///////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property /////////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property //////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////////

      new-optional-request-property

    • added the new optional request property ////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property //////

      new-optional-request-property

    • added the new optional request property ///

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property

    • added the new optional request property ///////

      new-optional-request-property