openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALC_MT_CREATE:
    post:
      tags:
      - SALC
      operationId: /rfc/SALC_MT_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ONLY_LOCAL:
                  type: string
                  default: ' '
                  maxLength: 1
                IN_MTCREATE:
                  type: array
                  items:
                    type: object
                    properties:
                      P_MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      P_MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      P_MTNUMRG:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      P_MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      P_MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      P_MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      P_EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      NAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Short Name of Monitoring Type'
                      NUMRANGE:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      UNIQUENUM:
                        type: integer
                        format: int32
                        description: 'ALert: Unique Identifier for Alerts and Monitoring Types'
                      TYPECLASS:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      SUBTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring tree element: subtype'
                      CUSGROUPMT:
                        type: string
                        maxLength: 40
                        description: 'Alert: Customization: Name of Customization Group'
                      CUSGROUPOT:
                        type: string
                        maxLength: 40
                        description: 'Alert: Customization: Name of Customization Group'
                OUT_MTCRERES:
                  type: array
                  items:
                    type: object
                    properties:
                      P_MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      P_MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      P_MTNUMRG:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      P_MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      P_MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      P_MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      P_EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      NAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Short Name of Monitoring Type'
                      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'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IN_MTCREATE:
                    type: array
                    items:
                      type: object
                      properties:
                        P_MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        P_MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        P_MTNUMRG:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        P_MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        P_MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        P_MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        P_EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        NAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Short Name of Monitoring Type'
                        NUMRANGE:
                          type: integer
                          format: int32
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        UNIQUENUM:
                          type: integer
                          format: int32
                          description: 'ALert: Unique Identifier for Alerts and Monitoring Types'
                        TYPECLASS:
                          type: integer
                          format: int32
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        SUBTYPE:
                          type: integer
                          format: int32
                          description: 'Alert: monitoring tree element: subtype'
                        CUSGROUPMT:
                          type: string
                          maxLength: 40
                          description: 'Alert: Customization: Name of Customization Group'
                        CUSGROUPOT:
                          type: string
                          maxLength: 40
                          description: 'Alert: Customization: Name of Customization Group'
                  OUT_MTCRERES:
                    type: array
                    items:
                      type: object
                      properties:
                        P_MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        P_MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        P_MTNUMRG:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        P_MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        P_MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        P_MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        P_EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        NAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Short Name of Monitoring Type'
                        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'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
