openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALC_REFERENCE_CREATE:
    post:
      tags:
      - SALC
      operationId: /rfc/SALC_REFERENCE_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ONLY_LOCAL:
                  type: string
                  default: ' '
                  maxLength: 1
                CREATE_REFERENCE:
                  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'
                      MTESUBTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring tree element: subtype'
                      ATTRNAME:
                        type: string
                        maxLength: 40
                        description: 'MonI: Name of Textattribute of Monitoring Object'
                      ATTRTEXT:
                        type: string
                        maxLength: 256
                        description: 'Alert: Attribute Text'
                      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'
                      VISUSERLEV:
                        type: integer
                        format: int32
                        description: 'Alert: MTE type dev cust: Visible on user level (op,exp,dev)'
                      MTECLASS:
                        type: string
                        maxLength: 40
                        description: 'Alert: Customization: Name of Customization Group'
                      L_MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      L_MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      L_MTNUMRG:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      L_MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      L_MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      L_MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      L_EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                CREATE_RESULT:
                  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:
                  CREATE_REFERENCE:
                    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'
                        MTESUBTYPE:
                          type: integer
                          format: int32
                          description: 'Alert: monitoring tree element: subtype'
                        ATTRNAME:
                          type: string
                          maxLength: 40
                          description: 'MonI: Name of Textattribute of Monitoring Object'
                        ATTRTEXT:
                          type: string
                          maxLength: 256
                          description: 'Alert: Attribute Text'
                        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'
                        VISUSERLEV:
                          type: integer
                          format: int32
                          description: 'Alert: MTE type dev cust: Visible on user level (op,exp,dev)'
                        MTECLASS:
                          type: string
                          maxLength: 40
                          description: 'Alert: Customization: Name of Customization Group'
                        L_MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        L_MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        L_MTNUMRG:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        L_MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        L_MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        L_MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        L_EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                  CREATE_RESULT:
                    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.
