openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_HIS_CONFIG:
    post:
      tags:
      - SDB6DB02
      summary: 'DB6: get configuration data'
      operationId: /rfc/DB6_HIS_CONFIG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int32
                  description: action
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                IT_DB6PM_CLN:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTTYPE:
                        type: string
                        maxLength: 1
                        description: 'DB6: kind of statistics (B, P, D)'
                      STATTYPE:
                        type: string
                        maxLength: 1
                        description: 'DB6: type of statistics (D, W, M, X)'
                      RETAIN:
                        type: integer
                        format: int64
                        description: 'DB6: how long to keep statistics (number of rows)'
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
              required:
              - ACTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PM_CLN:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTTYPE:
                          type: string
                          maxLength: 1
                          description: 'DB6: kind of statistics (B, P, D)'
                        STATTYPE:
                          type: string
                          maxLength: 1
                          description: 'DB6: type of statistics (D, W, M, X)'
                        RETAIN:
                          type: integer
                          format: int64
                          description: 'DB6: how long to keep statistics (number of rows)'
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
