v1.0

get

/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/{mode}/form/{formId}/valid

Retrieves a list of rules which are in both valid and enabled states that belong to a given form.

Request

Path Parameters
  • Optional item identifier filter. Accepts either a compact 32-character hexadecimal UUID or a hyphenated 36-character UUID.
    Example:
    39903D6C042D4D9E89773160488E6D3D
  • Study mode determines the data segment being managed. Allowed values: design (draft configuration workspace), test (UAT sandbox), training (sandbox for practice data), production (live subject data).
    Example:
    test
  • Unique study identifier supplied as a UUID. Accepts either a compact 32-character hexadecimal value or a hyphenated 36-character UUID.
    Example:
    36753A48BBA048CB98A5F3278146118D

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success.
Body ()
Root Schema : RuleSummaryResponseDoc
Type: object
Standard envelope containing rule summary results.
Show Source
Nested Schema : RuleSummaryListDoc
Type: object
Collection of rule summaries returned from list endpoints.
Show Source
Example:
{
    "rules":[
        {
            "ruleId":"82A65F8F6AAF47FFB177662E3931E7C0",
            "ruleName":"Visit Start Date Validation"
        }
    ]
}
Nested Schema : rules
Type: array
Rule summaries matching the supplied filters.
Show Source
Example:
[
    {
        "ruleId":"82A65F8F6AAF47FFB177662E3931E7C0",
        "ruleName":"Visit Start Date Validation",
        "ruleValidationStatus":"true"
    }
]
Nested Schema : RuleSummaryDoc
Type: object
Rule summary entry returned by the list endpoints.
Show Source
  • actions
    Actions triggered when the rule evaluates to true.
  • operands
    Operands referenced when the rule executes.
  • Business purpose or description of the rule.
    Example: Creates a query when visit date falls outside the allowable window.
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Unique identifier of the rule. Accepts either a compact 32-character hexadecimal UUID or a hyphenated 36-character UUID.
    Example: 82A65F8F6AAF47FFB177662E3931E7C0
  • Human readable rule name displayed in the designer UI.
    Example: Visit Start Date Validation
  • Allowed Values: [ "UI", "API", "INTEGRATION" ]
    Origin of the rule configuration.
    Example: UI
  • Text explaining the latest validation result.
    Example: Rule evaluated successfully.
  • Allowed Values: [ "true", "false" ]
    Validation result indicator. `true` means validation passed; `false` indicates warnings or errors.
    Example: true
Example:
{
    "ruleId":"82A65F8F6AAF47FFB177662E3931E7C0",
    "ruleName":"Visit Start Date Validation",
    "ruleOriginType":"UI"
}
Nested Schema : actions
Type: array
Actions triggered when the rule evaluates to true.
Show Source
Example:
[
    {
        "ruleActionTypeName":"CREATE_QUERY",
        "formId":"39903D6C042D4D9E89773160488E6D3D"
    }
]
Nested Schema : operands
Type: array
Operands referenced when the rule executes.
Show Source
Example:
[
    {
        "formId":"39903D6C042D4D9E89773160488E6D3D",
        "itemId":"2F4F4E67E0CE4BE0BB9544D2CD38A569"
    }
]
Nested Schema : RuleSummaryActionDoc
Type: object
Action metadata describing what happens when the rule triggers.
Show Source
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Identifier of the event targeted by the action.
    Example: 9B4AA96F48344015A259D6436EB97B47
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Unique identifier of the action target form.
    Example: 39903D6C042D4D9E89773160488E6D3D
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Unique identifier of the action target item.
    Example: 2F4F4E67E0CE4BE0BB9544D2CD38A569
  • Specific property referenced by the action.
    Example: VISIT_START
  • Allowed Values: [ "visit", "event", "form", "item", "none" ]
    Optional property type affected by the action.
    Example: form
  • Allowed Values: [ "CREATE_QUERY", "SEND_NOTIFICATION", "DISABLE_FIELD", "EXECUTE_CUSTOM_ACTION" ]
    Action type performed when the rule fires.
    Example: CREATE_QUERY
Nested Schema : RuleSummaryOperandDoc
Type: object
Operand metadata used while evaluating the rule.
Show Source
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Unique identifier of the operand event.
    Example: 9B4AA96F48344015A259D6436EB97B47
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Unique identifier of the operand form.
    Example: 39903D6C042D4D9E89773160488E6D3D
  • Pattern: ^[0-9A-Fa-f]{32}$|^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
    Unique identifier of the operand item.
    Example: 2F4F4E67E0CE4BE0BB9544D2CD38A569
  • Allowed Values: [ "ANY", "ALL", "NONE" ]
    Relationship between this operand and the other operands.
    Example: ALL
Examples

400 Response

Returned when the supplied parameters fail validation or use an unsupported combination of filter values.
Body ()
Root Schema : RuleSummaryErrorDoc
Type: object
Error structure returned when a rule list request fails.
Show Source
Examples

500 Response

Returned when no data is available for the supplied study context or identifiers.
Body ()
Root Schema : RuleSummaryErrorDoc
Type: object
Error structure returned when a rule list request fails.
Show Source
Examples

Back to Top