Rule re-run history
get
/ec-rule-svc/rest/v1.0/studies/{studyId}/{mode}/rerunhistory/{ruleId}
Fetches the rule re-run history for a given rule id.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
ruleId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the Rule.Example:
704A7178208D44BC9AD52556B18933C3 -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
C360089F838D4DD980322DE22545C49F
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Rule execution was successful.
Root Schema : Rule Execution History List Response
Type:
objectTitle:
Rule Execution History List ResponseObject containing a list of Rule Execution History Objects
Show Source
-
ruleHistory: object
Rule History Object
Title:
Rule History ObjectRule history object -
status: string
Rule Execution History request status or error messageExample:
success
Nested Schema : Rule History Object
Type:
objectTitle:
Rule History ObjectRule history object
Show Source
-
countFailedSubjects: integer
Number of subjects for which the rule failed.Example:
0 -
countPassedSubjects: integer
Number of subjects for which the rule passed.Example:
1 -
jobId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule execution job.Example:
0E2428167F66445BAB544C7CDD884E87 -
jobStartDate: string
Job Start DateExample:
2025-09-07 19:12:08.747 -
jobStatus: string
Allowed Values:
[ "Running", "Success", "Failed", "Cancelled", "Completed with errors", "Pending", "Rule is not in publish state", "Rule is invalid", "Rule is disabled", "Rule doesn't exist", "Failed to cancel job", "Skipped because subject is locked" ]Job StatusExample:Success -
ruleId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule.Example:
704A7178208D44BC9AD52556B18933C3 -
ruleName: string
Rule NameExample:
Calculate BMI -
userId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the user that initiated the rule execution.Example:
0000000000000000000000000000000A
Examples
400 Response
Incorrect payload.
Root Schema : Rule Execution History List Response
Type:
objectTitle:
Rule Execution History List ResponseObject containing a list of Rule Execution History Objects
Show Source
-
ruleHistory: object
Rule History Object
Title:
Rule History ObjectRule history object -
status: string
Rule Execution History request status or error messageExample:
success
Nested Schema : Rule History Object
Type:
objectTitle:
Rule History ObjectRule history object
Show Source
-
countFailedSubjects: integer
Number of subjects for which the rule failed.Example:
0 -
countPassedSubjects: integer
Number of subjects for which the rule passed.Example:
1 -
jobId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule execution job.Example:
0E2428167F66445BAB544C7CDD884E87 -
jobStartDate: string
Job Start DateExample:
2025-09-07 19:12:08.747 -
jobStatus: string
Allowed Values:
[ "Running", "Success", "Failed", "Cancelled", "Completed with errors", "Pending", "Rule is not in publish state", "Rule is invalid", "Rule is disabled", "Rule doesn't exist", "Failed to cancel job", "Skipped because subject is locked" ]Job StatusExample:Success -
ruleId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule.Example:
704A7178208D44BC9AD52556B18933C3 -
ruleName: string
Rule NameExample:
Calculate BMI -
userId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the user that initiated the rule execution.Example:
0000000000000000000000000000000A
500 Response
An internal error occurred.
Root Schema : Rule Execution History List Response
Type:
objectTitle:
Rule Execution History List ResponseObject containing a list of Rule Execution History Objects
Show Source
-
ruleHistory: object
Rule History Object
Title:
Rule History ObjectRule history object -
status: string
Rule Execution History request status or error messageExample:
success
Nested Schema : Rule History Object
Type:
objectTitle:
Rule History ObjectRule history object
Show Source
-
countFailedSubjects: integer
Number of subjects for which the rule failed.Example:
0 -
countPassedSubjects: integer
Number of subjects for which the rule passed.Example:
1 -
jobId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule execution job.Example:
0E2428167F66445BAB544C7CDD884E87 -
jobStartDate: string
Job Start DateExample:
2025-09-07 19:12:08.747 -
jobStatus: string
Allowed Values:
[ "Running", "Success", "Failed", "Cancelled", "Completed with errors", "Pending", "Rule is not in publish state", "Rule is invalid", "Rule is disabled", "Rule doesn't exist", "Failed to cancel job", "Skipped because subject is locked" ]Job StatusExample:Success -
ruleId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule.Example:
704A7178208D44BC9AD52556B18933C3 -
ruleName: string
Rule NameExample:
Calculate BMI -
userId: string
(UUID)
Identifier((UUID, 32-character uppercase hexadecimal string)) for the user that initiated the rule execution.Example:
0000000000000000000000000000000A
Examples