openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDAW_INDEX_CREATE:
    post:
      tags:
      - RSDAW_NEARLINE_SERVER
      operationId: /rfc/RSDAW_INDEX_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DEFERRED:
                  type: string
                  maxLength: 1
                I_INDEX_NAME:
                  type: string
                  maxLength: 32
                I_INDEX_TYPE:
                  type: string
                  maxLength: 1
                I_OWNER:
                  type: string
                  maxLength: 30
                I_TABLE_NAME:
                  type: string
                  maxLength: 30
                I_T_INDEX_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'
              required:
              - I_DEFERRED
              - I_INDEX_NAME
              - I_INDEX_TYPE
              - I_OWNER
              - I_TABLE_NAME
              - I_T_INDEX_COLUMN_DEFINITIONS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_S_INDEX_DEFINITION:
                    type: object
                    properties:
                      INDEX_NAME:
                        type: string
                        maxLength: 32
                        description: 'BW Nearline Interface: Index Name'
                      INDEX_TYPE:
                        type: string
                        maxLength: 1
                        description: 'BW Nearline Interface: Index Type  enumValues: R=Range Index,H=Hash Index,V=Value Index'
                        enum:
                        - R
                        - H
                        - V
                      DEFERRED:
                        type: string
                        maxLength: 1
                        description: 'BW Nearline Interface: Indicator; Activation Performed Later  enumValues: X=Indicator is set,""=Indicator is not set'
                        enum:
                        - X
                        - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
