openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALM_MONITOR_LOAD_IN_OWN_TASK:
    post:
      tags:
      - SALM
      operationId: /rfc/SALM_MONITOR_LOAD_IN_OWN_TASK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MONITOR_NAME:
                  type: string
                  maxLength: 60
                  description: Name of the Monitor
                MONITOR_SET_NAME:
                  type: string
                  maxLength: 60
                  description: Monitor Set Name
                MONITOR_PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 20
                        description: 'Alerts: Name of rule parameter'
                      VALUE:
                        type: string
                        maxLength: 50
                        description: 'Alerts: Parameter value for a rule for a monitor definition'
              required:
              - MONITOR_NAME
              - MONITOR_SET_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MONISET_HAS_CHANGED:
                    type: string
                    maxLength: 1
                  MONITOR_PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 20
                          description: 'Alerts: Name of rule parameter'
                        VALUE:
                          type: string
                          maxLength: 50
                          description: 'Alerts: Parameter value for a rule for a monitor definition'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
