openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAL_RFC_MT_GET_AID_BY_TID:
    post:
      tags:
      - SAL_RFC
      operationId: /rfc/SAL_RFC_MT_GET_AID_BY_TID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALERTS_GET_ACTIVE:
                  type: string
                  default: X
                  maxLength: 1
                ALERTS_GET_HISTORY:
                  type: string
                  default: ' '
                  maxLength: 1
                END_TIMESTAMP:
                  type: integer
                  format: int64
                START_TIMESTAMP:
                  type: integer
                  format: int64
                TID_RC_TIDAID:
                  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'
                      TIDAID:
                        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'
                            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'
                TID:
                  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'
              required:
              - TID_RC_TIDAID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TID_RC_TIDAID:
                    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'
                        TIDAID:
                          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'
                              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'
                  TID:
                    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'
                required:
                - TID_RC_TIDAID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
