openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALS_MTE_GET_BY_TOOL_RUNSTATUS:
    post:
      tags:
      - SALS
      operationId: /rfc/SALS_MTE_GET_BY_TOOL_RUNSTATUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOOK_AHEAD_SECONDS:
                  type: integer
                  format: int32
                RUN_TIME_STATUS:
                  type: integer
                  format: int32
                TOOLCONTROL:
                  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/...)'
                TOOLDISPATCHER:
                  type: array
                  items:
                    type: object
                    properties:
                      TOOLDISPAT:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                TOOLDISPRC:
                  type: array
                  items:
                    type: object
                    properties:
                      TOOLDISPAT:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
              required:
              - LOOK_AHEAD_SECONDS
              - RUN_TIME_STATUS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TOOLCONTROL:
                    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/...)'
                  TOOLDISPATCHER:
                    type: array
                    items:
                      type: object
                      properties:
                        TOOLDISPAT:
                          type: string
                          maxLength: 40
                          description: Alert method dispatcher
                  TOOLDISPRC:
                    type: array
                    items:
                      type: object
                      properties:
                        TOOLDISPAT:
                          type: string
                          maxLength: 40
                          description: Alert method dispatcher
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
