openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_HIS_TREORG_CHECK:
    post:
      tags:
      - SDB6DB02
      summary: 'DB6: Check table db6treorg <> syscat.tables'
      operationId: /rfc/DB6_HIS_TREORG_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                SYSTEM_ID:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                IT_DB6TRGCHK:
                  type: array
                  items:
                    type: object
                    properties:
                      TABSCHEMA:
                        type: string
                        maxLength: 20
                        description: 'DB6: Schema Name'
                      TABNAME:
                        type: string
                        maxLength: 18
                        description: 'DB6: Table Name'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6TRGCHK:
                    type: array
                    items:
                      type: object
                      properties:
                        TABSCHEMA:
                          type: string
                          maxLength: 20
                          description: 'DB6: Schema Name'
                        TABNAME:
                          type: string
                          maxLength: 18
                          description: 'DB6: Table Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
