Integration API

Rule Execution APIs

  • These APIs are used by applications to execute rules.

  • They enable invoking rules, sending parameters, and receiving results.

Executes all rules belonging to a category.

executeWithCategory

post
Query parameters
baseDatestring · dateRequired

baseDate

categoryCodestringRequired

categoryCode

includeSubCategoriesbooleanOptional

includeSubCategories

Body
Responses
200

OK

*/*
post
/public/ruleExecuterApi/executeWithCategory
POST /public/ruleExecuterApi/executeWithCategory?baseDate=2025-11-08&categoryCode=text HTTP/1.1
Host: 127.0.0.1/
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "context": [
    {
      "code": "text",
      "value": "text",
      "values": [
        "text"
      ]
    }
  ],
  "halter": [
    {
      "code": "text",
      "result": "text"
    }
  ]
}
{
  "localProcessCode": "text",
  "results": {
    "ANY_ADDITIONAL_PROPERTY": [
      {
        "code": "text",
        "multiple": true,
        "name": "text",
        "value": "text",
        "values": [
          "text"
        ]
      }
    ]
  }
}

Executes a single rule

execute

post
Query parameters
baseDatestring · dateRequired

baseDate

pathstringRequired

path

Body
Responses
200

OK

*/*
post
/public/ruleExecuterApi/executeWithPath
POST /public/ruleExecuterApi/executeWithPath?baseDate=2025-11-08&path=text HTTP/1.1
Host: 127.0.0.1/
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "context": [
    {
      "code": "text",
      "value": "text",
      "values": [
        "text"
      ]
    }
  ]
}
{
  "localProcessCode": "text",
  "results": [
    {
      "code": "text",
      "multiple": true,
      "name": "text",
      "value": "text",
      "values": [
        "text"
      ]
    }
  ]
}

Executes multiple rules

executeWithPaths

post
Query parameters
baseDatestring · dateRequired

baseDate

pathsstring[]Required

paths

Body
Responses
200

OK

*/*
post
/public/ruleExecuterApi/executeWithPaths
POST /public/ruleExecuterApi/executeWithPaths?baseDate=2025-11-08&paths=text HTTP/1.1
Host: 127.0.0.1/
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "context": [
    {
      "code": "text",
      "value": "text",
      "values": [
        "text"
      ]
    }
  ],
  "halter": [
    {
      "code": "text",
      "result": "text"
    }
  ]
}
{
  "localProcessCode": "text",
  "results": {
    "ANY_ADDITIONAL_PROPERTY": [
      {
        "code": "text",
        "multiple": true,
        "name": "text",
        "value": "text",
        "values": [
          "text"
        ]
      }
    ]
  }
}

The Options services provide the list of parameters used in the rule.

Returns the parameters of the rules under the category

optionsPathExpression

get
Query parameters
baseDatestring · dateRequired

baseDate

categoryCodestringRequired

categoryCode

includeSubCategoriesbooleanOptional

includeSubCategories

Responses
200

OK

*/*
get
/public/ruleExecuterApi/optionsForCategory
GET /public/ruleExecuterApi/optionsForCategory?baseDate=2025-11-08&categoryCode=text HTTP/1.1
Host: 127.0.0.1/
Accept: */*
{
  "ANY_ADDITIONAL_PROPERTY": {
    "description": "text",
    "in": [
      {
        "code": "text",
        "dataType": "text",
        "multiple": true,
        "name": "text"
      }
    ],
    "name": "text",
    "out": [
      {
        "code": "text",
        "dataType": "text",
        "multiple": true,
        "name": "text"
      }
    ]
  }
}

Returns the parameters of a single rule

options

get
Query parameters
baseDatestring · dateRequired

baseDate

pathstringRequired

path

Responses
200

OK

*/*
get
/public/ruleExecuterApi/optionsForPath
GET /public/ruleExecuterApi/optionsForPath?baseDate=2025-11-08&path=text HTTP/1.1
Host: 127.0.0.1/
Accept: */*
{
  "description": "text",
  "in": [
    {
      "code": "text",
      "dataType": "text",
      "multiple": true,
      "name": "text"
    }
  ],
  "name": "text",
  "out": [
    {
      "code": "text",
      "dataType": "text",
      "multiple": true,
      "name": "text"
    }
  ]
}

Returns the parameters of multiple rules

optionsForPaths

get
Query parameters
baseDatestring · dateRequired

baseDate

pathsstring[]Required

paths

Responses
200

OK

*/*
get
/public/ruleExecuterApi/optionsForPaths
GET /public/ruleExecuterApi/optionsForPaths?baseDate=2025-11-08&paths=text HTTP/1.1
Host: 127.0.0.1/
Accept: */*
{
  "ANY_ADDITIONAL_PROPERTY": {
    "description": "text",
    "in": [
      {
        "code": "text",
        "dataType": "text",
        "multiple": true,
        "name": "text"
      }
    ],
    "name": "text",
    "out": [
      {
        "code": "text",
        "dataType": "text",
        "multiple": true,
        "name": "text"
      }
    ]
  }
}

Last updated