v1.0
post
/ec-rule-designer-svc/rest/v1.0/rulemgt/studies/{studyId}/{mode}/filteredlist
Retrieves rule management summaries by applying form, question, state, enabled, or validation filters. Multiple filters can be combined and the request body example illustrates supported fields and pagination controls. Compared to the v0.9 legacy endpoint, v1.0 introduces server-side pagination and explicit sort ordering to reduce payload sizes.
Request
Path Parameters
-
mode(required): string
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 -
studyId(required): string(uuid)
Unique study identifier supplied as a UUID. Accepts either a compact 32-character hexadecimal value or a hyphenated 36-character UUID.Example:
36753A48BBA048CB98A5F3278146118D
Supported Media Types
- application/json
Root Schema : schema
Type:
objectFilter criteria applied when retrieving rule management summaries.
Show Source
-
formId: string
Minimum Length:
36Maximum Length:36Pattern:^[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}$Form identifier used to constrain the rule list. Accepts a UUID string.Example:39903D6C-042D-4D9E-8977-3160488E6D3D -
itemId: array
itemId
Collection of item identifiers to include in the filter.
-
publishRun: string
Minimum Length:
7Maximum Length:8Allowed Values:[ "AllData", "FutureData" ]Execution scope for the rule. `AllData` updates historical and in-flight data, while `FutureData` restricts updates to newly captured data.Example:FutureData -
ruleEnabled: string
Minimum Length:
1Maximum Length:1Flag representing whether rules should be enabled (`1`) or disabled (`0`).Example:1 -
ruleState: array
ruleState
List of rule states to include in the response.
-
ruleTrainingEnabled: string
Minimum Length:
4Maximum Length:5Indicator for training mode enablement. Accepts the literal values `true`, `false`, or is omitted to include all records.Example:true -
sortColumn: string
Minimum Length:
4Maximum Length:64Column used to sort the result set. Defaults to form, question, and rule name when not provided.Example:ruleName -
sortOrder: string
Minimum Length:
3Maximum Length:4Allowed Values:[ "ASC", "DESC" ]Sort order for the column. `ASC` sorts results in ascending order, while `DESC` sorts in descending order.Example:ASC -
userId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-Fa-f]{32}$User identifier associated with the most recent rule update.Example:0000000000000000000000000000000A -
userName: string
Minimum Length:
1Maximum Length:64User friendly name for the rule owner or last modifier. Filter is case-insensitive.Example:jsmith
Nested Schema : itemId
Type:
arrayCollection of item identifiers to include in the filter.
Show Source
-
Array of:
string(uuid)
Minimum Length:
36Maximum Length:36Pattern:^[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}$Item identifier expressed as a canonical UUID string without braces.Example:2f4f4e67-e0ce-4be0-bb95-44d2cd38a569
Example:
[
"2F4F4E67-E0CE-4BE0-BB95-44D2CD38A569"
]Nested Schema : ruleState
Type:
arrayList of rule states to include in the response.
Show Source
-
Array of:
string
Minimum Length:
4Maximum Length:8Allowed Values:[ "draft", "uat", "approved", "publish" ]Rule state indicator.Example:approved
Example:
[
"draft",
"publish"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success.
Root Schema : BulkRuleMgmtFilterResponseDoc
Type:
objectPaginated response for filtered rule summaries.
Show Source
-
count: integer
(int32)
Minimum Value:
0Maximum Value:500Number of results returned in this response.Example:2 -
hasMore: boolean
Indicates whether additional pages exist.Example:
false -
limit: integer
(int32)
Minimum Value:
1Maximum Value:500Requested page size.Example:50 -
offset: integer
(int32)
Minimum Value:
0Maximum Value:10000Zero-based index of the first record in this page.Example:0 -
resultData: array
resultData
Filtered rule summaries matching the supplied criteria.
-
totalResults: integer
(int32)
Minimum Value:
0Maximum Value:10000Total number of results for the applied filter.Example:2
Nested Schema : resultData
Type:
arrayFiltered rule summaries matching the supplied criteria.
Show Source
-
Array of:
object BulkRuleMgmtRuleSummaryDoc
Rule summary entry returned by the bulk filter endpoint.
Example:
[
{
"ruleId":"8E2253D8E53A4A46BAE3E4952CBE9E5A",
"ruleName":"Out of Range Visit Date",
"ruleState":"approved",
"ruleValidationStatus":"true"
}
]Nested Schema : BulkRuleMgmtRuleSummaryDoc
Type:
objectRule summary entry returned by the bulk filter endpoint.
Show Source
-
formName: string
Minimum Length:
2Maximum Length:128Name of the associated form.Example:Screening Visit -
formRefName: string
Minimum Length:
2Maximum Length:64Reference identifier for the related form.Example:SCR_VISIT -
lastModifiedDate: string
(date-time)
Minimum Length:
20Maximum Length:30Timestamp for the last modification.Example:2025-11-02T14:45:22Z -
publishRun: string
Minimum Length:
7Maximum Length:8Allowed Values:[ "AllData", "FutureData" ]Publish scope applied to the rule.Example:AllData -
questionName: string
Minimum Length:
2Maximum Length:128Name of the question or data element.Example:Visit Date -
questionRefName: string
Minimum Length:
2Maximum Length:64Reference identifier for the related question.Example:VISIT_DATE -
ruleActionTarget: string
Minimum Length:
2Maximum Length:64The record type targeted by the rule action.Example:VISIT -
ruleActionTypeName: string
Minimum Length:
5Maximum Length:64Action executed when the rule evaluates to true.Example:CREATE_QUERY -
ruleDeleted: integer
(int32)
Minimum Value:
0Maximum Value:1Indicates whether the rule is marked deleted (0 = active, 1 = deleted).Example:0 -
ruleDescription: string
Minimum Length:
3Maximum Length:1024Purpose or behavior of the rule.Example:Creates a query when visit date falls outside the allowable window. -
ruleEnabled: integer
(int32)
Minimum Value:
0Maximum Value:1Indicates whether the rule is enabled (1) or disabled (0).Example:1 -
ruleEverInProduction: string
Minimum Length:
4Maximum Length:5Allowed Values:[ "true", "false" ]Indicates whether the rule has been executed in production previously.Example:false -
ruleId: string
Minimum Length:
32Maximum Length:36Unique identifier of the rule.Example:8E2253D8E53A4A46BAE3E4952CBE9E5A -
ruleName: string
Minimum Length:
3Maximum Length:256Human readable name for the rule.Example:Out of Range Visit Date -
ruleOrder: integer
(int32)
Minimum Value:
0Maximum Value:9999Display order used when listing the rule.Example:10 -
ruleOriginType: string
Minimum Length:
2Maximum Length:32Allowed Values:[ "UI", "API", "INTEGRATION" ]Origin of the rule. `UI` denotes portal-authored rules, `API` covers service integrations, and `INTEGRATION` represents synchronized external logic.Example:UI -
ruleRefName: string
Minimum Length:
3Maximum Length:256Unique reference name for the rule.Example:VISIT_DATE_RANGE_VALIDATION -
ruleState: string
Minimum Length:
5Maximum Length:8Allowed Values:[ "draft", "uat", "approved", "publish" ]Lifecycle state of the rule.Example:approved -
ruleTrainingEnabled: string
Minimum Length:
4Maximum Length:5Allowed Values:[ "true", "false" ]Flag showing whether training mode is enabled for the rule (`true` enables training execution, `false` excludes training records).Example:false -
ruleValidationMessage: string
Minimum Length:
1Maximum Length:512Message associated with the last validation result.Example:Rule evaluated successfully. -
ruleValidationStatus: string
Minimum Length:
4Maximum Length:5Allowed Values:[ "true", "false" ]Indicates whether the rule validated successfully in its last execution (`true` means validation passed, `false` captures warnings or errors).Example:true -
userId: string
Minimum Length:
32Maximum Length:32Identifier of the last modifying user.Example:0000000000000000000000000000000A -
userName: string
Minimum Length:
2Maximum Length:64Name of the last modifying user.Example:jsmith -
versionEnd: string
(date-time)
Minimum Length:
20Maximum Length:30Timestamp when the rule version ended.Example:2026-01-15T08:30:00Z -
versionStart: string
(date-time)
Minimum Length:
20Maximum Length:30Timestamp when the rule version started.Example:2025-09-07T19:12:08Z
Example:
{
"ruleId":"8E2253D8E53A4A46BAE3E4952CBE9E5A",
"ruleName":"Out of Range Visit Date",
"ruleState":"approved",
"ruleValidationStatus":"true"
}Examples
400 Response
Returned when the supplied parameters fail validation or use an unsupported combination of filter values.
Root Schema : BulkRuleMgmtErrorDoc
Type:
objectError payload returned when a request cannot be processed.
Show Source
-
details: string
Minimum Length:
5Maximum Length:512Optional contextual details that help the caller remediate the failure.Example:ruleIds must contain at least one value. -
errorCode: string
Minimum Length:
5Maximum Length:32Application level error code.Example:JSON-004 -
errorMessage: string
Minimum Length:
10Maximum Length:512Human-readable explanation of the error.Example:Invalid UUID list. One or more elements are invalid. Must contain at least one element. -
result: string
Minimum Length:
5Maximum Length:256Successful result content when available; typically null for errors.Example:No result returned because the request failed validation. -
status: string
Minimum Length:
6Maximum Length:6Allowed Values:[ "failed" ]Overall status of the call. `failed` indicates the request could not be completed, `success` is never returned for this payload.Example:failed
Example:
{
"status":"failed",
"result":null,
"errorCode":"JSON-004",
"errorMessage":"Invalid UUID list. One or more elements are invalid. Must contain at least one element.",
"details":"ruleIds must contain at least one value."
}Examples
500 Response
Returned when the service encounters an unexpected server-side error while processing the request.
Root Schema : BulkRuleMgmtErrorDoc
Type:
objectError payload returned when a request cannot be processed.
Show Source
-
details: string
Minimum Length:
5Maximum Length:512Optional contextual details that help the caller remediate the failure.Example:ruleIds must contain at least one value. -
errorCode: string
Minimum Length:
5Maximum Length:32Application level error code.Example:JSON-004 -
errorMessage: string
Minimum Length:
10Maximum Length:512Human-readable explanation of the error.Example:Invalid UUID list. One or more elements are invalid. Must contain at least one element. -
result: string
Minimum Length:
5Maximum Length:256Successful result content when available; typically null for errors.Example:No result returned because the request failed validation. -
status: string
Minimum Length:
6Maximum Length:6Allowed Values:[ "failed" ]Overall status of the call. `failed` indicates the request could not be completed, `success` is never returned for this payload.Example:failed
Example:
{
"status":"failed",
"result":null,
"errorCode":"JSON-004",
"errorMessage":"Invalid UUID list. One or more elements are invalid. Must contain at least one element.",
"details":"ruleIds must contain at least one value."
}Examples