openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S390_CHECK_TABLE_RUNSTATS:
    post:
      tags:
      - S390
      summary: May a given tablespace be subject to RUNSTATS? Used for single table.
      operationId: /rfc/S390_CHECK_TABLE_RUNSTATS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CREATOR:
                  type: string
                  maxLength: 8
                  description: Table creator
                DBNAME:
                  type: string
                  maxLength: 8
                  description: Database name
                NAME:
                  type: string
                  maxLength: 18
                  description: DB2 table name
                TSNAME:
                  type: string
                  maxLength: 8
                  description: DB2 tablespace name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CORR_UPDATES:
                    type: string
                    maxLength: 1
                    description: RUNSTATS can be applied to tablespace, but corrective updates have to be done.
                  NO_RUNSTATS:
                    type: string
                    maxLength: 1
                    description: There should be no RUNSTATS for given tablespace ('X' means 'no RUNSTATS')
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
