openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_ALV_TEST_ISWB:
    post:
      tags:
      - SLVC_DIALOG
      summary: Test BAPI for IS Workbench
      operationId: /rfc/BAPI_ALV_TEST_ISWB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ROWS:
                  type: integer
                  format: int32
                E_TABLE:
                  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
                      FLDATE:
                        type: string
                        format: date
                        description: Flight date
                      PRICE:
                        type: integer
                        format: int64
                        description: Airfare
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Local currency of airline
                      PLANETYPE:
                        type: string
                        maxLength: 10
                        description: Aircraft Type
                      SEATSMAX:
                        type: integer
                        format: int32
                        description: 'Maximum capacity in economy class  enumValues: 0=Whole numbers'
                        enum:
                        - '0'
                      SEATSOCC:
                        type: integer
                        format: int32
                        description: 'Occupied seats in economy class  enumValues: 0=Whole numbers'
                        enum:
                        - '0'
                      PAYMENTSUM:
                        type: integer
                        format: int64
                        description: Total of current bookings
                      SEATSMAX_B:
                        type: integer
                        format: int32
                        description: 'Maximum capacity in business class  enumValues: 0=Whole numbers'
                        enum:
                        - '0'
                      SEATSOCC_B:
                        type: integer
                        format: int32
                        description: 'Occupied seats in business class  enumValues: 0=Whole numbers'
                        enum:
                        - '0'
                      SEATSMAX_F:
                        type: integer
                        format: int32
                        description: 'Maximum capacity in first class  enumValues: 0=Whole numbers'
                        enum:
                        - '0'
                      SEATSOCC_F:
                        type: integer
                        format: int32
                        description: 'Occupied seats in first class  enumValues: 0=Whole numbers'
                        enum:
                        - '0'
              required:
              - I_ROWS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TABLE:
                    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
                        FLDATE:
                          type: string
                          format: date
                          description: Flight date
                        PRICE:
                          type: integer
                          format: int64
                          description: Airfare
                        CURRENCY:
                          type: string
                          maxLength: 5
                          description: Local currency of airline
                        PLANETYPE:
                          type: string
                          maxLength: 10
                          description: Aircraft Type
                        SEATSMAX:
                          type: integer
                          format: int32
                          description: 'Maximum capacity in economy class  enumValues: 0=Whole numbers'
                          enum:
                          - '0'
                        SEATSOCC:
                          type: integer
                          format: int32
                          description: 'Occupied seats in economy class  enumValues: 0=Whole numbers'
                          enum:
                          - '0'
                        PAYMENTSUM:
                          type: integer
                          format: int64
                          description: Total of current bookings
                        SEATSMAX_B:
                          type: integer
                          format: int32
                          description: 'Maximum capacity in business class  enumValues: 0=Whole numbers'
                          enum:
                          - '0'
                        SEATSOCC_B:
                          type: integer
                          format: int32
                          description: 'Occupied seats in business class  enumValues: 0=Whole numbers'
                          enum:
                          - '0'
                        SEATSMAX_F:
                          type: integer
                          format: int32
                          description: 'Maximum capacity in first class  enumValues: 0=Whole numbers'
                          enum:
                          - '0'
                        SEATSOCC_F:
                          type: integer
                          format: int32
                          description: 'Occupied seats in first class  enumValues: 0=Whole numbers'
                          enum:
                          - '0'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
