openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_MONIDEF_GET_RULE_VALUES:
    post:
      tags:
      - SCSM_MONIDEF_JAVA
      summary: Gets values for rules
      operationId: /rfc/SCSM_MONIDEF_GET_RULE_VALUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PAR1_NAME:
                  type: string
                  maxLength: 20
                  description: 'Alerts: Name of rule parameter'
                PAR1_VALUE:
                  type: string
                  maxLength: 140
                  description: 'Alerts: Value of rule parameter'
                PAR2_NAME:
                  type: string
                  maxLength: 20
                  description: 'Alerts: Name of rule parameter'
                PAR2_VALUE:
                  type: string
                  maxLength: 140
                  description: 'Alerts: Value of rule parameter'
                PAR3_NAME:
                  type: string
                  maxLength: 20
                  description: 'Alerts: Name of rule parameter'
                PAR3_VALUE:
                  type: string
                  maxLength: 140
                  description: 'Alerts: Value of rule parameter'
                PAR4_NAME:
                  type: string
                  maxLength: 20
                  description: 'Alerts: Name of rule parameter'
                PAR4_VALUE:
                  type: string
                  maxLength: 140
                  description: 'Alerts: Value of rule parameter'
                PARAM_NAME:
                  type: string
                  maxLength: 20
                  description: 'Alerts: Name of rule parameter'
                RULE:
                  type: string
                  maxLength: 40
                  description: 'Alerts: Key for a rule of a monitor definition'
                PARAM_VALUES_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      PAR_VALUE:
                        type: string
                        maxLength: 50
                        description: 'Alerts: Parameter value for a rule for a monitor definition'
              required:
              - PARAM_NAME
              - RULE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: integer
                    format: int32
                    description: 'Alerts: Value of rule parameter'
                  PARAM_VALUES_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        PAR_VALUE:
                          type: string
                          maxLength: 50
                          description: 'Alerts: Parameter value for a rule for a monitor definition'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
