openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_COLHIS_GET_RETAIN_ROWS:
    post:
      tags:
      - SDB6HIS
      summary: 'DB6: how long to keep statistics'
      operationId: /rfc/DB6_COLHIS_GET_RETAIN_ROWS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                OBJECTTYPE:
                  type: string
                  maxLength: 1
                  description: 'DB6: type of object (P=Tablespace,T=table)'
                STATTYPE:
                  type: string
                  maxLength: 1
                  description: 'DB6: Type of statistics (D=daily,W=weekly,M=monthly)'
              required:
              - OBJECTTYPE
              - STATTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETAIN_STAT_ROWS:
                    type: integer
                    format: int64
                    description: 'DB6: how long to keep statistics (number of rows)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
