openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDAW_UNION_VIEW_CREATE:
    post:
      tags:
      - RSDAW_NEARLINE_SERVER
      operationId: /rfc/RSDAW_UNION_VIEW_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OWNER:
                  type: string
                  maxLength: 30
                I_T_UNION_COLUMN_DEFINTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLE_NAME:
                        type: string
                        maxLength: 30
                        description: 'BW Nearline Interface: Name of a Nearline Table'
                      POSITION:
                        type: integer
                        format: int32
                        description: 'BW Nearline Interface: Position of Element'
                      COLUMN_NAME:
                        type: string
                        maxLength: 30
                        description: 'BW Nearline Interface: Column Name'
                      COLUMN_EXPRESSION:
                        type: string
                        description: 'BW Nearline Interface: Column Expression'
                I_T_UNION_TABLE_DEFINITIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      POSITION:
                        type: integer
                        format: int32
                        description: 'BW Nearline Interface: Position of Element'
                      TABLE_NAME:
                        type: string
                        maxLength: 30
                        description: 'BW Nearline Interface: Name of a Nearline Table'
                      WHERE_CLAUSE:
                        type: string
                        description: 'BW Nearline Interface: Where Condition as SQL Expression'
                I_T_VIEW_COLUMN_DEFINITIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      POSITION:
                        type: integer
                        format: int32
                        description: 'BW Nearline Interface: Position of Element'
                      COLUMN_NAME:
                        type: string
                        maxLength: 30
                        description: 'BW Nearline Interface: Column Name'
                I_VIEW_NAME:
                  type: string
                  maxLength: 30
              required:
              - I_OWNER
              - I_T_UNION_COLUMN_DEFINTIONS
              - I_T_UNION_TABLE_DEFINITIONS
              - I_T_VIEW_COLUMN_DEFINITIONS
              - I_VIEW_NAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
