TUI Group Booking/boardingpasses API

The booking/boardingpasses API from TUI Group — 4 operation(s) for booking/boardingpasses.

Operations 4

POST /api/nsk/v3/booking/boardingpasses/journey/{journeyKey} Retrieves the version of the boarding passes based on a specific journey. #
POST /api/nsk/v1/booking/boardingpasses/m2d/journey/{journeyKey} Retrieves the specific journeys boarding passes using the M2D barcode type. This endpoint will only give a single barcode back even if the journey contains multiple segments. Note #
POST /api/nsk/v1/booking/boardingpasses/s2d/journey/{journeyKey} Retrieves the specific journeys boarding passes for each segment using the S2D barcode type. This endpoint will provide a single barcode for each segment. #
POST /api/nsk/v3/booking/boardingpasses/segment/{segmentKey} Retrieves the version of the boarding passes based on a specific segment. #

Documentation

📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/get-started
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/simple-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/advanced-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/creditcard-payments
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/backwards-compatibility
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/get-started
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/check-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/backwards-compatibility
📖
Documentation
https://developer.tui/api-catalog/newskies-payment-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-payment-api/booking-flow
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/description
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/api-details
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/code-examples
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/api-onepager
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/description
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/data-format
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/api-description
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/api-details
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/tui-flight-ota-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/technical-details
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-description
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-details
📖
Documentation
https://developer.tui/api-catalog/walldy-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-onepager
📖
Documentation
https://developer.tui/api-catalog/walldy-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/api-description
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/meta-search-generic-api/api-description
📖
Documentation
https://developer.tui/api-catalog/partner-content-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ship-content-api/api-description

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tui-group-booking-boardingpasses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tui-group-booking-boardingpasses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NewSkies-Digital-Api Booking/boardingpasses API
  version: 4.8.6.23
  description: Navitaire Digital Api
servers:
- url: https://prod.api.tui/flight/newskies/rest
  description: TUI Prod
- url: https://playground.api.tui/flight/newskies/rest
  description: TUI Playground
security:
- JWT: []
tags:
- name: booking/boardingpasses
paths:
  /api/nsk/v3/booking/boardingpasses/journey/{journeyKey}:
    post:
      tags:
      - booking/boardingpasses
      summary: Retrieves the version of the boarding passes based on a specific journey.
      description: 'GraphQL endpoint: boardingPassByJourneyv3'
      operationId: nsk_v3_booking_boardingpasses_journey_journeyKey_post
      parameters:
      - name: journeyKey
        in: path
        required: true
        description: The journey to retrieve boarding passes for.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: The passenger/segment filter request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardingPassFilterRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfBoardingPassesCollectionv2'
        '400':
          description: There was a problem with the request and it could not be completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '403':
          description: Role permissions are not met.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/nsk/v1/booking/boardingpasses/m2d/journey/{journeyKey}:
    post:
      tags:
      - booking/boardingpasses
      summary: 'Retrieves the specific journeys boarding passes using the M2D barcode type. This endpoint will only give a single

        barcode back even if the journey contains multiple segments. Note that if the journey has only one segment the M2D

        barcode will look just like the S2D barcode.'
      description: 'GraphQL endpoint: boardingPassByJourneyForPassengerM2D'
      operationId: nsk_v1_booking_boardingpasses_m2d_journey_journeyKey_post
      parameters:
      - name: journeyKey
        in: path
        required: true
        description: The specific journey to get boarding passes for.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: The boarding pass passenger filter request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardingPassPassengerFilterRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfBoardingPassesM2D'
        '400':
          description: There was a problem with the request and it could not be completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '403':
          description: Role permissions are not met.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/nsk/v1/booking/boardingpasses/s2d/journey/{journeyKey}:
    post:
      tags:
      - booking/boardingpasses
      summary: 'Retrieves the specific journeys boarding passes for each segment using the S2D barcode type. This endpoint will

        provide a single barcode for each segment.'
      description: 'GraphQL endpoint: boardingPassByJourneyForPassengerS2D'
      operationId: nsk_v1_booking_boardingpasses_s2d_journey_journeyKey_post
      parameters:
      - name: journeyKey
        in: path
        required: true
        description: The specific journey to get boarding passes for.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: The boarding pass passenger filter request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardingPassPassengerFilterRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfBoardingPassesS2D'
        '400':
          description: There was a problem with the request and it could not be completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '403':
          description: Role permissions are not met.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/nsk/v3/booking/boardingpasses/segment/{segmentKey}:
    post:
      tags:
      - booking/boardingpasses
      summary: Retrieves the version of the boarding passes based on a specific segment.
      description: 'GraphQL endpoint: boardingPassBySegmentv3'
      operationId: nsk_v3_booking_boardingpasses_segment_segmentKey_post
      parameters:
      - name: segmentKey
        in: path
        required: true
        description: The segment to retrieve boarding passes for.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: The passenger filter request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BoardingPassPassengerFilterRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfBoardingPassesCollectionv2'
        '400':
          description: There was a problem with the request and it could not be completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '403':
          description: Role permissions are not met.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
