openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_DB_INF_COLLECT_PROFILE:
    post:
      tags:
      - STUI
      summary: Collect and accumulate profile values
      operationId: /rfc/S_DB_INF_COLLECT_PROFILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RESET:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Date and time, Daylight savings time flag
                ST04PROF:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 16
                        description: 'STUI: Parameter name'
                      SUMVAL:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      CLEARVAL:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      RESETVAL:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      PLASTVAL:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LASTVAL:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BOOTTIME:
                    type: integer
                    format: int32
                    description: Timestamp of database start
                  CLEARTIME:
                    type: integer
                    format: int32
                    description: Timestamp of onstat -z
                  PROFTIME:
                    type: integer
                    format: int32
                    description: Timestamp of last profile data
                  RESETTIME:
                    type: integer
                    format: int32
                    description: Timestamp of reset
                  ST04PROF:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 16
                          description: 'STUI: Parameter name'
                        SUMVAL:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        CLEARVAL:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        RESETVAL:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        PLASTVAL:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LASTVAL:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
