openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PERFORMANCE_PROT_GET_DATA:
    post:
      tags:
      - PERF_TRA_DIA
      operationId: /rfc/PERFORMANCE_PROT_GET_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                T_PERF_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      DESTIN:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      ASCHEMA:
                        type: string
                        maxLength: 56
                        description: Name of Evaluation Schema (Global Performance Analysis)
                      AOBJECT:
                        type: string
                        maxLength: 56
                        description: Name of Evaluation Object (Global Performance Analysis)
                      TOTALEX_ST:
                        type: integer
                        format: int64
                        description: Number of Database Accesses (SEL, UPD, INS, DEL)(Statistics)
                      KBYTETRANS:
                        type: integer
                        format: int64
                        description: Amount of Data Transferred in KB (= Queue + Source + DSQL)
                      MEMORYUSED:
                        type: integer
                        format: int64
                        description: Memory Used in MBytes
                      CPUTIME:
                        type: integer
                        format: int64
                        description: CPU Time in ms
                      ROUNDTRIPS:
                        type: integer
                        format: int64
                        description: 'SAP Workload: Number of Roundtrips'
                      INOUTDATA:
                        type: integer
                        format: int64
                        description: Total Data Volume Between Front End and App.  Server (KB)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_MAIN_TEST_INFO:
                    type: object
                    properties:
                      PROTIDTEXT:
                        type: string
                        maxLength: 128
                        description: Text for Performance Test
                      PROCGUID:
                        type: string
                        format: byte
                        description: Log GUID for Performance Analysis
                      UNAME:
                        type: string
                        maxLength: 12
                        description: 'Performance Log: User Logon Name'
                      TSTARTDATE:
                        type: string
                        format: date
                        description: Start Date of Performance Log
                      TSTARTTIME:
                        type: string
                        maxLength: 6
                        description: Start Time of Performance Log
                      TENDDATE:
                        type: string
                        format: date
                        description: Performance Log End Date
                      TENDTIME:
                        type: string
                        maxLength: 6
                        description: Performance Log End Time
                      REFID:
                        type: string
                        maxLength: 40
                        description: Log ID for Cross-System Performance Analysis
                      NUMOBJ_1:
                        type: integer
                        format: int32
                        description: Number of Objects for Log of Global Performance Analysis
                      NUMOBJ_2:
                        type: integer
                        format: int32
                        description: Number of Subobjects for Log of Global Performance Analysis
                      NUMOBJ_3:
                        type: integer
                        format: int32
                        description: Number of SubSubobjects for Log of Global Perf. Analysis
                      XHOLD:
                        type: string
                        maxLength: 1
                        description: Compressed SQL trace keep flag
                      REFPROT:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Reference Performance Test for a Log ID  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                  T_PERF_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        DESTIN:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        ASCHEMA:
                          type: string
                          maxLength: 56
                          description: Name of Evaluation Schema (Global Performance Analysis)
                        AOBJECT:
                          type: string
                          maxLength: 56
                          description: Name of Evaluation Object (Global Performance Analysis)
                        TOTALEX_ST:
                          type: integer
                          format: int64
                          description: Number of Database Accesses (SEL, UPD, INS, DEL)(Statistics)
                        KBYTETRANS:
                          type: integer
                          format: int64
                          description: Amount of Data Transferred in KB (= Queue + Source + DSQL)
                        MEMORYUSED:
                          type: integer
                          format: int64
                          description: Memory Used in MBytes
                        CPUTIME:
                          type: integer
                          format: int64
                          description: CPU Time in ms
                        ROUNDTRIPS:
                          type: integer
                          format: int64
                          description: 'SAP Workload: Number of Roundtrips'
                        INOUTDATA:
                          type: integer
                          format: int64
                          description: Total Data Volume Between Front End and App.  Server (KB)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
