openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PERFORMANCE_TRACE_SUMMARY_ALL:
    post:
      tags:
      - SSQ0
      operationId: /rfc/PERFORMANCE_TRACE_SUMMARY_ALL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_SERVERS:
                  type: string
                  default: ' '
                  maxLength: 1
                BUF_TRACE_EVA:
                  type: string
                  default: ' '
                  maxLength: 1
                END_DATE:
                  type: string
                  format: date
                  default: '30001231'
                END_TIME:
                  type: string
                  default: '000000'
                  maxLength: 6
                ENQ_TRACE_EVA:
                  type: string
                  default: ' '
                  maxLength: 1
                FILL_FULL_TAB:
                  type: string
                  default: ' '
                  maxLength: 1
                PROVIDE_VALUES:
                  type: string
                  default: ' '
                  maxLength: 1
                RFC_TRACE_EVA:
                  type: string
                  default: ' '
                  maxLength: 1
                SQL_TRACE_EVA:
                  type: string
                  default: X
                  maxLength: 1
                START_DATE:
                  type: string
                  format: date
                  default: '20000101'
                START_TIME:
                  type: string
                  default: '000000'
                  maxLength: 6
                TRACE_OFF:
                  type: string
                  default: X
                  maxLength: 1
                TRACE_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                STRACMSG_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DESTIN:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      SERVERNAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                STRACRFC_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: 'Performance Log for RFC Trace: Transaction Code'
                      WPID:
                        type: string
                        maxLength: 8
                        description: 'Performance Log for RFC Trace: Work Process Number'
                      WPTYP:
                        type: string
                        maxLength: 3
                        description: 'Performance Log for RFC Trace: Work Process Type'
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      UNAME:
                        type: string
                        maxLength: 12
                        description: 'Performance Log: User Logon Name'
                      TIME:
                        type: string
                        maxLength: 12
                        description: 'Performance Log for RFC Trace: Statement Start Time'
                      DURATION:
                        type: string
                        maxLength: 9
                        description: 'Performance Log for RFC Trace: Duration of Statement'
                      REPORT:
                        type: string
                        maxLength: 40
                        description: 'Performance Log for RFC Trace: Program'
                      OBJECT:
                        type: string
                        maxLength: 30
                        description: 'Performance Log for RFC Trace: Objects in Statement'
                      OPERATION:
                        type: string
                        maxLength: 7
                        description: 'Performance Log for RFC Trace: Executed Operation'
                      RETCODE:
                        type: integer
                        format: int32
                        description: 'Performance Log for RFC Trace: Statement Return Code'
                      CON_NAME:
                        type: string
                        maxLength: 5
                        description: 'Performance Log for RFC Trace: Logical DB Connection Name'
                      STATEMENT:
                        type: string
                        maxLength: 210
                        description: 'Performance Log for RFC Trace: Abbreviated Statement'
                      SERVERNAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      TRANS_ID:
                        type: string
                        maxLength: 32
                        description: Transaction GUID
                STRACSUM_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      SQLSTATEM:
                        type: string
                        maxLength: 110
                        description: Abbreviated SQL Statement
                      TOTALEXEC:
                        type: integer
                        format: int64
                        description: Total Number of Executions of Identical SQL Statements
                      IDENTSEL:
                        type: integer
                        format: int64
                        description: Percentage of Identical SQL Statement
                      EXECTIME:
                        type: integer
                        format: int64
                        description: Total Runtime for SQL Statements (in Microseconds)
                      RECPROCNUM:
                        type: integer
                        format: int64
                        description: Total Number of Database Records Passed to Program
                      TIMEPEREXE:
                        type: string
                        maxLength: 10
                        description: Average Execution Time per SQL Statement (in ms)
                      RECPEREXE:
                        type: string
                        maxLength: 10
                        description: Average Number of Database Records per SQL Statement
                      AVGTPERREC:
                        type: string
                        maxLength: 10
                        description: Average Processing Time per Database Record
                      MINTPERREC:
                        type: string
                        maxLength: 10
                        description: Minimum Processing Time per Database Record
                      TABROWLEN:
                        type: string
                        maxLength: 6
                        description: Record Length of Specified Table
                      BUFTYPE:
                        type: string
                        maxLength: 5
                        description: Type of Buffer for Specified Table
                      TABLECLASS:
                        type: string
                        maxLength: 8
                        description: Table Type of Specified Table
                      SERVERNAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      TRANS_ID:
                        type: string
                        maxLength: 32
                        description: Transaction GUID
                TRANS_ID_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TRANSID:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload: Workload: Transaction ID'
                      APPL_STAT:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload: Statistic collector: Application statistic?(X)'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SCIT_SQL_ANALYZE:
                    type: array
                    items:
                      type: object
                      properties:
                        STMNT:
                          type: string
                          description: ''
                        PROGRAM:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        OFFSET:
                          type: integer
                          format: int32
                          description: ''
                        VALUES:
                          type: array
                          items:
                            type: object
                            properties:
                              TYPE:
                                type: string
                                maxLength: 2
                                description: ''
                              LENGTH:
                                type: integer
                                format: int32
                                description: ''
                              VALUE:
                                type: string
                                maxLength: 512
                                description: ''
                  STRACMSG_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DESTIN:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        SERVERNAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  STRACRFC_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: 'Performance Log for RFC Trace: Transaction Code'
                        WPID:
                          type: string
                          maxLength: 8
                          description: 'Performance Log for RFC Trace: Work Process Number'
                        WPTYP:
                          type: string
                          maxLength: 3
                          description: 'Performance Log for RFC Trace: Work Process Type'
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        UNAME:
                          type: string
                          maxLength: 12
                          description: 'Performance Log: User Logon Name'
                        TIME:
                          type: string
                          maxLength: 12
                          description: 'Performance Log for RFC Trace: Statement Start Time'
                        DURATION:
                          type: string
                          maxLength: 9
                          description: 'Performance Log for RFC Trace: Duration of Statement'
                        REPORT:
                          type: string
                          maxLength: 40
                          description: 'Performance Log for RFC Trace: Program'
                        OBJECT:
                          type: string
                          maxLength: 30
                          description: 'Performance Log for RFC Trace: Objects in Statement'
                        OPERATION:
                          type: string
                          maxLength: 7
                          description: 'Performance Log for RFC Trace: Executed Operation'
                        RETCODE:
                          type: integer
                          format: int32
                          description: 'Performance Log for RFC Trace: Statement Return Code'
                        CON_NAME:
                          type: string
                          maxLength: 5
                          description: 'Performance Log for RFC Trace: Logical DB Connection Name'
                        STATEMENT:
                          type: string
                          maxLength: 210
                          description: 'Performance Log for RFC Trace: Abbreviated Statement'
                        SERVERNAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        TRANS_ID:
                          type: string
                          maxLength: 32
                          description: Transaction GUID
                  STRACSUM_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        SQLSTATEM:
                          type: string
                          maxLength: 110
                          description: Abbreviated SQL Statement
                        TOTALEXEC:
                          type: integer
                          format: int64
                          description: Total Number of Executions of Identical SQL Statements
                        IDENTSEL:
                          type: integer
                          format: int64
                          description: Percentage of Identical SQL Statement
                        EXECTIME:
                          type: integer
                          format: int64
                          description: Total Runtime for SQL Statements (in Microseconds)
                        RECPROCNUM:
                          type: integer
                          format: int64
                          description: Total Number of Database Records Passed to Program
                        TIMEPEREXE:
                          type: string
                          maxLength: 10
                          description: Average Execution Time per SQL Statement (in ms)
                        RECPEREXE:
                          type: string
                          maxLength: 10
                          description: Average Number of Database Records per SQL Statement
                        AVGTPERREC:
                          type: string
                          maxLength: 10
                          description: Average Processing Time per Database Record
                        MINTPERREC:
                          type: string
                          maxLength: 10
                          description: Minimum Processing Time per Database Record
                        TABROWLEN:
                          type: string
                          maxLength: 6
                          description: Record Length of Specified Table
                        BUFTYPE:
                          type: string
                          maxLength: 5
                          description: Type of Buffer for Specified Table
                        TABLECLASS:
                          type: string
                          maxLength: 8
                          description: Table Type of Specified Table
                        SERVERNAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        TRANS_ID:
                          type: string
                          maxLength: 32
                          description: Transaction GUID
                  TRANS_ID_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TRANSID:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: Workload: Transaction ID'
                        APPL_STAT:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload: Statistic collector: Application statistic?(X)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
