openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_GET_CURR_METHOD_STAT:
    post:
      tags:
      - SCSM_WEBADMIN
      operationId: /rfc/SCSM_GET_CURR_METHOD_STAT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LONGNAME_TID_INPUT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MTLONGNAME:
                        type: string
                        maxLength: 256
                        description: 'Alert: monitoring type full name'
                      TIDSTRING:
                        type: string
                        maxLength: 84
                        description: 'Monitoring: TID as a Char String (84)'
                METHOD_RUNTIME_STATUS:
                  type: array
                  items:
                    type: object
                    properties:
                      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'
                      ALMTFULLNM:
                        type: string
                        maxLength: 256
                        description: 'Alert: monitoring type full name'
                      TRGTRUNNAM:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TRGTRUNSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      TRGTRUNDAT:
                        type: string
                        format: date
                        description: 'Alert: date'
                      TRGTRUNTIM:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      TRGTRUNDSP:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      ONATRUNNAM:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      ONATRUNSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      ONATRUNDAT:
                        type: string
                        format: date
                        description: 'Alert: date'
                      ONATRUNTIM:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      ONATRUNDSP:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LONGNAME_TID_INPUT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MTLONGNAME:
                          type: string
                          maxLength: 256
                          description: 'Alert: monitoring type full name'
                        TIDSTRING:
                          type: string
                          maxLength: 84
                          description: 'Monitoring: TID as a Char String (84)'
                  METHOD_RUNTIME_STATUS:
                    type: array
                    items:
                      type: object
                      properties:
                        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'
                        ALMTFULLNM:
                          type: string
                          maxLength: 256
                          description: 'Alert: monitoring type full name'
                        TRGTRUNNAM:
                          type: string
                          maxLength: 40
                          description: 'Alert: Logical Name of Tool'
                        TRGTRUNSTA:
                          type: integer
                          format: int32
                          description: 'Alert: Tool: Alert Tool Status'
                        TRGTRUNDAT:
                          type: string
                          format: date
                          description: 'Alert: date'
                        TRGTRUNTIM:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        TRGTRUNDSP:
                          type: string
                          maxLength: 40
                          description: Alert method dispatcher
                        ONATRUNNAM:
                          type: string
                          maxLength: 40
                          description: 'Alert: Logical Name of Tool'
                        ONATRUNSTA:
                          type: integer
                          format: int32
                          description: 'Alert: Tool: Alert Tool Status'
                        ONATRUNDAT:
                          type: string
                          format: date
                          description: 'Alert: date'
                        ONATRUNTIM:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        ONATRUNDSP:
                          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.
