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 of the study, accepts: test, active, or training.
    Example:
    test
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the Rule.
    Example:
    704A7178208D44BC9AD52556B18933C3
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
    Example:
    C360089F838D4DD980322DE22545C49F

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Rule execution was successful.
Body ()
Root Schema : Rule Execution History List Response
Type: object
Title: Rule Execution History List Response
Object containing a list of Rule Execution History Objects
Show Source
Nested Schema : Rule History Object
Type: object
Title: Rule History Object
Rule history object
Show Source
  • Number of subjects for which the rule failed.
    Example: 0
  • Number of subjects for which the rule passed.
    Example: 1
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule execution job.
    Example: 0E2428167F66445BAB544C7CDD884E87
  • Job Start Date
    Example: 2025-09-07 19:12:08.747
  • 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 Status
    Example: Success
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule.
    Example: 704A7178208D44BC9AD52556B18933C3
  • Rule Name
    Example: Calculate BMI
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the user that initiated the rule execution.
    Example: 0000000000000000000000000000000A
Examples

400 Response

Incorrect payload.
Body ()
Root Schema : Rule Execution History List Response
Type: object
Title: Rule Execution History List Response
Object containing a list of Rule Execution History Objects
Show Source
Nested Schema : Rule History Object
Type: object
Title: Rule History Object
Rule history object
Show Source
  • Number of subjects for which the rule failed.
    Example: 0
  • Number of subjects for which the rule passed.
    Example: 1
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule execution job.
    Example: 0E2428167F66445BAB544C7CDD884E87
  • Job Start Date
    Example: 2025-09-07 19:12:08.747
  • 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 Status
    Example: Success
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule.
    Example: 704A7178208D44BC9AD52556B18933C3
  • Rule Name
    Example: Calculate BMI
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the user that initiated the rule execution.
    Example: 0000000000000000000000000000000A

500 Response

An internal error occurred.
Body ()
Root Schema : Rule Execution History List Response
Type: object
Title: Rule Execution History List Response
Object containing a list of Rule Execution History Objects
Show Source
Nested Schema : Rule History Object
Type: object
Title: Rule History Object
Rule history object
Show Source
  • Number of subjects for which the rule failed.
    Example: 0
  • Number of subjects for which the rule passed.
    Example: 1
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule execution job.
    Example: 0E2428167F66445BAB544C7CDD884E87
  • Job Start Date
    Example: 2025-09-07 19:12:08.747
  • 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 Status
    Example: Success
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the rule.
    Example: 704A7178208D44BC9AD52556B18933C3
  • Rule Name
    Example: Calculate BMI
  • Identifier((UUID, 32-character uppercase hexadecimal string)) for the user that initiated the rule execution.
    Example: 0000000000000000000000000000000A
Examples

Back to Top