v1.0
get
/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/{mode}/rulenames
Retrieves the following data for all rules: name, ID, rulerefname, ruleState, ruleDeleted, ruleEnabled, ruleValidationStatus and studymode for a given study ID and mode. Allows optional filters such as ruleState, ruleDeleted, ruleEnabled, and ruleValidationStatus.
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
Query Parameters
-
ruleDeleted: integer(int64)
Minimum Value:
0Maximum Value:1Optional rule deleted filter. Accepted values: 1 (rule marked deleted) or 0 (rule active).Allowed Values:[ 0, 1 ]Example:0 -
ruleEnabled: integer(int64)
Minimum Value:
0Maximum Value:1Optional rule enabled filter. Accepted values: 1 (rule executes in the selected mode) or 0 (rule is disabled).Allowed Values:[ 0, 1 ]Example:0 -
ruleState: string
Optional rule workflow state filter. Allowed values: draft (authoring), uat (in validation), approved (ready for release), publish (live in production).Allowed Values:
[ "draft", "uat", "approved", "publish" ]Example:draft -
ruleValidationStatus: string
Optional rule validation status filter. Accepted values: true (latest validation passed) or false (rule has validation errors).Allowed Values:
[ "true", "false" ]Example:true
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success.
Root Schema : schema
Type:
Show Source
array-
Array of:
object RDSRestResponseDTO
Response from Rule Designer APIs
Nested Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueMaximum Number of Properties:2000Result payload when the request succeeds. Structure depends on the endpoint. -
status: string
Read Only:
trueMinimum Length:6Maximum Length:7Allowed Values:[ "success", "failed" ]Overall outcome for the call. Allowed values: success, failed.Example:success
Example:
{
"status":"success",
"result":{
"message":"Rule updated successfully."
}
}Nested Schema : result
Type:
objectRead Only:
trueMaximum Number of Properties:
2000Result payload when the request succeeds. Structure depends on the endpoint.
Example:
{
"rules":[
]
}Examples
400 Response
Returned when the supplied parameters fail validation or use an unsupported combination of filter values.
Root Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueMaximum Number of Properties:2000Result payload when the request succeeds. Structure depends on the endpoint. -
status: string
Read Only:
trueMinimum Length:6Maximum Length:7Allowed Values:[ "success", "failed" ]Overall outcome for the call. Allowed values: success, failed.Example:success
Example:
{
"status":"success",
"result":{
"message":"Rule updated successfully."
}
}Nested Schema : result
Type:
objectRead Only:
trueMaximum Number of Properties:
2000Result payload when the request succeeds. Structure depends on the endpoint.
Example:
{
"rules":[
]
}Examples
500 Response
Returned when no data is available for the supplied study context or identifiers.
Root Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueMaximum Number of Properties:2000Result payload when the request succeeds. Structure depends on the endpoint. -
status: string
Read Only:
trueMinimum Length:6Maximum Length:7Allowed Values:[ "success", "failed" ]Overall outcome for the call. Allowed values: success, failed.Example:success
Example:
{
"status":"success",
"result":{
"message":"Rule updated successfully."
}
}Nested Schema : result
Type:
objectRead Only:
trueMaximum Number of Properties:
2000Result payload when the request succeeds. Structure depends on the endpoint.
Example:
{
"rules":[
]
}Examples