openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/REPORT_DB4_PERF_VALUES:
    post:
      tags:
      - STU4_RZ20
      summary: Reports DB2/400 performance values in rz20
      operationId: /rfc/REPORT_DB4_PERF_VALUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIALOG_MODE:
                  type: string
                  maxLength: 1
                  description: Single-character flag
                MT_TOOL_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      TOOLNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TOOLSTATUS:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      STARTDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      STARTTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      STARTDUMMY:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      TOOLDISPAT:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      MTNUMRANGE:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      ALSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MSEGNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Segment'
                      ALUNIQNUM:
                        type: string
                        maxLength: 10
                        description: 'Alert: Unique Identifier to be used in AID (char10)'
                      ALINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle'
                      ALERTDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      ALERTTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      DUMMYALIGN:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      WHICHTOOL:
                        type: string
                        maxLength: 3
                        description: 'Alert: Tool: Which Tool ? (Trigger/Analyze/OnALert/...)'
                      TOOLEXEC:
                        type: string
                        maxLength: 80
                        description: 'Alert: Executable Name of TOOL (program/function/....)'
                      OWNER:
                        type: string
                        maxLength: 10
                        description: 'Alert: Owner of the Tool'
                      CALLTYPE:
                        type: string
                        maxLength: 1
                        description: Method call type
                      EXECDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      DEST_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Alert: TOOL Destination Type (MTLocal / ANYDest / specific )'
                      EXECUSER:
                        type: string
                        maxLength: 12
                        description: User name
                      STRTTIDTYP:
                        type: string
                        maxLength: 1
                        description: 'Alert: Tool  TID''s for Start (Single/Table)'
                      DELAYTIME:
                        type: integer
                        format: int32
                        description: 'Alert: Time values in seconds'
                      STARTUPEXE:
                        type: string
                        maxLength: 1
                        description: 'Alert: Execute method as startup method'
                      ERRORFLAG:
                        type: string
                        maxLength: 1
                        description: 'Alert: TOOL Error Flag'
                      PRIORITY:
                        type: integer
                        format: int32
                        description: 'Alert: TOOL Priority (internal use only)'
                      RECOVERY:
                        type: string
                        maxLength: 1
                        description: 'Alert: TOOL Recovery Method'
                      MAXRUNTIME:
                        type: integer
                        format: int32
                        description: 'Alert: TOOL max. runtime'
                      PARNAME1:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE1:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME2:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE2:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME3:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE3:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME4:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE4:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME5:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE5:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME6:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE6:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME7:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE7:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME8:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE8:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME9:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE9:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
                      PARNAME10:
                        type: string
                        maxLength: 20
                        description: 'Alert: TOOL parameter name'
                      PARVALUE10:
                        type: string
                        maxLength: 40
                        description: 'Alert: TOOL Parameter value'
              required:
              - DIALOG_MODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MT_TOOL_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        TOOLNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Logical Name of Tool'
                        TOOLSTATUS:
                          type: integer
                          format: int32
                          description: 'Alert: Tool: Alert Tool Status'
                        STARTDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        STARTDUMMY:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        TOOLDISPAT:
                          type: string
                          maxLength: 40
                          description: Alert method dispatcher
                        MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        MTNUMRANGE:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        ALSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MSEGNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Segment'
                        ALUNIQNUM:
                          type: string
                          maxLength: 10
                          description: 'Alert: Unique Identifier to be used in AID (char10)'
                        ALINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle'
                        ALERTDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        ALERTTIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        DUMMYALIGN:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        WHICHTOOL:
                          type: string
                          maxLength: 3
                          description: 'Alert: Tool: Which Tool ? (Trigger/Analyze/OnALert/...)'
                        TOOLEXEC:
                          type: string
                          maxLength: 80
                          description: 'Alert: Executable Name of TOOL (program/function/....)'
                        OWNER:
                          type: string
                          maxLength: 10
                          description: 'Alert: Owner of the Tool'
                        CALLTYPE:
                          type: string
                          maxLength: 1
                          description: Method call type
                        EXECDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        DEST_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Alert: TOOL Destination Type (MTLocal / ANYDest / specific )'
                        EXECUSER:
                          type: string
                          maxLength: 12
                          description: User name
                        STRTTIDTYP:
                          type: string
                          maxLength: 1
                          description: 'Alert: Tool  TID''s for Start (Single/Table)'
                        DELAYTIME:
                          type: integer
                          format: int32
                          description: 'Alert: Time values in seconds'
                        STARTUPEXE:
                          type: string
                          maxLength: 1
                          description: 'Alert: Execute method as startup method'
                        ERRORFLAG:
                          type: string
                          maxLength: 1
                          description: 'Alert: TOOL Error Flag'
                        PRIORITY:
                          type: integer
                          format: int32
                          description: 'Alert: TOOL Priority (internal use only)'
                        RECOVERY:
                          type: string
                          maxLength: 1
                          description: 'Alert: TOOL Recovery Method'
                        MAXRUNTIME:
                          type: integer
                          format: int32
                          description: 'Alert: TOOL max. runtime'
                        PARNAME1:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE1:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME2:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE2:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME3:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE3:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME4:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE4:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME5:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE5:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME6:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE6:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME7:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE7:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME8:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE8:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME9:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE9:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
                        PARNAME10:
                          type: string
                          maxLength: 20
                          description: 'Alert: TOOL parameter name'
                        PARVALUE10:
                          type: string
                          maxLength: 40
                          description: 'Alert: TOOL Parameter value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
