openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_DB_INF_COLLECT_THPROFILE:
    post:
      tags:
      - STUI
      summary: Collect and accumulate thread profile values
      operationId: /rfc/S_DB_INF_COLLECT_THPROFILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RESET:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Date and time, Daylight savings time flag
                ST04TH:
                  type: array
                  items:
                    type: object
                    properties:
                      THREAD_ID:
                        type: integer
                        format: int32
                        description: Thread ID (Informix monitor)
                      THREADNAME:
                        type: string
                        maxLength: 16
                        description: 'Informix monitor: Thread name'
                      SESSION_ID:
                        type: integer
                        format: int32
                        description: 'Informix Monitor: Session ID'
                      VP_ID:
                        type: integer
                        format: int32
                        description: 'Informix monitor: Vp ID'
                      VP_CLASS:
                        type: string
                        maxLength: 3
                        description: 'Informix monitor: Vp class'
                      PID:
                        type: integer
                        format: int32
                        description: Process ID
                      TH_STATE:
                        type: integer
                        format: int32
                        description: 'Informix Monitor: Thread State (numeric)'
                      TH_STATE_T:
                        type: string
                        maxLength: 30
                        description: 'Informix Monitor: Thread State (text)'
                      TH_PRIO:
                        type: integer
                        format: int32
                        description: Thread priority
                      MUTEX_WAIT:
                        type: string
                        maxLength: 18
                        description: 'Informix Monitor: Mutex Address waiting on'
                      COND_WAIT:
                        type: string
                        maxLength: 18
                        description: 'Informix Monitor: Condition Address waiting on'
                      LOCKSHELD:
                        type: integer
                        format: int32
                        description: No. of locks currently held
                      BUFREADS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      BUFWRITS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      DSKREADS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      DSKWRITS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      LOCKREQS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      LOCKWAIT_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      DEADLOCK_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      SEQSCANS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      DSKSORTS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      ISREADS_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      ISCHANGE_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      LONGTX_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      RUNTIME_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      WAITTIME_S:
                        type: integer
                        format: int64
                        description: 'STUI: sum of some very long integer'
                      BUFREADS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFWRITS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKREADS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKWRITS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKREQS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKWAIT_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DEADLOCK_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      SEQSCANS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKSORTS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISREADS_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISCHANGE_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LONGTX_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      RUNTIME_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      WAITTIME_C:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFREADS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFWRITS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKREADS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKWRITS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKREQS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKWAIT_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DEADLOCK_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      SEQSCANS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKSORTS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISREADS_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISCHANGE_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LONGTX_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      RUNTIME_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      WAITTIME_R:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFREADS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFWRITS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKREADS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKWRITS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKREQS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKWAIT_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DEADLOCK_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      SEQSCANS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKSORTS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISREADS_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISCHANGE_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LONGTX_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      RUNTIME_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      WAITTIME_P:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFREADS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      BUFWRITS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKREADS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKWRITS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKREQS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LOCKWAIT_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DEADLOCK_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      SEQSCANS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      DSKSORTS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISREADS_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      ISCHANGE_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      LONGTX_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      RUNTIME_L:
                        type: integer
                        format: int64
                        description: 'STUI: some very long integer'
                      WAITTIME_L:
                        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
                  ST04TH:
                    type: array
                    items:
                      type: object
                      properties:
                        THREAD_ID:
                          type: integer
                          format: int32
                          description: Thread ID (Informix monitor)
                        THREADNAME:
                          type: string
                          maxLength: 16
                          description: 'Informix monitor: Thread name'
                        SESSION_ID:
                          type: integer
                          format: int32
                          description: 'Informix Monitor: Session ID'
                        VP_ID:
                          type: integer
                          format: int32
                          description: 'Informix monitor: Vp ID'
                        VP_CLASS:
                          type: string
                          maxLength: 3
                          description: 'Informix monitor: Vp class'
                        PID:
                          type: integer
                          format: int32
                          description: Process ID
                        TH_STATE:
                          type: integer
                          format: int32
                          description: 'Informix Monitor: Thread State (numeric)'
                        TH_STATE_T:
                          type: string
                          maxLength: 30
                          description: 'Informix Monitor: Thread State (text)'
                        TH_PRIO:
                          type: integer
                          format: int32
                          description: Thread priority
                        MUTEX_WAIT:
                          type: string
                          maxLength: 18
                          description: 'Informix Monitor: Mutex Address waiting on'
                        COND_WAIT:
                          type: string
                          maxLength: 18
                          description: 'Informix Monitor: Condition Address waiting on'
                        LOCKSHELD:
                          type: integer
                          format: int32
                          description: No. of locks currently held
                        BUFREADS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        BUFWRITS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        DSKREADS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        DSKWRITS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        LOCKREQS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        LOCKWAIT_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        DEADLOCK_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        SEQSCANS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        DSKSORTS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        ISREADS_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        ISCHANGE_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        LONGTX_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        RUNTIME_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        WAITTIME_S:
                          type: integer
                          format: int64
                          description: 'STUI: sum of some very long integer'
                        BUFREADS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFWRITS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKREADS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKWRITS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKREQS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKWAIT_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DEADLOCK_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        SEQSCANS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKSORTS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISREADS_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISCHANGE_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LONGTX_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        RUNTIME_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        WAITTIME_C:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFREADS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFWRITS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKREADS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKWRITS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKREQS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKWAIT_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DEADLOCK_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        SEQSCANS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKSORTS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISREADS_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISCHANGE_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LONGTX_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        RUNTIME_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        WAITTIME_R:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFREADS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFWRITS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKREADS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKWRITS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKREQS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKWAIT_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DEADLOCK_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        SEQSCANS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKSORTS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISREADS_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISCHANGE_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LONGTX_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        RUNTIME_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        WAITTIME_P:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFREADS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        BUFWRITS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKREADS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKWRITS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKREQS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LOCKWAIT_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DEADLOCK_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        SEQSCANS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        DSKSORTS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISREADS_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        ISCHANGE_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        LONGTX_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        RUNTIME_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
                        WAITTIME_L:
                          type: integer
                          format: int64
                          description: 'STUI: some very long integer'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
