openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB_INF_SESSIONS_CHAR:
    post:
      tags:
      - STD2
      operationId: /rfc/DB_INF_SESSIONS_CHAR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVE_SESSIONS_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                CUMTIMES:
                  type: string
                  default: ' '
                  maxLength: 1
                R3INFO_INCLUDED:
                  type: string
                  default: ' '
                  maxLength: 1
                RESET_TIMESTAMP_OLD:
                  type: integer
                  format: int32
                  default: 0
                THREADSTAT_INCLUDED:
                  type: string
                  default: ' '
                  maxLength: 1
                WITH_CPU:
                  type: string
                  default: ' '
                  maxLength: 1
                SESSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      DBSID:
                        type: integer
                        format: int32
                        description: SID of a DB session
                      TID:
                        type: integer
                        format: int32
                        description: Thread ID (Informix monitor)
                      VPID:
                        type: integer
                        format: int32
                        description: 'Informix monitor: Vp ID'
                      VP_CLASS:
                        type: string
                        maxLength: 3
                        description: 'Informix monitor: Vp class'
                      CLHOSTNAME:
                        type: string
                        maxLength: 16
                        description: Informix client host name
                      DBUSERNAME:
                        type: string
                        maxLength: 12
                        description: User Currently Served
                      CL_PID:
                        type: integer
                        format: int32
                        description: PID of an R/3 WP (DB session)
                      CL_TTY:
                        type: string
                        maxLength: 16
                        description: Informix client tty
                      CL_CONNECT:
                        type: integer
                        format: int32
                        description: Informix client connected
                      THREADSTAT:
                        type: string
                        maxLength: 23
                        description: 'Informix monitor: Thread status'
                      THREADNAME:
                        type: string
                        maxLength: 16
                        description: 'Informix monitor: Thread name'
                      PRIORITY:
                        type: integer
                        format: int32
                        description: Thread priority
                      LOCK_WAIT:
                        type: integer
                        format: int32
                        description: db lock waiting for (Informix monitor)
                      WAITSSINCE:
                        type: integer
                        format: int32
                        description: Number of seconds waiting for a DB lock
                      CUMRUNTIME:
                        type: string
                        maxLength: 13
                        description: Session run time (Informix monitor)
                      CUMWAITTIM:
                        type: string
                        maxLength: 13
                        description: Session wait time (Informix monitor)
                      WP_REPORT:
                        type: string
                        maxLength: 40
                        description: Report now running
                      WP_BNAME:
                        type: string
                        maxLength: 12
                        description: User Currently Served
                      WP_NO:
                        type: string
                        maxLength: 2
                        description: Work process no.
                      WP_TYP:
                        type: string
                        maxLength: 3
                        description: Type
                      WP_STATUS:
                        type: string
                        maxLength: 7
                        description: Work process status
                      WP_WAITING:
                        type: string
                        maxLength: 5
                        description: Why Work Process is Waiting
                      WP_SEM:
                        type: string
                        maxLength: 2
                        description: Semaphore that the work process is waiting for
                      WP_ELTIME:
                        type: string
                        maxLength: 6
                        description: Previous Runtime of Request (elapsed)
                      WP_CPU:
                        type: string
                        maxLength: 8
                        description: CPU
                      WP_MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      WP_TABLE:
                        type: string
                        maxLength: 30
                        description: DB table last accessed by the work process
                      WP_WAITINF:
                        type: string
                        maxLength: 40
                        description: Additional information about the reason for waiting
                      WP_WAITTIM:
                        type: string
                        maxLength: 8
                        description: Time when waiting started
                      WP_ACTION:
                        type: string
                        maxLength: 25
                        description: Current Activity of the Work Process
                SESSIONS_OLD:
                  type: array
                  items:
                    type: object
                    properties:
                      DBSID:
                        type: integer
                        format: int32
                        description: SID of a DB session
                      TID:
                        type: integer
                        format: int32
                        description: Thread ID (Informix monitor)
                      VPID:
                        type: integer
                        format: int32
                        description: 'Informix monitor: Vp ID'
                      VP_CLASS:
                        type: string
                        maxLength: 3
                        description: 'Informix monitor: Vp class'
                      CLHOSTNAME:
                        type: string
                        maxLength: 16
                        description: Informix client host name
                      DBUSERNAME:
                        type: string
                        maxLength: 12
                        description: User Currently Served
                      CL_PID:
                        type: integer
                        format: int32
                        description: PID of an R/3 WP (DB session)
                      CL_TTY:
                        type: string
                        maxLength: 16
                        description: Informix client tty
                      CL_CONNECT:
                        type: integer
                        format: int32
                        description: Informix client connected
                      THREADSTAT:
                        type: string
                        maxLength: 23
                        description: 'Informix monitor: Thread status'
                      THREADNAME:
                        type: string
                        maxLength: 16
                        description: 'Informix monitor: Thread name'
                      PRIORITY:
                        type: integer
                        format: int32
                        description: Thread priority
                      LOCK_WAIT:
                        type: integer
                        format: int32
                        description: db lock waiting for (Informix monitor)
                      WAITSSINCE:
                        type: integer
                        format: int32
                        description: Number of seconds waiting for a DB lock
                      CUMRUNTIME:
                        type: string
                        maxLength: 13
                        description: Session run time (Informix monitor)
                      CUMWAITTIM:
                        type: string
                        maxLength: 13
                        description: Session wait time (Informix monitor)
                      WP_REPORT:
                        type: string
                        maxLength: 40
                        description: Report now running
                      WP_BNAME:
                        type: string
                        maxLength: 12
                        description: User Currently Served
                      WP_NO:
                        type: string
                        maxLength: 2
                        description: Work process no.
                      WP_TYP:
                        type: string
                        maxLength: 3
                        description: Type
                      WP_STATUS:
                        type: string
                        maxLength: 7
                        description: Work process status
                      WP_WAITING:
                        type: string
                        maxLength: 5
                        description: Why Work Process is Waiting
                      WP_SEM:
                        type: string
                        maxLength: 2
                        description: Semaphore that the work process is waiting for
                      WP_ELTIME:
                        type: string
                        maxLength: 6
                        description: Previous Runtime of Request (elapsed)
                      WP_CPU:
                        type: string
                        maxLength: 8
                        description: CPU
                      WP_MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      WP_TABLE:
                        type: string
                        maxLength: 30
                        description: DB table last accessed by the work process
                      WP_WAITINF:
                        type: string
                        maxLength: 40
                        description: Additional information about the reason for waiting
                      WP_WAITTIM:
                        type: string
                        maxLength: 8
                        description: Time when waiting started
                      WP_ACTION:
                        type: string
                        maxLength: 25
                        description: Current Activity of the Work Process
                THREAD_STATISTICS:
                  type: array
                  items:
                    type: object
                    properties:
                      TID:
                        type: integer
                        format: int32
                        description: Thread ID (Informix monitor)
                      LOCKSREQUE:
                        type: integer
                        format: int32
                        description: No. of locks requested
                      LOCKSHELD:
                        type: integer
                        format: int32
                        description: No. of locks currently held
                      LOCKWTS:
                        type: integer
                        format: int32
                        description: No. of lock waits
                      DEADLOCKS:
                        type: integer
                        format: int32
                        description: No. of deadlocks detected
                      LKTOUTS:
                        type: integer
                        format: int32
                        description: No. of lock timeouts
                      LOGRECS:
                        type: integer
                        format: int32
                        description: No. of log records written
                      ISREADS:
                        type: integer
                        format: int32
                        description: No. of ISAM reads
                      ISWRITES:
                        type: integer
                        format: int32
                        description: No. of ISAM writes
                      ISREWRITES:
                        type: integer
                        format: int32
                        description: No. of ISAM rewrites
                      ISDELETES:
                        type: integer
                        format: int32
                        description: No. of ISAM deletes
                      ISCOMMITS:
                        type: integer
                        format: int32
                        description: Number of commits
                      ISROLLBACK:
                        type: integer
                        format: int32
                        description: No. of rollbacks
                      LONGTXS:
                        type: integer
                        format: int32
                        description: No. of long transactions
                      BUFREADS:
                        type: integer
                        format: int32
                        description: Number of buffer reads
                      BUFWRITES:
                        type: integer
                        format: int32
                        description: Number of buffer writes
                      LOGSPUSED:
                        type: integer
                        format: int32
                        description: '% log space currently used'
                      MAXLOGSP:
                        type: integer
                        format: int32
                        description: Max. % of logspace ever used
                      SEQSCANS:
                        type: integer
                        format: int32
                        description: No. of sequential scans
                      TOTSORTS:
                        type: integer
                        format: int32
                        description: Total no. of sorts
                      DSKSORTS:
                        type: integer
                        format: int32
                        description: No. of disk sorts
                      SRTSPMAX:
                        type: integer
                        format: int32
                        description: srtspmax
                THREAD_STATISTICS_OLD:
                  type: array
                  items:
                    type: object
                    properties:
                      TID:
                        type: integer
                        format: int32
                        description: Thread ID (Informix monitor)
                      LOCKSREQUE:
                        type: integer
                        format: int32
                        description: No. of locks requested
                      LOCKSHELD:
                        type: integer
                        format: int32
                        description: No. of locks currently held
                      LOCKWTS:
                        type: integer
                        format: int32
                        description: No. of lock waits
                      DEADLOCKS:
                        type: integer
                        format: int32
                        description: No. of deadlocks detected
                      LKTOUTS:
                        type: integer
                        format: int32
                        description: No. of lock timeouts
                      LOGRECS:
                        type: integer
                        format: int32
                        description: No. of log records written
                      ISREADS:
                        type: integer
                        format: int32
                        description: No. of ISAM reads
                      ISWRITES:
                        type: integer
                        format: int32
                        description: No. of ISAM writes
                      ISREWRITES:
                        type: integer
                        format: int32
                        description: No. of ISAM rewrites
                      ISDELETES:
                        type: integer
                        format: int32
                        description: No. of ISAM deletes
                      ISCOMMITS:
                        type: integer
                        format: int32
                        description: Number of commits
                      ISROLLBACK:
                        type: integer
                        format: int32
                        description: No. of rollbacks
                      LONGTXS:
                        type: integer
                        format: int32
                        description: No. of long transactions
                      BUFREADS:
                        type: integer
                        format: int32
                        description: Number of buffer reads
                      BUFWRITES:
                        type: integer
                        format: int32
                        description: Number of buffer writes
                      LOGSPUSED:
                        type: integer
                        format: int32
                        description: '% log space currently used'
                      MAXLOGSP:
                        type: integer
                        format: int32
                        description: Max. % of logspace ever used
                      SEQSCANS:
                        type: integer
                        format: int32
                        description: No. of sequential scans
                      TOTSORTS:
                        type: integer
                        format: int32
                        description: Total no. of sorts
                      DSKSORTS:
                        type: integer
                        format: int32
                        description: No. of disk sorts
                      SRTSPMAX:
                        type: integer
                        format: int32
                        description: srtspmax
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATE_OF_STATISTICS:
                    type: string
                    format: date
                  RESET_TIMESTAMP:
                    type: integer
                    format: int32
                  TIME_OF_STATISTICS:
                    type: string
                    maxLength: 6
                  SESSIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        DBSID:
                          type: integer
                          format: int32
                          description: SID of a DB session
                        TID:
                          type: integer
                          format: int32
                          description: Thread ID (Informix monitor)
                        VPID:
                          type: integer
                          format: int32
                          description: 'Informix monitor: Vp ID'
                        VP_CLASS:
                          type: string
                          maxLength: 3
                          description: 'Informix monitor: Vp class'
                        CLHOSTNAME:
                          type: string
                          maxLength: 16
                          description: Informix client host name
                        DBUSERNAME:
                          type: string
                          maxLength: 12
                          description: User Currently Served
                        CL_PID:
                          type: integer
                          format: int32
                          description: PID of an R/3 WP (DB session)
                        CL_TTY:
                          type: string
                          maxLength: 16
                          description: Informix client tty
                        CL_CONNECT:
                          type: integer
                          format: int32
                          description: Informix client connected
                        THREADSTAT:
                          type: string
                          maxLength: 23
                          description: 'Informix monitor: Thread status'
                        THREADNAME:
                          type: string
                          maxLength: 16
                          description: 'Informix monitor: Thread name'
                        PRIORITY:
                          type: integer
                          format: int32
                          description: Thread priority
                        LOCK_WAIT:
                          type: integer
                          format: int32
                          description: db lock waiting for (Informix monitor)
                        WAITSSINCE:
                          type: integer
                          format: int32
                          description: Number of seconds waiting for a DB lock
                        CUMRUNTIME:
                          type: string
                          maxLength: 13
                          description: Session run time (Informix monitor)
                        CUMWAITTIM:
                          type: string
                          maxLength: 13
                          description: Session wait time (Informix monitor)
                        WP_REPORT:
                          type: string
                          maxLength: 40
                          description: Report now running
                        WP_BNAME:
                          type: string
                          maxLength: 12
                          description: User Currently Served
                        WP_NO:
                          type: string
                          maxLength: 2
                          description: Work process no.
                        WP_TYP:
                          type: string
                          maxLength: 3
                          description: Type
                        WP_STATUS:
                          type: string
                          maxLength: 7
                          description: Work process status
                        WP_WAITING:
                          type: string
                          maxLength: 5
                          description: Why Work Process is Waiting
                        WP_SEM:
                          type: string
                          maxLength: 2
                          description: Semaphore that the work process is waiting for
                        WP_ELTIME:
                          type: string
                          maxLength: 6
                          description: Previous Runtime of Request (elapsed)
                        WP_CPU:
                          type: string
                          maxLength: 8
                          description: CPU
                        WP_MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        WP_TABLE:
                          type: string
                          maxLength: 30
                          description: DB table last accessed by the work process
                        WP_WAITINF:
                          type: string
                          maxLength: 40
                          description: Additional information about the reason for waiting
                        WP_WAITTIM:
                          type: string
                          maxLength: 8
                          description: Time when waiting started
                        WP_ACTION:
                          type: string
                          maxLength: 25
                          description: Current Activity of the Work Process
                  SESSIONS_OLD:
                    type: array
                    items:
                      type: object
                      properties:
                        DBSID:
                          type: integer
                          format: int32
                          description: SID of a DB session
                        TID:
                          type: integer
                          format: int32
                          description: Thread ID (Informix monitor)
                        VPID:
                          type: integer
                          format: int32
                          description: 'Informix monitor: Vp ID'
                        VP_CLASS:
                          type: string
                          maxLength: 3
                          description: 'Informix monitor: Vp class'
                        CLHOSTNAME:
                          type: string
                          maxLength: 16
                          description: Informix client host name
                        DBUSERNAME:
                          type: string
                          maxLength: 12
                          description: User Currently Served
                        CL_PID:
                          type: integer
                          format: int32
                          description: PID of an R/3 WP (DB session)
                        CL_TTY:
                          type: string
                          maxLength: 16
                          description: Informix client tty
                        CL_CONNECT:
                          type: integer
                          format: int32
                          description: Informix client connected
                        THREADSTAT:
                          type: string
                          maxLength: 23
                          description: 'Informix monitor: Thread status'
                        THREADNAME:
                          type: string
                          maxLength: 16
                          description: 'Informix monitor: Thread name'
                        PRIORITY:
                          type: integer
                          format: int32
                          description: Thread priority
                        LOCK_WAIT:
                          type: integer
                          format: int32
                          description: db lock waiting for (Informix monitor)
                        WAITSSINCE:
                          type: integer
                          format: int32
                          description: Number of seconds waiting for a DB lock
                        CUMRUNTIME:
                          type: string
                          maxLength: 13
                          description: Session run time (Informix monitor)
                        CUMWAITTIM:
                          type: string
                          maxLength: 13
                          description: Session wait time (Informix monitor)
                        WP_REPORT:
                          type: string
                          maxLength: 40
                          description: Report now running
                        WP_BNAME:
                          type: string
                          maxLength: 12
                          description: User Currently Served
                        WP_NO:
                          type: string
                          maxLength: 2
                          description: Work process no.
                        WP_TYP:
                          type: string
                          maxLength: 3
                          description: Type
                        WP_STATUS:
                          type: string
                          maxLength: 7
                          description: Work process status
                        WP_WAITING:
                          type: string
                          maxLength: 5
                          description: Why Work Process is Waiting
                        WP_SEM:
                          type: string
                          maxLength: 2
                          description: Semaphore that the work process is waiting for
                        WP_ELTIME:
                          type: string
                          maxLength: 6
                          description: Previous Runtime of Request (elapsed)
                        WP_CPU:
                          type: string
                          maxLength: 8
                          description: CPU
                        WP_MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        WP_TABLE:
                          type: string
                          maxLength: 30
                          description: DB table last accessed by the work process
                        WP_WAITINF:
                          type: string
                          maxLength: 40
                          description: Additional information about the reason for waiting
                        WP_WAITTIM:
                          type: string
                          maxLength: 8
                          description: Time when waiting started
                        WP_ACTION:
                          type: string
                          maxLength: 25
                          description: Current Activity of the Work Process
                  THREAD_STATISTICS:
                    type: array
                    items:
                      type: object
                      properties:
                        TID:
                          type: integer
                          format: int32
                          description: Thread ID (Informix monitor)
                        LOCKSREQUE:
                          type: integer
                          format: int32
                          description: No. of locks requested
                        LOCKSHELD:
                          type: integer
                          format: int32
                          description: No. of locks currently held
                        LOCKWTS:
                          type: integer
                          format: int32
                          description: No. of lock waits
                        DEADLOCKS:
                          type: integer
                          format: int32
                          description: No. of deadlocks detected
                        LKTOUTS:
                          type: integer
                          format: int32
                          description: No. of lock timeouts
                        LOGRECS:
                          type: integer
                          format: int32
                          description: No. of log records written
                        ISREADS:
                          type: integer
                          format: int32
                          description: No. of ISAM reads
                        ISWRITES:
                          type: integer
                          format: int32
                          description: No. of ISAM writes
                        ISREWRITES:
                          type: integer
                          format: int32
                          description: No. of ISAM rewrites
                        ISDELETES:
                          type: integer
                          format: int32
                          description: No. of ISAM deletes
                        ISCOMMITS:
                          type: integer
                          format: int32
                          description: Number of commits
                        ISROLLBACK:
                          type: integer
                          format: int32
                          description: No. of rollbacks
                        LONGTXS:
                          type: integer
                          format: int32
                          description: No. of long transactions
                        BUFREADS:
                          type: integer
                          format: int32
                          description: Number of buffer reads
                        BUFWRITES:
                          type: integer
                          format: int32
                          description: Number of buffer writes
                        LOGSPUSED:
                          type: integer
                          format: int32
                          description: '% log space currently used'
                        MAXLOGSP:
                          type: integer
                          format: int32
                          description: Max. % of logspace ever used
                        SEQSCANS:
                          type: integer
                          format: int32
                          description: No. of sequential scans
                        TOTSORTS:
                          type: integer
                          format: int32
                          description: Total no. of sorts
                        DSKSORTS:
                          type: integer
                          format: int32
                          description: No. of disk sorts
                        SRTSPMAX:
                          type: integer
                          format: int32
                          description: srtspmax
                  THREAD_STATISTICS_OLD:
                    type: array
                    items:
                      type: object
                      properties:
                        TID:
                          type: integer
                          format: int32
                          description: Thread ID (Informix monitor)
                        LOCKSREQUE:
                          type: integer
                          format: int32
                          description: No. of locks requested
                        LOCKSHELD:
                          type: integer
                          format: int32
                          description: No. of locks currently held
                        LOCKWTS:
                          type: integer
                          format: int32
                          description: No. of lock waits
                        DEADLOCKS:
                          type: integer
                          format: int32
                          description: No. of deadlocks detected
                        LKTOUTS:
                          type: integer
                          format: int32
                          description: No. of lock timeouts
                        LOGRECS:
                          type: integer
                          format: int32
                          description: No. of log records written
                        ISREADS:
                          type: integer
                          format: int32
                          description: No. of ISAM reads
                        ISWRITES:
                          type: integer
                          format: int32
                          description: No. of ISAM writes
                        ISREWRITES:
                          type: integer
                          format: int32
                          description: No. of ISAM rewrites
                        ISDELETES:
                          type: integer
                          format: int32
                          description: No. of ISAM deletes
                        ISCOMMITS:
                          type: integer
                          format: int32
                          description: Number of commits
                        ISROLLBACK:
                          type: integer
                          format: int32
                          description: No. of rollbacks
                        LONGTXS:
                          type: integer
                          format: int32
                          description: No. of long transactions
                        BUFREADS:
                          type: integer
                          format: int32
                          description: Number of buffer reads
                        BUFWRITES:
                          type: integer
                          format: int32
                          description: Number of buffer writes
                        LOGSPUSED:
                          type: integer
                          format: int32
                          description: '% log space currently used'
                        MAXLOGSP:
                          type: integer
                          format: int32
                          description: Max. % of logspace ever used
                        SEQSCANS:
                          type: integer
                          format: int32
                          description: No. of sequential scans
                        TOTSORTS:
                          type: integer
                          format: int32
                          description: Total no. of sorts
                        DSKSORTS:
                          type: integer
                          format: int32
                          description: No. of disk sorts
                        SRTSPMAX:
                          type: integer
                          format: int32
                          description: srtspmax
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
