v1.0

get

/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/{mode}/simple

Retrieves the list of rules based on parameters such as form ID, item ID, property type, and rule name. Compared to the preview v0.9 API, v1.0 validates UUID filters, returns normalized action metadata, and limits responses to the requested study mode for UI consumption.

Request

Path Parameters
  • 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
Query Parameters
  • 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}$
    Optional event identifier. When supplied, responses include rules bound to the given event or unbound rules.
    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}$
    Optional form identifier filter. Accepts either a compact 32-character hexadecimal UUID or a hyphenated 36-character UUID.
    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}$
    Optional item identifier. Helps locate rules where the item is either an operand or the action target.
    Example:
    2F4F4E67E0CE4BE0BB9544D2CD38A569
  • Optional property name filter used together with propertyType and eventId to resolve visit metadata.
    Example:
    visitStartDate
  • Optional property type filter used with propertyName and eventId. Allowed values: visit (filters by visit definition), event (limits results to a specific event), form (targets form-level attributes), item (targets a single item operand or action), and none (returns all property types).
    Allowed Values: [ "visit", "event", "form", "item", "none" ]
    Example:
    visit
  • 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}$
    Rule identifier. Required for path parameters targeting a single rule; optional when used as a query filter.
    Example:
    8E2253D8E53A4A46BAE3E4952CBE9E5A
  • Optional rule name filter. Provide the user-facing title assigned to the rule.
    Example:
    Visit Start Date Validation

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success.
Body ()
Root Schema : RuleSimpleListDoc
Type: object
Rule collection returned by lightweight listing endpoints.
Show Source
Nested Schema : rules
Type: array
Rule summaries returned by the lightweight endpoint.
Show Source
Example:
[
    {
        "ruleId":"699EF3745FC545589F186D2198F3C65E",
        "ruleName":"Query on negative temperature",
        "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 the service encounters an unexpected server-side error while processing the request.
Body ()
Root Schema : RuleSummaryErrorDoc
Type: object
Error structure returned when a rule list request fails.
Show Source
Examples

Back to Top