openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02N_GET_INDEXES_ON_TABLE_DB2:
    post:
      tags:
      - S_DB02N_DB2
      operationId: /rfc/DB02N_GET_INDEXES_ON_TABLE_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TABLE_CREATOR:
                  type: string
                  maxLength: 8
                TABLE_NAME:
                  type: string
                  maxLength: 18
                INDEX_KEYS:
                  type: array
                  items:
                    type: object
                    properties:
                      IXNAME:
                        type: string
                        maxLength: 18
                        description: Name of a DB2 for OS/390 index
                      IXCREATOR:
                        type: string
                        maxLength: 8
                        description: DB2 creator name
                      COLNAME:
                        type: string
                        maxLength: 18
                        description: Column name
                      COLNO:
                        type: integer
                        format: int32
                        description: Numeric position of the column in the table or view
                      COLSEQ:
                        type: integer
                        format: int32
                        description: Numeric position of the column in the key
                      ORDERING:
                        type: string
                        maxLength: 4
                        description: 'Order of the column in the key  enumValues: DESC=Descending,ASC=Ascending'
                        enum:
                        - DESC
                        - ASC
              required:
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INDEX_KEYS:
                    type: array
                    items:
                      type: object
                      properties:
                        IXNAME:
                          type: string
                          maxLength: 18
                          description: Name of a DB2 for OS/390 index
                        IXCREATOR:
                          type: string
                          maxLength: 8
                          description: DB2 creator name
                        COLNAME:
                          type: string
                          maxLength: 18
                          description: Column name
                        COLNO:
                          type: integer
                          format: int32
                          description: Numeric position of the column in the table or view
                        COLSEQ:
                          type: integer
                          format: int32
                          description: Numeric position of the column in the key
                        ORDERING:
                          type: string
                          maxLength: 4
                          description: 'Order of the column in the key  enumValues: DESC=Descending,ASC=Ascending'
                          enum:
                          - DESC
                          - ASC
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
