openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STUO_GET_WAIT_EVENTS:
    post:
      tags:
      - STUO
      operationId: /rfc/STUO_GET_WAIT_EVENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ANALYSIS:
                  type: string
                  default: S
                  maxLength: 1
                EVENT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SESS_TYPE:
                        type: string
                        maxLength: 12
                        description: 'Oracle: Session type (user, background, etc.)'
                      CLIENT1:
                        type: string
                        maxLength: 32
                        description: 'Oracle: Client of an Oracle session'
                      CLIENT2:
                        type: string
                        maxLength: 32
                        description: 'Oracle: Client of an Oracle session'
                      EVENT:
                        type: string
                        maxLength: 64
                        description: 'Oracle: Wait event name (V$System_Event, V$Session_Event)'
                      TIME_WAIT:
                        type: integer
                        format: int64
                        description: 'Oracle: Time_Waited (V$System_Event, V$Session_Event)'
                SESSION_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SESS_TYPE:
                        type: string
                        maxLength: 12
                        description: 'Oracle: Session type (user, background, etc.)'
                      CLIENT1:
                        type: string
                        maxLength: 32
                        description: 'Oracle: Client of an Oracle session'
                      CLIENT2:
                        type: string
                        maxLength: 32
                        description: 'Oracle: Client of an Oracle session'
                      SESSCOUNT:
                        type: integer
                        format: int32
                        description: 'Oracle: Number of sessions per session type and client'
                      WAIT_TOTAL:
                        type: integer
                        format: int64
                        description: 'Oracle: Time_Waited (V$System_Event, V$Session_Event)'
                      WAIT_BUSY:
                        type: integer
                        format: int64
                        description: 'Oracle: Time_Waited (V$System_Event, V$Session_Event)'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CURR_DATE:
                    type: string
                    format: date
                  CURR_SYSTEM:
                    type: string
                    maxLength: 16
                  CURR_TIME:
                    type: string
                    maxLength: 6
                  EVENT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SESS_TYPE:
                          type: string
                          maxLength: 12
                          description: 'Oracle: Session type (user, background, etc.)'
                        CLIENT1:
                          type: string
                          maxLength: 32
                          description: 'Oracle: Client of an Oracle session'
                        CLIENT2:
                          type: string
                          maxLength: 32
                          description: 'Oracle: Client of an Oracle session'
                        EVENT:
                          type: string
                          maxLength: 64
                          description: 'Oracle: Wait event name (V$System_Event, V$Session_Event)'
                        TIME_WAIT:
                          type: integer
                          format: int64
                          description: 'Oracle: Time_Waited (V$System_Event, V$Session_Event)'
                  SESSION_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SESS_TYPE:
                          type: string
                          maxLength: 12
                          description: 'Oracle: Session type (user, background, etc.)'
                        CLIENT1:
                          type: string
                          maxLength: 32
                          description: 'Oracle: Client of an Oracle session'
                        CLIENT2:
                          type: string
                          maxLength: 32
                          description: 'Oracle: Client of an Oracle session'
                        SESSCOUNT:
                          type: integer
                          format: int32
                          description: 'Oracle: Number of sessions per session type and client'
                        WAIT_TOTAL:
                          type: integer
                          format: int64
                          description: 'Oracle: Time_Waited (V$System_Event, V$Session_Event)'
                        WAIT_BUSY:
                          type: integer
                          format: int64
                          description: 'Oracle: Time_Waited (V$System_Event, V$Session_Event)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
