openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDRT_INFOPROV_RANDOM_Q_RFC:
    post:
      tags:
      - RSDRT
      operationId: /rfc/RSDRT_INFOPROV_RANDOM_Q_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DEBUG:
                  type: string
                  default: RS_C_FALSE
                  maxLength: 1
                I_INFOPROV:
                  type: string
                  maxLength: 30
                I_QUERIES:
                  type: integer
                  format: int32
                  default: 3
                I_SAVE_AS_TRACE:
                  type: string
                  default: RS_C_FALSE
                  maxLength: 1
                I_SEED:
                  type: integer
                  format: int32
                  default: 1
                I_SLEEP:
                  type: integer
                  format: int32
                  default: 0
                I_SPECIFIC_QUERY:
                  type: integer
                  format: int32
                  default: 0
                I_USE_AGGREGATES:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                E_T_QLOG:
                  type: array
                  items:
                    type: object
                    properties:
                      QUERY:
                        type: integer
                        format: int32
                        description: Natural number
                      RESULTLINES:
                        type: integer
                        format: int32
                        description: Natural number
                      SUBRC:
                        type: integer
                        format: int32
                        description: Natural number
                      RUNTIME:
                        type: integer
                        format: int32
                        description: Natural number
                      AVG_KYF:
                        type: integer
                        format: int64
                        description: Average Value of a Key Figure Column
                      AVG_CHA:
                        type: integer
                        format: int64
                        description: Average Value of a Key Figure Column
                      COMPLEXITY:
                        type: string
                        format: byte
                        description: Trace entry typ, bit encoded
              required:
              - I_INFOPROV
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUCCESSFUL:
                    type: integer
                    format: int32
                  E_TIME:
                    type: string
                    maxLength: 6
                  E_VERSION:
                    type: integer
                    format: int32
                  E_T_QLOG:
                    type: array
                    items:
                      type: object
                      properties:
                        QUERY:
                          type: integer
                          format: int32
                          description: Natural number
                        RESULTLINES:
                          type: integer
                          format: int32
                          description: Natural number
                        SUBRC:
                          type: integer
                          format: int32
                          description: Natural number
                        RUNTIME:
                          type: integer
                          format: int32
                          description: Natural number
                        AVG_KYF:
                          type: integer
                          format: int64
                          description: Average Value of a Key Figure Column
                        AVG_CHA:
                          type: integer
                          format: int64
                          description: Average Value of a Key Figure Column
                        COMPLEXITY:
                          type: string
                          format: byte
                          description: Trace entry typ, bit encoded
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
