openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALW_MTE_METHOD_ASSIGN:
    post:
      tags:
      - SALW
      operationId: /rfc/SALW_MTE_METHOD_ASSIGN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ASSIGN_METHOD:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Alerts: Indicator (''X'' or SPACE )'
                CLASS_OR_SPECIFIC:
                  type: integer
                  format: int32
                  description: 'Alert: Use Class or TID-Specif. Customizing and Tools'
                EXPLICITLY_NO_METHOD:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Alerts: Indicator (''X'' or SPACE )'
                INHERIT_METHOD:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Alerts: Indicator (''X'' or SPACE )'
                KIND_OF_METHOD:
                  type: string
                  default: AL_WT_ANALYZE
                  maxLength: 3
                  description: 'Alert: Tool: Which Tool ? (Trigger/Analyze/OnALert/...)'
                METHOD:
                  type: string
                  maxLength: 40
                  description: 'Alert: Logical Name of Tool'
                MTE_CLASS:
                  type: string
                  maxLength: 40
                  description: 'Alert: Customization: Name of Customization Group'
                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'
                VARIANT:
                  type: string
                  maxLength: 20
                  description: 'Alert: Name of Monitoring Properties Variant'
              required:
              - VARIANT
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