components:
  schemas:
    TransportationIdentifier:
      type: object
      description: "Represents the transportation identifier model data.\n            "
      additionalProperties: false
      required:
      - identifier
      - carrierCode
      properties:
        identifier:
          type: string
          description: "The unique transportation identifier.\n            "
          maxLength: 4
          minLength: 0
        carrierCode:
          type: string
          description: "The carrier code.\n            "
          maxLength: 3
          minLength: 2
        opSuffix:
          type:
          - string
          - 'null'
          description: "The op suffix.\nPlease note that this should be a char and not a string.\n            "
          maxLength: 1
    BoardingPassBoardingDetails:
      type: object
      description: "Defines the boarding pass boarding details.\n            "
      additionalProperties: false
      properties:
        boardingSequence:
          type: integer
          description: "The boarding sequence number.\n            "
        boardingZone:
          type: integer
          description: "The boarding zone number.\n            "
        externalBoardingZone:
          type:
          - string
          - 'null'
          description: "The external boarding zone.\n            "
        authorizationList:
          type:
          - array
          - 'null'
          description: "The boarding pass authorization list containing basic authorization information.\n            "
          items:
            $ref: '#/components/schemas/BoardingPassAuthorization'
    WeightType:
      type: integer
      description: "Weight Type enumeration.\n            \n\n0 = Default\n1 = Pounds\n2 = Kilograms"
      x-enumNames:
      - Default
      - Pounds
      - Kilograms
      enum:
      - 0
      - 1
      - 2
    BoardingPassesS2D:
      type: object
      description: "Represents a collection of boarding passes following the S2D bar code format.\n            "
      additionalProperties: false
      properties:
        recordLocator:
          type:
          - string
          - 'null'
          description: "The record locator in reference.\n            "
        currencyCode:
          type:
          - string
          - 'null'
          description: "The currency code.\n            "
        contactPhoneNumber:
          type:
          - string
          - 'null'
          description: "The booking contacts phone number.\n            "
        boardingPasses:
          type:
          - array
          - 'null'
          description: "The collection of boarding passes using S2D bar codes.\n            "
          items:
            $ref: '#/components/schemas/BoardingPassS2D'
    LiftStatus:
      type: integer
      description: "Lift status enumeration.\n            \n\n0 = Default\n1 = CheckedIn\n2 = Boarded\n3 = NoShow"
      x-enumNames:
      - Default
      - CheckedIn
      - Boarded
      - NoShow
      enum:
      - 0
      - 1
      - 2
      - 3
    BaggageStatus:
      type: integer
      description: "Baggage Status enumeration.\n            \n\n0 = Default\n1 = Checked\n2 = Removed\n3 = Added\n4 = AddedPrinted"
      x-enumNames:
      - Default
      - Checked
      - Removed
      - Added
      - AddedPrinted
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
    TransportationDesignator:
      type: object
      description: "Model information about the traveling arrival and destination details.\n            "
      additionalProperties: false
      properties:
        destination:
          type:
          - string
          - 'null'
          description: "Gets or sets the leg arrival station.\n            "
          maxLength: 3
          minLength: 0
        origin:
          type:
          - string
          - 'null'
          description: "Gets or sets the leg departure station.\n            "
          maxLength: 3
          minLength: 0
        arrival:
          type: string
          description: "The arrival date and time local to the arrival station.\n            "
          format: date-time
        departure:
          type: string
          description: "The departure date and time local to the departure station.\n            "
          format: date-time
    BoardingPassInfantDetails:
      type: object
      description: "Defines the boarding pass infant details.\n            "
      additionalProperties: false
      properties:
        name:
          description: "The given name.\n            "
          $ref: '#/components/schemas/Name'
        isoName:
          description: "The given name converted to ISO standard.\n            "
          $ref: '#/components/schemas/Name'
        dateOfBirth:
          type:
          - string
          - 'null'
          description: "The date of birth.\n            "
          format: date-time
        gender:
          description: "The gender.\n            "
          $ref: '#/components/schemas/Gender'
        documents:
          type:
          - array
          - 'null'
          description: "The collection of travel documents.\n            "
          items:
            $ref: '#/components/schemas/PassengerTravelDocument'
    BoardingPassSegment:
      type: object
      description: "Defines the boarding pass segment details.\n            "
      additionalProperties: false
      properties:
        designator:
          description: "The transportation designator details based on the legs.\n            "
          $ref: '#/components/schemas/BoardingPassTransportationDesignator'
        transportationName:
          type:
          - string
          - 'null'
          description: "The name of the transportation company.\n            "
        departureGate:
          type:
          - string
          - 'null'
          description: "The scheduled departure gate.\n            "
        boardingTime:
          type:
          - string
          - 'null'
          description: "The scheduled boarding time.\n            "
          format: date-time
        type:
          description: "The type of the current segment.\n            "
          $ref: '#/components/schemas/SegmentTypes'
        international:
          type: boolean
          description: "Flag indicating if the segment is international.\n            "
        ticketNumber:
          type:
          - string
          - 'null'
          description: "The assigned passengers ticket number.\n            "
        infantTicketNumber:
          type:
          - string
          - 'null'
          description: "The assigned infants ticket number.\n            "
        ticketIndicator:
          type:
          - string
          - 'null'
          description: "The ticket indicator.\n            "
        cabinOfService:
          type:
          - string
          - 'null'
          description: "The assigned to cabin of service.\nPlease note that this should be a char and not a string.\n            "
          maxLength: 1
        classOfService:
          type:
          - string
          - 'null'
          description: "The assigned to class of service.\n            "
        externalClassOfService:
          type:
          - string
          - 'null'
          description: "The externals reference class of service.\n            "
        fareClassName:
          type:
          - string
          - 'null'
          description: "The fare class name.\n            "
        productClassName:
          type:
          - string
          - 'null'
          description: "The product class name.\n            "
        externalRecordLocator:
          type:
          - string
          - 'null'
          description: "The assigned external record locator.\n            "
        program:
          description: "The applied passenger program if one existed.\n            "
          $ref: '#/components/schemas/BoardingPassProgram'
        hasInfant:
          type: boolean
          description: "Flag indicating if this segment has a infant.\n            "
        identifier:
          description: "The transportation identifier details about the segment.\n            "
          $ref: '#/components/schemas/TransportationIdentifier'
        legs:
          type:
          - array
          - 'null'
          description: "The collection of legs.\n            "
          items:
            $ref: '#/components/schemas/BoardingPassLeg'
        externalIdentifier:
          description: "The external transportation identifier details about the segment.\n            "
          $ref: '#/components/schemas/BoardingPassTransportationIdentifier'
        arrivalTime:
          type:
          - string
          - 'null'
          description: "The estimated time of arrival.\nIf the UseEstimatedTimesOnBoardingPass is set to True, the arrival time will be the estimated arrival time.\nIf the UseEstimatedTimesOnBoardingPass is set to False, the arrival time will be the scheduled arrival time.\n            "
          format: date-time
        departureTime:
          type:
          - string
          - 'null'
          description: "The estimated time of departure.\nIf the UseEstimatedTimesOnBoardingPass is set to True, the departure time will be the estimated departure time.\nIf the UseEstimatedTimesOnBoardingPass is set to False, the departure time will be the scheduled departure time.\n            "
          format: date-time
    IJsonResponseOfBoardingPassesM2D:
      type: object
      description: "Defines the JSON response contract.\n            "
      additionalProperties: false
      properties:
        data:
          description: "The payload data.\n            "
          $ref: '#/components/schemas/BoardingPassesM2D'
        errors:
          type:
          - array
          - 'null'
          description: "The collection of errors being thrown.\n            "
          items:
            $ref: '#/components/schemas/ErrorResponse'
        messages:
          type:
          - array
          - 'null'
          description: "The collection of informational messages.\n            "
          items:
            $ref: '#/components/schemas/Message'
    BoardingPassAuthorization:
      type: object
      description: "Defines the boarding pass authorization model.\n            "
      additionalProperties: false
      properties:
        isInfant:
          type: boolean
          description: "Flag indicating if this authorization is for an infant.\n            "
        authorizationStatus:
          type:
          - string
          - 'null'
          description: "The authorization status based on the current security driver. See driver name.\n            "
        driverName:
          type:
          - string
          - 'null'
          description: "The name of the security driver for this government message type. Used for override requests if necessary.\n            "
        boardingPassPrintText:
          type:
          - string
          - 'null'
          description: "The boarding pass print text for the driver. Ex) SSSS for Selectee or TSA pre-check.\n            "
    BoardingPassS2D:
      type: object
      description: "Represents a boarding pass for a specific passenger using the S2D barcode type.\n            "
      additionalProperties: false
      properties:
        passenger:
          description: "The passenger details.\n            "
          $ref: '#/components/schemas/BoardingPassPassengerDetailsBase'
        userName:
          type:
          - string
          - 'null'
          description: "The user name of the logged in user.\n            "
        iataCode:
          type:
          - string
          - 'null'
          description: "The IATA code.\n            "
        fareBasisCode:
          type:
          - string
          - 'null'
          description: "The acting fare basis code.\n            "
        fareClass:
          type:
          - string
          - 'null'
          description: "The acting fare class.\n            "
        baseFare:
          type: number
          description: "The base fare amount.\n            "
          format: decimal
        totalFare:
          type: number
          description: "The total fare amount.\n            "
          format: decimal
        totalCost:
          type: number
          description: "The total cost amount.\n            "
          format: decimal
        discountedFare:
          type: number
          description: "The discounted fare amount.\n            "
          format: decimal
        totalTax:
          type: number
          description: "The total amount of tax.\n            "
          format: decimal
        receiptNumber:
          type:
          - string
          - 'null'
          description: "The receipt number.\n            "
        serviceCharges:
          type:
          - array
          - 'null'
          description: "The collection of service charges for this segment.\n            "
          items:
            $ref: '#/components/schemas/ServiceCharge'
        segments:
          type:
          - array
          - 'null'
          description: "The collection of segments to display bar codes for.\n            "
          items:
            $ref: '#/components/schemas/BoardingPassS2DSegment'
    Exception:
      type: object
      additionalProperties: false
      properties:
        Message:
          type: string
        InnerException:
          $ref: '#/components/schemas/Exception'
        Source:
          type:
          - string
          - 'null'
        StackTrace:
          type:
          - string
          - 'null'
    BoardingPassv2:
      type: object
      description: "Defines the top level boarding pass details.\n            "
      additionalProperties: false
      properties:
        userName:
          type:
          - string
          - 'null'
          description: "The user name of the logged in user.\n            "
        iataCode:
          type:
          - string
          - 'null'
          description: "The IATA code.\n            "
        fareBasisCode:
          type:
          - string
          - 'null'
          description: "The acting fare basis code.\n            "
        fareClass:
          type:
          - string
          - 'null'
          description: "The acting fare class.\n            "
        baseFare:
          type: number
          description: "The base fare amount.\n            "
          format: decimal
        totalFare:
          type: number
          description: "The total fare amount.\n            "
          format: decimal
        totalCost:
          type: number
          description: "The total cost amount.\n            "
          format: decimal
        discountedFare:
          type: number
          description: "The discounted fare amount.\n            "
          format: decimal
        totalTax:
          type: number
          description: "The total amount of tax.\n            "
          format: decimal
        receiptNumber:
          type:
          - string
          - 'null'
          description: "The receipt number.\n            "
        serviceCharges:
          type:
          - array
          - 'null'
          description: "The collection of service charges for this segment.\n            "
          items:
            $ref: '#/components/schemas/ServiceCharge'
        passenger:
          description: "The passenger details.\n            "
          $ref: '#/components/schemas/BoardingPassPassengerDetailsv2'
        segments:
          type:
          - array
          - 'null'
          description: "The collection of segments for the barcode.\nNote these can represent leg information on a change of gauge flight.\n            "
          items:
            $ref: '#/components/schemas/BoardingPassSegment'
    BoardingPassProgram:
      type: object
      description: "Defines the boarding pass acting program.\n            "
      additionalProperties: false
      properties:
        name:
          type:
          - string
          - 'null'
          description: "The programs name.\n            "
        number:
          type:
          - string
          - 'null'
          description: "The programs number.\n            "
        levelName:
          type:
          - string
          - 'null'
          description: "The programs level name.\n            "
    MessageStatus:
      type: integer
      description: "Defines the message status.\n            \n\n0 = General\n1 = Warning\n2 = Critical"
      x-enumNames:
      - General
      - Warning
      - Critical
      enum:
      - 0
      - 1
      - 2
    Gender:
      type: integer
      description: "Defines the different binary gender types.\n            \n\n0 = XX\n1 = Male\n2 = Female"
      x-enumNames:
      - XX
      - Male
      - Female
      enum:
      - 0
      - 1
      - 2
    PassengerTravelDocument:
      type: object
      description: "Model representing a passenger travel document.\n            "
      additionalProperties: false
      required:
      - documentTypeCode
      properties:
        documentTypeCode:
          type: string
          description: "The unique travel document type code.\n            "
          maxLength: 4
          minLength: 0
        issuedByCode:
          type:
          - string
          - 'null'
          description: "The issuer code for the travel document (country code).\n            "
          maxLength: 3
          minLength: 0
        birthCountry:
          type:
          - string
          - 'null'
          description: "The BirthCountry property.\n            "
        name:
          description: "The Name property.\n            "
          $ref: '#/components/schemas/Name'
        nationality:
          type:
          - string
          - 'null'
          description: "The Nationality property.\n            "
          maxLength: 2
          minLength: 0
        expirationDate:
          type:
          - string
          - 'null'
          description: "The date when this travel document expires.\n            "
          format: date-time
        number:
          type:
          - string
          - 'null'
          description: "The travel document number.\n            "
          maxLength: 35
          minLength: 0
        issuedDate:
          type:
          - string
          - 'null'
          description: "The date this travel document was issued.\n            "
          format: date-time
        gender:
          description: "The travel document holder's gender.\n            "
          $ref: '#/components/schemas/Gender'
        dateOfBirth:
          type:
          - string
          - 'null'
          description: "The person's date of birth.\n            "
          format: date-time
        declaredGender:
          type:
          - string
          - 'null'
          description: "The travel document holder's declared gender.\nThis will override the gender field on passenger or person POST, PUT, and PATCH requests.\nNote: Any value other than \"F\" will cause gender to be updated to Male by default to support compatibility with\nother systems.\nAdditionally you cannot change the declared gender and gender fields at the same time as declared gender\nwill override any gender field value regardless of the value passed in.\n            "
          maxLength: 2
          minLength: 0
        placeOfBirth:
          type:
          - string
          - 'null'
          description: "Represents the place of birth. Only used on the following document type groups: TravelVisa (9), RedressNumber (20),\nand KnownTravelerId (21).\nOnly allows alpha characters, please do not use spaces, numbers, or special characters.\nNote: If unsure which travel document types fall into these groups please use `/api/nsk/v1/resources/DocumentTypes`\nor `/api/nsk/v1/resources/DocumentTypes/{documentTypeCode}`\n            "
          maxLength: 35
          minLength: 0
          pattern: ^[A-Za-z\s]*$
        placeOfIssue:
          type:
          - string
          - 'null'
          description: "Represents the place of issue. Only used on the following document type groups: TravelVisa (9), RedressNumber (20),\nand KnownTravelerId (21).\nOnly allows alpha characters, please do not use spaces, hyphens, or special characters.\nNote: If unsure which travel document types fall into these groups please use `/api/nsk/v1/resources/DocumentTypes`\nor `/api/nsk/v1/resources/DocumentTypes/{documentTypeCode}`\n            "
          maxLength: 35
          minLength: 0
          pattern: ^[A-Za-z\s]*$
        passengerTravelDocumentKey:
          type:
          - string
          - 'null'
          description: "A key that  uniquely identifies a travel document in the context of a specific passenger.\n            "
    BoardingPassS2DSegment:
      type: object
      description: "Represents a boarding pass segment following the S2D barcode type. When using S2D format each segment will have a\nbarcode.\n            "
      additionalProperties: false
      properties:
        designator:
          description: "The transportation designator details based on the legs.\n            "
          $ref: '#/components/schemas/BoardingPassTransportationDesignator'
        transportationName:
          type:
          - string
          - 'null'
          description: "The name of the transportation company.\n            "
        departureGate:
          type:
          - string
          - 'null'
          description: "The scheduled departure gate.\n            "
        boardingTime:
          type:
          - string
          - 'null'
          description: "The scheduled boarding time.\n            "
          format: date-time
        type:
          description: "The type of the current segment.\n            "
          $ref: '#/components/schemas/SegmentTypes'
        international:
          type: boolean
          description: "Flag indicating if the segment is international.\n            "
        ticketNumber:
          type:
          - string
          - 'null'
          description: "The assigned passengers ticket number.\n            "
        infantTicketNumber:
          type:
          - string
          - 'null'
          description: "The assigned infants ticket number.\n            "
        ticketIndicator:
          type:
          - string
          - 'null'
          description: "The ticket indicator.\n            "
        cabinOfService:
          type:
          - string
          - 'null'
          description: "The assigned to cabin of service.\nPlease note that this should be a char and not a string.\n            "
          maxLength: 1
        classOfService:
          type:
          - string
          - 'null'
          description: "The assigned to class of service.\n            "
        externalClassOfService:
          type:
          - string
          - 'null'
          description: "The externals reference class of service.\n            "
        fareClassName:
          type:
          - string
          - 'null'
          description: "The fare class name.\n            "
        productClassName:
          type:
          - string
          - 'null'
          description: "The product class name.\n            "
        externalRecordLocator:
          type:
          - string
          - 'null'
          description: "The assigned external record locator.\n            "
        program:
          description: "The applied passenger program if one existed.\n            "
          $ref: '#/components/schemas/BoardingPassProgram'
        hasInfant:
          type: boolean
          description: "Flag indicating if this segment has a infant.\n            "
        identifier:
          description: "The transportation identifier details about the segment.\n            "
          $ref: '#/components/schemas/TransportationIdentifier'
        legs:
          type:
          - array
          - 'null'
          description: "The collection of legs.\n            "
          items:
            $ref: '#/components/schemas/BoardingPassLeg'
        externalIdentifier:
          description: "The external transportation identifier details about the segment.\n            "
          $ref: '#/components/schemas/BoardingPassTransportationIdentifier'
        arrivalTime:
          type:
          - string
          - 'null'
          description: "The estimated time of arrival.\nIf the UseEstimatedTimesOnBoardingPass is set to True, the arrival time will be the estimated arrival time.\nIf the UseEstimatedTimesOnBoardingPass is set to False, the arrival time will be the scheduled arrival time.\n            "
          format: date-time
        departureTime:
          type:
          - string
          - 'null'
          description: "The estimated time of departure.\nIf the UseEstimatedTimesOnBoardingPass is set to True, the departure time will be the estimated departure time.\nIf the UseEstimatedTimesOnBoardingPass is set to False, the departure time wi

# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tui-group/refs/heads/main/openapi/tui-group-booking-boardingpasses-api-openapi.yml