openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALC_TEXTATTR_ASSIGN:
    post:
      tags:
      - SALC
      operationId: /rfc/SALC_TEXTATTR_ASSIGN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ONLY_LOCAL:
                  type: string
                  default: ' '
                  maxLength: 1
                TEXTATTRASSIGN:
                  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'
                      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'
                      CUSGROUPMT:
                        type: string
                        maxLength: 40
                        description: 'Alert: Customization: Name of Customization Group'
                TEXTATTRASSIGNRESULT:
                  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'
                      ATTRNAME:
                        type: string
                        maxLength: 40
                        description: 'MonI: Name of Textattribute of Monitoring Object'
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEXTATTRASSIGN:
                    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'
                        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'
                        CUSGROUPMT:
                          type: string
                          maxLength: 40
                          description: 'Alert: Customization: Name of Customization Group'
                  TEXTATTRASSIGNRESULT:
                    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'
                        ATTRNAME:
                          type: string
                          maxLength: 40
                          description: 'MonI: Name of Textattribute of Monitoring Object'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
