openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_DB_INF_COLLECT_VPPROFILE:
    post:
      tags:
      - STUI
      summary: Collect and accumulate VP's profile values
      operationId: /rfc/S_DB_INF_COLLECT_VPPROFILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RESET:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Date and time, Daylight savings time flag
                ST04VP:
                  type: array
                  items:
                    type: object
                    properties:
                      VPID:
                        type: integer
                        format: int32
                        description: 'Informix monitor: Vp ID'
                      PID:
                        type: integer
                        format: int32
                        description: Process ID
                      CLASS:
                        type: string
                        maxLength: 3
                        description: 'Informix monitor: Vp class'
                      READY:
                        type: integer
                        format: int32
                        description: Informix Number of Threads waiting in Ready Queue
                      UCPU_SUM:
                        type: integer
                        format: int64
                        description: User CPU seconds
                      SCPU_SUM:
                        type: integer
                        format: int64
                        description: System CPU seconds
                      UCPU_CLR:
                        type: integer
                        format: int64
                        description: User CPU seconds
                      SCPU_CLR:
                        type: integer
                        format: int64
                        description: System CPU seconds
                      UCPU_RST:
                        type: integer
                        format: int64
                        description: User CPU seconds
                      SCPU_RST:
                        type: integer
                        format: int64
                        description: System CPU seconds
                      UCPU_PLS:
                        type: integer
                        format: int64
                        description: User CPU seconds
                      SCPU_PLS:
                        type: integer
                        format: int64
                        description: System CPU seconds
                      UCPU_LST:
                        type: integer
                        format: int64
                        description: User CPU seconds
                      SCPU_LST:
                        type: integer
                        format: int64
                        description: System CPU seconds
      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
                  ST04VP:
                    type: array
                    items:
                      type: object
                      properties:
                        VPID:
                          type: integer
                          format: int32
                          description: 'Informix monitor: Vp ID'
                        PID:
                          type: integer
                          format: int32
                          description: Process ID
                        CLASS:
                          type: string
                          maxLength: 3
                          description: 'Informix monitor: Vp class'
                        READY:
                          type: integer
                          format: int32
                          description: Informix Number of Threads waiting in Ready Queue
                        UCPU_SUM:
                          type: integer
                          format: int64
                          description: User CPU seconds
                        SCPU_SUM:
                          type: integer
                          format: int64
                          description: System CPU seconds
                        UCPU_CLR:
                          type: integer
                          format: int64
                          description: User CPU seconds
                        SCPU_CLR:
                          type: integer
                          format: int64
                          description: System CPU seconds
                        UCPU_RST:
                          type: integer
                          format: int64
                          description: User CPU seconds
                        SCPU_RST:
                          type: integer
                          format: int64
                          description: System CPU seconds
                        UCPU_PLS:
                          type: integer
                          format: int64
                          description: User CPU seconds
                        SCPU_PLS:
                          type: integer
                          format: int64
                          description: System CPU seconds
                        UCPU_LST:
                          type: integer
                          format: int64
                          description: User CPU seconds
                        SCPU_LST:
                          type: integer
                          format: int64
                          description: System CPU seconds
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
