openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAL_RFC_MTE_SMSG_READ_CVAL_TBL:
    post:
      tags:
      - SAL_RFC
      operationId: /rfc/SAL_RFC_MTE_SMSG_READ_CVAL_TBL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TID_TBL:
                  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'
                ZONLO:
                  type: string
                  maxLength: 6
              required:
              - TID_TBL
              - ZONLO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STATUS_TBL:
                    type: array
                    items:
                      type: object
                      properties:
                        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'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
                        VALUE:
                          type: object
                          properties:
                            SMSGVALUE:
                              type: integer
                              format: int32
                              description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                            SMSGDATE:
                              type: string
                              format: date
                              description: 'Alert: date'
                            SMSGTIME:
                              type: string
                              maxLength: 6
                              description: 'Alert: Time value in timeformat'
                            SMSGDUMMY:
                              type: string
                              maxLength: 2
                              description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                            MSG:
                              type: string
                              maxLength: 255
                              description: The expanded (translated) message for ext. tools
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
