Endpoint URIs
Endpoint URIs represent rulesets as Rule Execution Server resources for the REST execution service.
http://{host}:{port}/DecisionService/rest/v1/{rulesetpath}/{filetype}?{options}
Item | Description |
---|---|
|
The endpoint and port of the hosted transparent decision service (HTDS) application. Example: |
|
The REST service context root. |
|
The version number of the REST service. This parameter is optional. The
current version is numbered |
{rulesetpath} |
The short ruleset path or the canonical ruleset path.
|
{filetype} |
The file type: |
{options} |
You can add options at the end of the URI. See Table 2 for details. |
Option | Used for | Description |
---|---|---|
format |
OpenAPI |
Select YAML or JSON. If no format is specified, YAML is used by default. Example: |
endpoint |
OpenAPI |
It must be a valid URL. It is used to determine the If the endpoint is not set or no value is specified, the |
security |
OpenAPI |
Specify New in
8.10.5 Specify
Examples:
|
trace |
OpenAPI WADL |
If it is set to Example: |
download |
OpenAPI WADL |
If it is set to Example: |
zip |
WADL |
If it is set to true, the WADL code and its XSD files are in a compressed file. When you specify the zip option, the inline option is not necessary. Example: |
inline |
WADL |
If it is set to Example: |
http://localhost:9080/DecisionService/rest/v1/miniloanruleapp/1.0/miniloanrules/1.0/wadl?zip=true
&
when you want to add more than one
option:http://{host}:{port}/DecisionService/rest/v1/{rulesetpath}/{filetype}?{option1}&{option2}&{option3}