openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDAW_TABLE_CREATE:
    post:
      tags:
      - RSDAW_NEARLINE_SERVER
      operationId: /rfc/RSDAW_TABLE_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OWNER:
                  type: string
                  maxLength: 30
                I_TABLE_NAME:
                  type: string
                  maxLength: 30
                I_T_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'
                      COLUMN_TYPE:
                        type: string
                        maxLength: 10
                        description: 'BW Nearline Interface: Column Type'
                      COLUMN_LENGTH:
                        type: integer
                        format: int32
                        description: 'BW Nearline Interface: Column Length (Dependent on Type)'
                      DECIMALS:
                        type: integer
                        format: int32
                        description: 'BW Nearline Interface: Accuracy in Decimal Places'
                      DIMENSION_ID:
                        type: string
                        maxLength: 1
                        description: 'BW Nearline Interface: Dimension ID in Multi-Dim. Model'
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: 'BW Nearline Interface: Data Type in SAP Repository'
              required:
              - I_OWNER
              - I_TABLE_NAME
              - I_T_COLUMN_DEFINITIONS
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
