openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_SYSTEM_MTE_GETGENPROP:
    post:
      tags:
      - SALX
      summary: Read General Properties of a Monitor Tree Element
      operationId: /rfc/BAPI_SYSTEM_MTE_GETGENPROP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERNAL_USER_NAME:
                  type: string
                  maxLength: 16
                  description: Name of the SAP-External User
                TID:
                  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'
              required:
              - EXTERNAL_USER_NAME
              - TID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTUAL_ALERT:
                    type: object
                    properties:
                      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'
                  ACTUAL_ALERT_DATA:
                    type: object
                    properties:
                      VALUE:
                        type: integer
                        format: int32
                        description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                      SEVERITY:
                        type: integer
                        format: int32
                        description: 'Alert: severity (alerts, monitoring type custom..)'
                  ANALYZE_TOOL_DEF:
                    type: object
                    properties:
                      TOOLNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TOOLDISPAT:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      TOOLDEFSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      CLASSORSPC:
                        type: integer
                        format: int32
                        description: 'Alert: Use Class or TID-Specif. Customizing and Tools'
                      ASSBYPAR:
                        type: string
                        maxLength: 1
                        description: 'Alert: Shows if the method is assigned by a parent'
                  COLLECTION_TOOL_DEF:
                    type: object
                    properties:
                      TOOLNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TOOLDISPAT:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      TOOLDEFSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      CLASSORSPC:
                        type: integer
                        format: int32
                        description: 'Alert: Use Class or TID-Specif. Customizing and Tools'
                      ASSBYPAR:
                        type: string
                        maxLength: 1
                        description: 'Alert: Shows if the method is assigned by a parent'
                  COLLECTION_TOOL_RUN:
                    type: object
                    properties:
                      TOOLNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TOOLRUNSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      TOOLRUNDAT:
                        type: string
                        format: date
                        description: 'Alert: date'
                      TOOLRUNTIM:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      TOOLRUNDSP:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                  GENERAL_INFO:
                    type: object
                    properties:
                      OBJECTNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Object'
                      SHORTNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: short name of MTE'
                      MTECLASS:
                        type: string
                        maxLength: 40
                        description: 'CCMS Monitoring Architecture: Name of MTE class'
                      MTESTATUS:
                        type: integer
                        format: int32
                        description: 'Alert: MT: Type Def Status'
                      MTESUBTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring tree element: subtype'
                  GENERAL_PROPERTIES:
                    type: object
                    properties:
                      CLASORSPEC:
                        type: integer
                        format: int32
                        description: 'Alert: Use Class or TID-Specif. Customizing and Tools'
                      SEVERITY:
                        type: integer
                        format: int32
                        description: 'Alert: severity (alerts, monitoring type custom..)'
                      VISILEVEL:
                        type: integer
                        format: int32
                        description: 'Alert: MTE type dev cust: Visible on user level (op,exp,dev)'
                      KEEPALTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: MTE Customizing: keep alerts type'
                      KEEPALMAX:
                        type: integer
                        format: int32
                        description: 'Alert: MTE Cus: Maximum number of alerts to keep'
                      SECTILCOLT:
                        type: integer
                        format: int32
                        description: 'Alert: Time values in seconds'
                      SECTILINAC:
                        type: integer
                        format: int32
                        description: 'Alert: Time values in seconds'
                      SECWARMUPT:
                        type: integer
                        format: int32
                        description: 'Alert: Time values in seconds'
                      DTEXTCLASS:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: company name of external management tool'
                      DTEXTID:
                        type: string
                        maxLength: 30
                        description: Message ID for an XMI log entry
                  GENERAL_VALUES:
                    type: object
                    properties:
                      DELIVERSTA:
                        type: integer
                        format: int32
                        description: 'Alert: MT Val: Delivery Status'
                      COUNTOFACT:
                        type: integer
                        format: int32
                        description: 'Alert: MT Val: Count of active Alerts'
                      COUNTSUM:
                        type: integer
                        format: int32
                        description: 'Alert: MT Val: Sum of Alerts in MT'
                  HIGHEST_ALERT:
                    type: object
                    properties:
                      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'
                  HIGHEST_ALERT_DATA:
                    type: object
                    properties:
                      VALUE:
                        type: integer
                        format: int32
                        description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                      SEVERITY:
                        type: integer
                        format: int32
                        description: 'Alert: severity (alerts, monitoring type custom..)'
                  LAST_VALUE_TIME:
                    type: object
                    properties:
                      ALDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      ALTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                  ONALERT_TOOL_DEF:
                    type: object
                    properties:
                      TOOLNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TOOLDISPAT:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                      TOOLDEFSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      CLASSORSPC:
                        type: integer
                        format: int32
                        description: 'Alert: Use Class or TID-Specif. Customizing and Tools'
                      ASSBYPAR:
                        type: string
                        maxLength: 1
                        description: 'Alert: Shows if the method is assigned by a parent'
                  ONALERT_TOOL_RUN:
                    type: object
                    properties:
                      TOOLNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Logical Name of Tool'
                      TOOLRUNSTA:
                        type: integer
                        format: int32
                        description: 'Alert: Tool: Alert Tool Status'
                      TOOLRUNDAT:
                        type: string
                        format: date
                        description: 'Alert: date'
                      TOOLRUNTIM:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      TOOLRUNDSP:
                        type: string
                        maxLength: 40
                        description: Alert method dispatcher
                  PARENT_DATA:
                    type: object
                    properties:
                      PARENTNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: short name of MTE'
                      PARENTCLAS:
                        type: string
                        maxLength: 40
                        description: 'CCMS Monitoring Architecture: Name of MTE class'
                  PARENT_TID:
                    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'
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
