openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWLN3_AGENT_TRC_READ:
    post:
      tags:
      - SAPWLN3_TRACE
      operationId: /rfc/SAPWLN3_AGENT_TRC_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPONENT:
                  type: string
                  maxLength: 32
                FILTER:
                  type: string
                  maxLength: 512
                SIMULATE_AGENT_ACCESS:
                  type: string
                  maxLength: 1
                  description: 'SAP Workload: Workload: flag ('' '' or ''X'')'
                RECORD_INDEX:
                  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
              - FILTER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECCOUNT:
                    type: integer
                    format: int32
                    description: Natural Number
                  RECORD_INDEX:
                    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.
