openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWLN3_AGENT_DIRECT_READ:
    post:
      tags:
      - SAPWLN3_STAT
      operationId: /rfc/SAPWLN3_AGENT_DIRECT_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPONENT:
                  type: string
                  maxLength: 32
                COMPONENT_TYPE:
                  type: string
                  maxLength: 10
                GET_TEST_DATA:
                  type: string
                  maxLength: 1
                READ_ACTION:
                  type: string
                  maxLength: 40
                READ_ACTION_TYPE:
                  type: integer
                  format: int32
                  default: -1
                READ_END_DATE_UTC:
                  type: string
                  format: date
                READ_END_TIME_UTC:
                  type: string
                  maxLength: 6
                READ_EXCLUDE_USERNAME:
                  type: string
                  maxLength: 32
                READ_MAX_NO_OF_RECORDS:
                  type: integer
                  format: int32
                  default: -1
                READ_SERVICE:
                  type: integer
                  format: int32
                  default: -1
                READ_START_DATE_UTC:
                  type: string
                  format: date
                READ_START_TIME_UTC:
                  type: string
                  maxLength: 6
                READ_TRANSID:
                  type: string
                  maxLength: 32
                READ_USERNAME:
                  type: string
                  maxLength: 32
                SIMULATE_AGENT_ACCESS:
                  type: string
                  maxLength: 1
                CALLTYPE1_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTYPE:
                        type: string
                        maxLength: 10
                        description: 'DSR Statistics: Type of Non-R/3 Component'
                      COMPNAME:
                        type: string
                        maxLength: 32
                        description: 'DSR Statistics: Name of a Non-R/3 Component'
                      DESTINAT:
                        type: string
                        maxLength: 128
                        description: 'DSR Statistics: Destination of a Called Component'
                      CALLTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      REXECTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      SENTBYTES:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Memory in Kilobytes'
                      RCVDBYTES:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Memory in Kilobytes'
                      NOOFCALLS:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Number of Times a Component Is Called'
                      ADDITINFO:
                        type: string
                        maxLength: 256
                        description: 'DSR Statistics: Component-Specific Information'
                CLIENT_INFO_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      I_SYSTEM:
                        type: string
                        maxLength: 32
                        description: 'DSR Statistics: System Name'
                      I_ACTION:
                        type: string
                        maxLength: 40
                        description: SAP Statistic Action
                      I_ACTTYPE:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Action Type'
                      I_SERVICE:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Service'
                      I_USER:
                        type: string
                        maxLength: 32
                        description: 'DSR Statistics: User Name'
                      PRE_SYSID:
                        type: string
                        maxLength: 32
                        description: 'DSR Statistics: System Name'
                      TRACEFLAG:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Trace Flag for Distributed System Landscape'
                MAIN_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      STARTDATE:
                        type: string
                        format: date
                        description: 'SAP Workload: Workload: Date'
                      STARTTIME:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload: Workload: time of day'
                      ENDDATE:
                        type: string
                        format: date
                        description: 'SAP Workload: Workload: Date'
                      ENDTIME:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload: Workload: time of day'
                      TRANSID:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload: Workload: Transaction ID'
                      SERVICE:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Service'
                      ACTION:
                        type: string
                        maxLength: 128
                        description: 'DSR Statistics: Action'
                      ACTIONTYPE:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Action Type'
                      USER:
                        type: string
                        maxLength: 32
                        description: 'DSR Statistics: User Name'
                      PROCESSID:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Process ID'
                      THREADID:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Thread ID'
                      CPUTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      QUEUETIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      LOADTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      GENTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      NETTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      WAITTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      MAXMEM:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Memory in Kilobytes'
                      LUWINFO:
                        type: string
                        format: byte
                        description: 'DSR Statistics: LUW Information'
                      RESPTIME:
                        type: integer
                        format: int32
                        description: 'DSR Statistics: Time in Milliseconds'
                      ADDITINFO:
                        type: string
                        maxLength: 256
                        description: 'DSR Statistics: Component-Specific Information'
                      STARTTIME1:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Time in raw-statisticrecord in Seconds'
                      STARTTIME2:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Time in raw-statisticrecord in Microseconds'
                      ENDTIME1:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Time in raw-statisticrecord in Seconds'
                      ENDTIME2:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Time in raw-statisticrecord in Microseconds'
                RECORD_INDEX:
                  type: array
                  items:
                    type: object
                    properties:
                      RECORDNO:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Stat. record: number of normal statistics rec.'
                      CLIENTINFO:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Stat. record: number of normal statistics rec.'
                      CALLTYP1_B:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Stat. record: index of first sub-record'
                      CALLTYP1_E:
                        type: integer
                        format: int32
                        description: 'SAP Workload: Stat. record: index of last sub-record'
              required:
              - COMPONENT
              - COMPONENT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EOFREACHED:
                    type: string
                    maxLength: 1
                  FIRSTRECDT:
                    type: string
                    format: date
                  FIRSTRECTM:
                    type: string
                    maxLength: 6
                  LASTRECDT:
                    type: string
                    format: date
                  LASTRECTM:
                    type: string
                    maxLength: 6
                  NOOFRECS:
                    type: integer
                    format: int32
                  CALLTYPE1_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTYPE:
                          type: string
                          maxLength: 10
                          description: 'DSR Statistics: Type of Non-R/3 Component'
                        COMPNAME:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: Name of a Non-R/3 Component'
                        DESTINAT:
                          type: string
                          maxLength: 128
                          description: 'DSR Statistics: Destination of a Called Component'
                        CALLTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        REXECTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        SENTBYTES:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Memory in Kilobytes'
                        RCVDBYTES:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Memory in Kilobytes'
                        NOOFCALLS:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Number of Times a Component Is Called'
                        ADDITINFO:
                          type: string
                          maxLength: 256
                          description: 'DSR Statistics: Component-Specific Information'
                  CLIENT_INFO_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        I_SYSTEM:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: System Name'
                        I_ACTION:
                          type: string
                          maxLength: 40
                          description: SAP Statistic Action
                        I_ACTTYPE:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Action Type'
                        I_SERVICE:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Service'
                        I_USER:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: User Name'
                        PRE_SYSID:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: System Name'
                        TRACEFLAG:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Trace Flag for Distributed System Landscape'
                  MAIN_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        STARTDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        ENDDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        ENDTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        TRANSID:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: Workload: Transaction ID'
                        SERVICE:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Service'
                        ACTION:
                          type: string
                          maxLength: 128
                          description: 'DSR Statistics: Action'
                        ACTIONTYPE:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Action Type'
                        USER:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: User Name'
                        PROCESSID:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Process ID'
                        THREADID:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Thread ID'
                        CPUTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        QUEUETIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        LOADTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        GENTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        NETTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        WAITTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        MAXMEM:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Memory in Kilobytes'
                        LUWINFO:
                          type: string
                          format: byte
                          description: 'DSR Statistics: LUW Information'
                        RESPTIME:
                          type: integer
                          format: int32
                          description: 'DSR Statistics: Time in Milliseconds'
                        ADDITINFO:
                          type: string
                          maxLength: 256
                          description: 'DSR Statistics: Component-Specific Information'
                        STARTTIME1:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Time in raw-statisticrecord in Seconds'
                        STARTTIME2:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Time in raw-statisticrecord in Microseconds'
                        ENDTIME1:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Time in raw-statisticrecord in Seconds'
                        ENDTIME2:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Time in raw-statisticrecord in Microseconds'
                  RECORD_INDEX:
                    type: array
                    items:
                      type: object
                      properties:
                        RECORDNO:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Stat. record: number of normal statistics rec.'
                        CLIENTINFO:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Stat. record: number of normal statistics rec.'
                        CALLTYP1_B:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Stat. record: index of first sub-record'
                        CALLTYP1_E:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Stat. record: index of last sub-record'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
