Get rule by rule ID
get
/ec-rule-designer-svc/rest/v6.0/rule/studies/{studyId}/{mode}/ruleId/{ruleId}
Retrieves a list of rules and related actions that belong to a specified rule ID.
Request
Path Parameters
-
mode(required): string
Study Mode. (Test, Training or Active)Example:
test -
ruleId(required): string(uuid)
Rule ID.Example:
8E2253D8E53A4A46BAE3E4952CBE9E5A -
studyId(required): string(uuid)
Study ID.Example:
123e4567-e89b-12d3-a456-426655440000
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success.
Root Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueResult Object. Refer to example response for more details. -
status: string
Read Only:
trueAllowed Values:[ "success, failed" ]Status
Example:
{
"status":"success",
"result":"Rule executed successfully"
}Nested Schema : result
Type:
objectRead Only:
trueResult Object. Refer to example response for more details.
Examples
400 Response
Bad request.
Root Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueResult Object. Refer to example response for more details. -
status: string
Read Only:
trueAllowed Values:[ "success, failed" ]Status
Example:
{
"status":"success",
"result":"Rule executed successfully"
}Nested Schema : result
Type:
objectRead Only:
trueResult Object. Refer to example response for more details.
500 Response
No data found for supplied parameters.
Root Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueResult Object. Refer to example response for more details. -
status: string
Read Only:
trueAllowed Values:[ "success, failed" ]Status
Example:
{
"status":"success",
"result":"Rule executed successfully"
}Nested Schema : result
Type:
objectRead Only:
trueResult Object. Refer to example response for more details.