openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02_GET_TABLE_SELECTION_DB2:
    post:
      tags:
      - DB02_DB2
      summary: Get list of tables created by a certain user matching a given selection
      operationId: /rfc/DB02_GET_TABLE_SELECTION_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CREATOR:
                  type: string
                  maxLength: 8
                  description: DB2 creator name
                DATABASE_SEL:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: SIGN flag of selection screen
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Selection operator of a selection screen
                      LOW:
                        type: string
                        maxLength: 8
                        description: LOW value of database selection screen
                      HIGH:
                        type: string
                        maxLength: 8
                        description: HIGH value of database selection screen
                TABLESPACE_SEL:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: SIGN flag of selection screen
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Selection operator of a selection screen
                      LOW:
                        type: string
                        maxLength: 8
                        description: LOW value of tablespace selection screen
                      HIGH:
                        type: string
                        maxLength: 8
                        description: HIGH value of tablespace selection screen
                TABLE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 18
                        description: DB2 table name
                      CREATOR:
                        type: string
                        maxLength: 8
                        description: DB2 creator name
                      TSNAME:
                        type: string
                        maxLength: 8
                        description: Name of the tablespace
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                TABLE_SEL:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: SIGN flag of selection screen
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Selection operator of a selection screen
                      LOW:
                        type: string
                        maxLength: 18
                        description: LOW value of table selection screen
                      HIGH:
                        type: string
                        maxLength: 18
                        description: HIGH value of table selection screen
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATABASE_SEL:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: SIGN flag of selection screen
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Selection operator of a selection screen
                        LOW:
                          type: string
                          maxLength: 8
                          description: LOW value of database selection screen
                        HIGH:
                          type: string
                          maxLength: 8
                          description: HIGH value of database selection screen
                  TABLESPACE_SEL:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: SIGN flag of selection screen
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Selection operator of a selection screen
                        LOW:
                          type: string
                          maxLength: 8
                          description: LOW value of tablespace selection screen
                        HIGH:
                          type: string
                          maxLength: 8
                          description: HIGH value of tablespace selection screen
                  TABLE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 18
                          description: DB2 table name
                        CREATOR:
                          type: string
                          maxLength: 8
                          description: DB2 creator name
                        TSNAME:
                          type: string
                          maxLength: 8
                          description: Name of the tablespace
                        DBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                  TABLE_SEL:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: SIGN flag of selection screen
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Selection operator of a selection screen
                        LOW:
                          type: string
                          maxLength: 18
                          description: LOW value of table selection screen
                        HIGH:
                          type: string
                          maxLength: 18
                          description: HIGH value of table selection screen
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
