openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPBC_GLOBAL_CONNECTION_LIST:
    post:
      tags:
      - SAPBC_GLOBAL_FIS
      operationId: /rfc/SAPBC_GLOBAL_CONNECTION_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CITYFROM:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: From city
                IV_CITYTO:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Destination
                IV_COUNTRYFROM:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: Departure country
                IV_COUNTRYTO:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: Destination country
                TA_CONNLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      CARRID:
                        type: string
                        maxLength: 3
                        description: Airline Code
                      CONNID:
                        type: integer
                        format: int64
                        description: Flight Connection Number
                      COUNTRYFR:
                        type: string
                        maxLength: 3
                        description: Country Key
                      CITYFROM:
                        type: string
                        maxLength: 20
                        description: Departure city
                      AIRPFROM:
                        type: string
                        maxLength: 3
                        description: Departure airport
                      COUNTRYTO:
                        type: string
                        maxLength: 3
                        description: Country Key
                      CITYTO:
                        type: string
                        maxLength: 20
                        description: Arrival city
                      AIRPTO:
                        type: string
                        maxLength: 3
                        description: Destination airport
                      FLTIME:
                        type: integer
                        format: int32
                        description: Flight time
                      DEPTIME:
                        type: string
                        maxLength: 6
                        description: Departure time
                      ARRTIME:
                        type: string
                        maxLength: 6
                        description: Arrival time
                      DISTANCE:
                        type: integer
                        format: int64
                        description: Distance
                      DISTID:
                        type: string
                        maxLength: 3
                        description: Mass unit of distance (kms, miles)
                      FLTYPE:
                        type: string
                        maxLength: 1
                        description: 'Flight type  enumValues: ""=Scheduled,X=Charter'
                        enum:
                        - ''
                        - X
                      PERIOD:
                        type: integer
                        format: int32
                        description: Arrival n day(s) later
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TA_CONNLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        CARRID:
                          type: string
                          maxLength: 3
                          description: Airline Code
                        CONNID:
                          type: integer
                          format: int64
                          description: Flight Connection Number
                        COUNTRYFR:
                          type: string
                          maxLength: 3
                          description: Country Key
                        CITYFROM:
                          type: string
                          maxLength: 20
                          description: Departure city
                        AIRPFROM:
                          type: string
                          maxLength: 3
                          description: Departure airport
                        COUNTRYTO:
                          type: string
                          maxLength: 3
                          description: Country Key
                        CITYTO:
                          type: string
                          maxLength: 20
                          description: Arrival city
                        AIRPTO:
                          type: string
                          maxLength: 3
                          description: Destination airport
                        FLTIME:
                          type: integer
                          format: int32
                          description: Flight time
                        DEPTIME:
                          type: string
                          maxLength: 6
                          description: Departure time
                        ARRTIME:
                          type: string
                          maxLength: 6
                          description: Arrival time
                        DISTANCE:
                          type: integer
                          format: int64
                          description: Distance
                        DISTID:
                          type: string
                          maxLength: 3
                          description: Mass unit of distance (kms, miles)
                        FLTYPE:
                          type: string
                          maxLength: 1
                          description: 'Flight type  enumValues: ""=Scheduled,X=Charter'
                          enum:
                          - ''
                          - X
                        PERIOD:
                          type: integer
                          format: int32
                          description: Arrival n day(s) later
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
