TUI New Skies GoNow API

Access to Navitaire's full Departure Control System through the TUI Apigee gateway. Documented capability groups are check-in (including reverse check-in and EES validation results), baggage and bag-tag printing, boarding pass and BGR device print streams, passenger search across legs and segments, disruption handling, operational reports, printer initialisation, DCS settings and scanned travel document management.

OpenAPI Specification

tui-group-tui-newskies-gonow-api-openapi.yml Raw ↑
x-generator: NSwag v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0))
openapi: 3.0.0
info:
  title: NewSkies-GoNow-Api
  description: Navitaire GoNow Api
  version: 5.2.6.69
servers:
- url: https://prod.api.tui/flight/newskies/gonow
  description: TUI Prod
- url: https://playground.api.tui/flight/newskies/gonow
  description: TUI Playground
paths:
  /api/dcs/v3/baggage:
    post:
      tags:
      - baggage
      summary: Adds a list of bags to a booking.
      description: "Optional record locator determines whether this endpoint behaves\
        \ statelessly or modifies the booking in state. \n    Including the record\
        \ locator will add the bags statelessly without assigning any baggage group.\
        \ \n    Omitting the record locator will add the bags to the booking in state,\
        \ \n    assigning a baggage group for the specified passenger, \n    with\
        \ any other passengers specified by otherPassengersAlternateKeys.\n\nGraphQL\
        \ endpoint: dcsCreateBagsV3"
      operationId: dcs_v3_baggage_post
      requestBody:
        x-name: request
        description: List of bags to add
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BaggageAddRequestV3'
        required: true
        x-position: 1
      responses:
        '201':
          description: List of bag keys added.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfBaggageAddResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/boardingDevices/bgrCommands:
    get:
      tags:
      - boardingDevices
      summary: Generates commands for all BGR actions except for Connect.
      description: 'For post-board, separate command lists are returned for different
        boarding response

        scenarios.  These post-board lists contain tokenized commands, where the tokens
        should

        be replaced by the client with a specific passenger''s data before sending
        the commands

        to the BGR.  Supported tokens are %%FirstName%%, %%LastName%%, %%BoardingSequence%%,

        %%UnitDesignator%%, and %%ErrorMessage%%.


        GraphQL endpoint: dcsGenerateBgrCommands'
      operationId: dcs_v1_boardingDevices_bgrCommands_get
      parameters:
      - name: BoardingDeviceKey
        in: query
        schema:
          type: string
          nullable: true
        x-position: 1
      - name: LegKey
        in: query
        schema:
          type: string
          nullable: true
        x-position: 2
      - name: LocationCode
        in: query
        description: 'The location code specifying which command generation rules
          will be used.  If not specified,

          the default location code from the JWT will be used.'
        schema:
          type: string
          nullable: true
        x-position: 3
      responses:
        '200':
          description: BGR command strings for each action and post-board scenario.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfBgrCommandsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v2/bookings/searchByScan:
    post:
      tags:
      - bookings
      summary: Parses scanner output and performs a booking search based on the type
        of scan.
      description: 'GraphQL endpoint: dcsSearchByScan'
      operationId: dcs_v2_bookings_searchByScan_post
      requestBody:
        x-name: request
        description: Scan data with optional origin and departureDate.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchByScanRequestV2'
        required: true
        x-position: 1
      responses:
        '200':
          description: A list of booking search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfBookingSummary'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/checkin:
    post:
      tags:
      - checkin
      summary: Checks in a list of passengers on the given segments.
      description: 'GraphQL endpoint: dcsPerformCheckin'
      operationId: dcs_v1_checkin_post
      requestBody:
        x-name: request
        description: Checkin request including a list of segment keys and passengers
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckinRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: Response indicating success or error information for each passenger.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfCheckinResponse'
              examples:
                UnexpectedError:
                  description: An unexpected error has occurred while committing changes
                    to the reservation. (FPrc1000)
                  value:
                    data:
                      passengers:
                      - passengerAlternateKey: XXXXXX
                        successfulSegments:
                        - segmentKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                        failedSegments:
                        - errors:
                          - code: FPrc1000
                            message: An unexpected error has occurred while committing
                              changes to the reservation. (FPrc1000)
                            rawMessage: ''
                          segmentKey: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
                          overrides: null
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                PaymentRequiredToCheckinPassenger:
                  description: Unable to check in the passenger because payment is
                    required. (FPrc1050)
                  value:
                    data:
                      passengers:
                      - passengerAlternateKey: XXXXXX
                        successfulSegments:
                        - segmentKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                        failedSegments:
                        - errors:
                          - code: FPrc1050
                            message: Unable to check in the passenger because payment
                              is required. (FPrc1050)
                            rawMessage: ''
                          segmentKey: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
                          overrides: null
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                CheckInClosed:
                  description: Check in has closed. (Oper1111)
                  value:
                    data:
                      passengers:
                      - passengerAlternateKey: XXXXXX
                        successfulSegments:
                        - segmentKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                        failedSegments:
                        - errors:
                          - code: Oper1111
                            message: Check in has closed. (Oper1111)
                            rawMessage: ''
                          segmentKey: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
                          overrides: null
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                DocumentVerificationFailedPassengerInhibited:
                  description: Document verification failed because passenger is inhibited.
                    (Oper1087)
                  value:
                    data:
                      passengers:
                      - passengerAlternateKey: XXXXXX
                        successfulSegments:
                        - segmentKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                        failedSegments:
                        - errors:
                          - code: Oper1087
                            message: Document verification failed because passenger
                              is inhibited. (Oper1087)
                            rawMessage: ''
                          segmentKey: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
                          overrides: null
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                MissingSeatAssignmentsOnFlightNumber:
                  description: The passenger cannot be checked in because there is
                    a missing seat assignment on a flight. (FPrc1013)
                  value:
                    data:
                      passengers:
                      - passengerAlternateKey: XXXXXX
                        successfulSegments:
                        - segmentKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                        failedSegments:
                        - errors:
                          - code: FPrc1013
                            message: The passenger cannot be checked in because there
                              is a missing seat assignment on a flight. (FPrc1013)
                            rawMessage: ''
                          segmentKey: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
                          overrides: null
                          warnings: []
                          securityInfo: null
                          iatciMessages: null
                ScheduleCancellation:
                  description: Passenger is on SCHCNL queue. Queue Event - ScheduleCancellation
                  value:
                    data:
                      passengers:
                      - passengerAlternateKey: XXXXXX
                        successfulSegments:
                        - segmentKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                          warnings:
                          - Passenger is on SCHCNL queue. Queue Event - ScheduleCancellation
                          securityInfo: null
                          iatciMessages: null
                        failedSegments: []
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
              examples:
                Validation:nsk:Booking:NoBookingFound:
                  description: No booking was found, cannot perform operation.
                  value:
                    errors:
                    - id: null
                      code: Validation:nsk:Booking:NoBookingFound
                      message: Validation:nsk:Booking:NoBookingFound
                      type: Error
                      details:
                        message: No booking was found, cannot perform operation.
                      rawMessage: null
                      exception: null
                      debugMode: The API is currently running in debug mode. In production
                        the 'rawMessage' and 'exception' nodes will not be returned.
                        These are for troubleshooting development issues only.
                    data: null
                segmentKey:InvalidApiKey:
                  description: 'Invalid segmentKey: XXXXX'
                  value:
                    errors:
                    - id: null
                      code: segmentKey:InvalidApiKey
                      message: segmentKey:InvalidApiKey
                      type: Error
                      details:
                        message: 'Invalid segmentKey: XXXXX'
                      rawMessage: null
                      exception: null
                      debugMode: The API is currently running in debug mode. In production
                        the 'rawMessage' and 'exception' nodes will not be returned.
                        These are for troubleshooting development issues only.
                    data: null
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
    delete:
      tags:
      - checkin
      summary: Removes the checked-in status for a list of passengers on the given
        segments.
      description: 'This endpoint accepts manifest segment keys or booking segment
        keys


        GraphQL endpoint: dcsUndoCheckin'
      operationId: dcs_v1_checkin_delete
      requestBody:
        x-name: request
        description: Undo-checkin request including a list of segment keys and passengers
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UndoCheckinRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: Response indicating success or error information for each passenger.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfCheckinResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/checkin/requirements/custom:
    post:
      tags:
      - checkin
      summary: Gets custom requirements (AKA UserFlow Workflow) for the booking in
        state.
      description: 'These requirements specify which pages in the client app are required
        by the client

        config to be visited before checking in.  Client apps may track or ignore
        these

        requirements to meet their own design specifications.  Check-in is never

        blocked by whether these requirements have been met.


        GraphQL endpoint: dcsGetCheckinCustomRequirementsStateful'
      operationId: dcs_v1_checkin_requirements_custom_post
      requestBody:
        x-name: request
        description: Passengers and segments to retrieve requirements for.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckinSecurityRequirementsRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: Passengers' custom checkin requirements.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfCheckinStepCustomRequirements'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/checkin/requirements/general:
    post:
      tags:
      - checkin
      summary: 'Gets general checkin requirements for the booking in state.  Does
        not get

        government security requirements or custom requirements.'
      description: 'GraphQL endpoint: dcsGetCheckinGeneralRequirementsStateful'
      operationId: dcs_v1_checkin_requirements_general_post
      requestBody:
        x-name: request
        description: Passengers and segments to retrieve requirements for.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckinGeneralRequirementsRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: Passengers' general checkin requirements.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfCheckinGeneralRequirementsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/gss/v1/checkin/requirements/security:
    post:
      tags:
      - checkin
      summary: Gets government security checkin requirements for the booking in state.
      description: 'GraphQL endpoint: dcsGetCheckinSecurityRequirementsStateful'
      operationId: gss_v1_checkin_requirements_security_post
      requestBody:
        x-name: request
        description: Passengers and segments to retrieve requirements for.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckinSecurityRequirementsRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: Passengers' government security checkin requirements.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfCheckinSecurityRequirementsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/deviceManagers/{deviceManagerKey}:
    get:
      tags:
      - deviceManagers
      summary: Retrieves device manager info for the specified device manager key.
      description: 'GraphQL endpoint: dcsGetDeviceManagerInfo'
      operationId: dcs_v1_deviceManagers_deviceManagerKey_get
      parameters:
      - name: deviceManagerKey
        in: path
        required: true
        description: The device manager key.
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: The device manager info.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfDeviceManagerInfo'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/disruption/combineSegments:
    post:
      tags:
      - disruption
      summary: 'Combines a list of segments into a properly formed journey and determines
        whether that

        journey contains ad hoc connections.'
      description: 'GraphQL endpoint: dcsCombineDisruptionSegments'
      operationId: dcs_v1_disruption_combineSegments_post
      requestBody:
        x-name: request
        description: A list of segment keys, each with its associated leg keys.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SegmentKeyInfo'
        required: true
        x-position: 1
      responses:
        '200':
          description: A properly formed journey, including whether the journey contains
            ad hoc connections.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfDisruptionCombinedJourney'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/disruption/fromLegs:
    get:
      tags:
      - disruption
      summary: 'Uses search criteria to retrieve a list of legs from which passengers
        can be moved in

        a disruption.'
      description: "Use the dotREZ NSK API's GET /api/nsk/v1/settings/booking/reserveFlights\
        \ to retrieve\nrelated role settings:\n    \n        \n        daysBeforeIrop:\
        \  This value must be a positive number, and the departure\n        date of\
        \ the request must not be more than this number of days after today.\n   \
        \     \n        \n        allowMove:  This value must not be set to MoveFlightCode.NotAllowed.\n\
        \        \n    \nUse the dotREZ NSK API's GET /api/nsk/v1/settings/general/operations\
        \ to retrieve\nrelated role setting:\n    \n        \n        allowConsoleIrop:\
        \  This value must be true.\n\nGraphQL endpoint: dcsGetDisruptionFromLegs"
      operationId: dcs_v1_disruption_fromLegs_get
      parameters:
      - name: GetIropOnly
        in: query
        schema:
          type: boolean
        x-position: 1
      - name: CarrierCode
        in: query
        schema:
          type: string
          maxLength: 3
          minLength: 2
          nullable: true
        x-position: 2
      - name: DepartureDate
        in: query
        schema:
          type: string
          format: date-time
          nullable: true
        x-position: 3
      - name: Origin
        in: query
        schema:
          type: string
          maxLength: 3
          minLength: 3
          nullable: true
        x-position: 4
      - name: Destination
        in: query
        schema:
          type: string
          maxLength: 3
          minLength: 3
          nullable: true
        x-position: 5
      - name: FlightNumber
        in: query
        schema:
          type: string
          nullable: true
        x-position: 6
      - name: OpSuffix
        in: query
        schema:
          type: string
          maxLength: 1
          minLength: 0
          nullable: true
        x-position: 7
      responses:
        '200':
          description: The list of legs, which includes information relevant to a
            disruption.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfDisruptionFromLeg'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/disruption/fromLegs/{legKey}/finalDestinations:
    get:
      tags:
      - disruption
      summary: 'Retrieves a list of the final destination journeys for the passengers
        from a given

        disruption from-leg.'
      description: 'GraphQL endpoint: dcsGetDisruptionFinalDestinations'
      operationId: dcs_v1_disruption_fromLegs_legKey_finalDestinations_get
      parameters:
      - name: legKey
        in: path
        required: true
        description: The leg key.
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: 'The list of final destination journeys, which includes information
            relevant to a

            disruption.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfDisruptionFinalDestinationJourney'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/disruption/move:
    post:
      tags:
      - disruption
      summary: Performs a disruption move operation (IROP or diversion) for a group
        of bookings.
      description: "Use the dotREZ NSK API's GET /api/nsk/v1/settings/booking/reserveFlights\
        \ to retrieve\nrelated role settings:\n    \n        \n        daysBeforeIrop:\
        \  This value must be a positive number, and the departure\n        date of\
        \ the request must not be more than this number of days after today.\n   \
        \     \n        \n        allowMove:  This value must not be set to MoveFlightCode.NotAllowed.\n\
        \        \n        \n        allowMoveOverbook:  If InventoryControlType in\
        \ the request is set to\n        OversellSpace, this value must be set to\
        \ OverbookControl.CanOverbookLeg.\n        \n        \n        allowCreateAdhocConnect:\
        \  If ToJourneyKey in the request corresponds to a\n        journey containing\
        \ any ad hoc connections, this value must be true.\n        \n    \nUse the\
        \ dotREZ NSK API's GET /api/nsk/v1/settings/general/operations to retrieve\n\
        related role settings:\n    \n        \n        allowConsoleIrop:  This value\
        \ must be true.\n        \n        \n        allowDiversionIrop:  If MoveType\
        \ in the request is set to\n        DisruptionMoveType.Diversion, this value\
        \ must be true.\n        \n        \n        allowIropOversellOnToFlight:\
        \  If InventoryControlType in the request is set to\n        OversellSpace,\
        \ this value must be true.\n        \n    \nTo performs a stateful move operation\
        \ (IROP or diversion), use the dotREZ NSK API's\nPOST /api/nsk/v1/trip/move/irop.\n\
        \nGraphQL endpoint: dcsPerformDisruptionMove"
      operationId: dcs_v1_disruption_move_post
      requestBody:
        x-name: request
        description: The journey and booking data required to perform the move.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DisruptionMoveRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: 'The disruption move response specifying which bookings were
            successfully moved

            and which ones encountered errors.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfDisruptionMoveResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/disruption/toJourneys:
    get:
      tags:
      - disruption
      summary: 'Uses search criteria to retrieve a list of journeys to which passengers
        can be moved in

        a disruption.'
      description: 'GraphQL endpoint: dcsGetDisruptionToJourneys'
      operationId: dcs_v1_disruption_toJourneys_get
      parameters:
      - name: FlightType
        in: query
        description: " \nEnumeration values: 0 = All, 1 = NonStop, 2 = Through, 3\
          \ = Direct, 4 = Connect"
        schema:
          $ref: '#/components/schemas/FlightType'
        x-position: 1
      - name: IncludeNextDay
        in: query
        schema:
          type: boolean
        x-position: 2
      - name: CarrierCode
        in: query
        schema:
          type: string
          maxLength: 3
          minLength: 2
          nullable: true
        x-position: 3
      - name: DepartureDate
        in: query
        schema:
          type: string
          format: date-time
          nullable: true
        x-position: 4
      - name: Origin
        in: query
        schema:
          type: string
          maxLength: 3
          minLength: 3
          nullable: true
        x-position: 5
      - name: Destination
        in: query
        schema:
          type: string
          maxLength: 3
          minLength: 3
          nullable: true
        x-position: 6
      - name: FlightNumber
        in: query
        schema:
          type: string
          nullable: true
        x-position: 7
      - name: OpSuffix
        in: query
        schema:
          type: string
          maxLength: 1
          minLength: 0
          nullable: true
        x-position: 8
      responses:
        '200':
          description: The list of journeys, which includes information relevant to
            a disruption.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfDisruptionToJourney'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/documents/{travelDocumentKey}/scannedData:
    put:
      tags:
      - documents
      summary: 'Parses scanner output and updates a specific passenger or infant''s
        travel document

        for the booking in state.'
      description: 'The scanned data must belong to the same type of document and
        be issued by the same

        country as the one specified by the given travel document key.  The rest of
        the

        document''s information will be updated from the scanned data.

        Updates booking passenger information with the scanned data if it does not
        match the document.


        GraphQL endpoint: dcsUpdateTravelDocumentFromScanStateful'
      operationId: dcs_v1_documents_travelDocumentKey_scannedData_put
      parameters:
      - name: travelDocumentKey
        in: path
        required: true
        description: Document to update.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: Scanned data to update the document.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScannedDocumentRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: Null data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfString'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/sche

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