openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWLN3_TRACEREC_DIRECT_READ:
    post:
      tags:
      - SAPWLN3_TRACE
      operationId: /rfc/SAPWLN3_TRACEREC_DIRECT_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPONENT:
                  type: string
                  maxLength: 32
                COMPONENT_TYPE:
                  type: string
                  maxLength: 10
                MONITORING_SYSTEM:
                  type: string
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                READ_END_DATE:
                  type: string
                  format: date
                  description: 'SAP Workload: Workload: Date'
                READ_END_TIME:
                  type: string
                  maxLength: 6
                  description: 'SAP Workload: Workload: time of day'
                READ_EXTACCESS:
                  type: string
                  maxLength: 60
                READ_JAVATID:
                  type: string
                  maxLength: 128
                READ_MODULE_NAME:
                  type: string
                  maxLength: 60
                READ_MODULE_TYPE:
                  type: string
                  maxLength: 32
                READ_PID:
                  type: integer
                  format: int32
                  description: Natural Number
                READ_START_DATE:
                  type: string
                  format: date
                  description: 'SAP Workload: Workload: Date'
                READ_START_TIME:
                  type: string
                  maxLength: 6
                  description: 'SAP Workload: Workload: time of day'
                READ_TID:
                  type: integer
                  format: int32
                  description: Natural Number
                READ_TRACE_LEVEL:
                  type: integer
                  format: int32
                  description: Natural Number
                READ_TRACE_TYPE:
                  type: integer
                  format: int32
                  description: Natural Number
                READ_TRANSID:
                  type: string
                  maxLength: 32
                  description: 'SAP Workload: Workload: Transaction ID'
                TIMEZONE:
                  type: string
                  maxLength: 6
                  description: Time Zone
                TRACE_RECORDS:
                  type: array
                  items:
                    type: object
                    properties:
                      TRDATE:
                        type: string
                        format: date
                        description: 'SAP Workload: Workload: Date'
                      TRTIME:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload: Workload: time of day'
                      TIMESTMPSEC:
                        type: integer
                        format: int32
                        description: Natural number
                      TIMESTMPMSEC:
                        type: integer
                        format: int32
                        description: Natural number
                      TRLEVEL:
                        type: integer
                        format: int32
                        description: Natural number
                      TRTYPE:
                        type: integer
                        format: int32
                        description: Natural number
                      PID:
                        type: integer
                        format: int32
                        description: Natural number
                      TID:
                        type: integer
                        format: int32
                        description: Natural number
                      DURATION:
                        type: integer
                        format: int32
                        description: Natural number
                      LINENUMBER:
                        type: integer
                        format: int32
                        description: Natural number
                      MODNAME:
                        type: string
                        maxLength: 60
                        description: 'dsr lib: External trace record: Module name'
                      MODTYPE:
                        type: string
                        maxLength: 32
                        description: 'dsr lib: External Trace Record: Module Type.'
                      EXTACCESS:
                        type: string
                        maxLength: 60
                        description: 'dsr lib: External Trace Record: External Access.'
                      MESSAGE:
                        type: string
                        maxLength: 255
                        description: 'dsr lib: External Trace Record: Trace-Message'
                      TRANSID:
                        type: string
                        maxLength: 32
                        description: 'N3 Workload: Transaction ID (GUID)'
                      JAVATID:
                        type: string
                        maxLength: 128
                        description: dsr trace record v2
                      FILL1:
                        type: string
                        maxLength: 255
                        description: dsr trace record v2 erweiterungsfeld
                      FILL2:
                        type: string
                        maxLength: 255
                        description: dsr trace record v2 erweiterungsfeld
                      FILL3:
                        type: string
                        maxLength: 255
                        description: dsr trace record v2 erweiterungsfeld
                      FILL4:
                        type: integer
                        format: int32
                        description: Natural number
                      FILL5:
                        type: integer
                        format: int32
                        description: Natural number
                      FILL6:
                        type: integer
                        format: int32
                        description: Natural number
              required:
              - COMPONENT
              - COMPONENT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECCOUNT:
                    type: integer
                    format: int32
                  TRACE_RECORDS:
                    type: array
                    items:
                      type: object
                      properties:
                        TRDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date'
                        TRTIME:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: time of day'
                        TIMESTMPSEC:
                          type: integer
                          format: int32
                          description: Natural number
                        TIMESTMPMSEC:
                          type: integer
                          format: int32
                          description: Natural number
                        TRLEVEL:
                          type: integer
                          format: int32
                          description: Natural number
                        TRTYPE:
                          type: integer
                          format: int32
                          description: Natural number
                        PID:
                          type: integer
                          format: int32
                          description: Natural number
                        TID:
                          type: integer
                          format: int32
                          description: Natural number
                        DURATION:
                          type: integer
                          format: int32
                          description: Natural number
                        LINENUMBER:
                          type: integer
                          format: int32
                          description: Natural number
                        MODNAME:
                          type: string
                          maxLength: 60
                          description: 'dsr lib: External trace record: Module name'
                        MODTYPE:
                          type: string
                          maxLength: 32
                          description: 'dsr lib: External Trace Record: Module Type.'
                        EXTACCESS:
                          type: string
                          maxLength: 60
                          description: 'dsr lib: External Trace Record: External Access.'
                        MESSAGE:
                          type: string
                          maxLength: 255
                          description: 'dsr lib: External Trace Record: Trace-Message'
                        TRANSID:
                          type: string
                          maxLength: 32
                          description: 'N3 Workload: Transaction ID (GUID)'
                        JAVATID:
                          type: string
                          maxLength: 128
                          description: dsr trace record v2
                        FILL1:
                          type: string
                          maxLength: 255
                          description: dsr trace record v2 erweiterungsfeld
                        FILL2:
                          type: string
                          maxLength: 255
                          description: dsr trace record v2 erweiterungsfeld
                        FILL3:
                          type: string
                          maxLength: 255
                          description: dsr trace record v2 erweiterungsfeld
                        FILL4:
                          type: integer
                          format: int32
                          description: Natural number
                        FILL5:
                          type: integer
                          format: int32
                          description: Natural number
                        FILL6:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
