Get rule by property
get
/ec-rule-designer-svc/rest/v3.0/rule/studies/{studyId}/{mode}/propertyType/{propertyType}
Retrieves a list of rules and related actions based on a property.
Request
Path Parameters
-
mode(required): string
Study Mode
-
propertyType(required): string
Property Type
-
studyId(required): string(uuid)
Study Id
Query Parameters
-
eventId: string(uuid)
Event Id (just for backward compatibility ignored for rds rules)
-
eventInstanceNumber: number
Event Instance Number (just for backward compatibility ignored for rds rules)
-
formId: string(uuid)
Form Id (just for backward compatibility ignored for rds rules)
-
propertyName(required): string
Property Name
-
studyVersion: string
Study Version (just for backward compatibility ignored for rds rules)
-
valid: string
Fetch valid Rules (true/false)
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Nested Schema : RuleActionsDetailDTOV2
Type:
Show Source
object
-
actions: array
actions
-
async: number
-
eventId: string
(uuid)
-
eventInstanceNumber: number
-
formId: string
(uuid)
-
itemId: string
(uuid)
-
propertyName: string
-
propertyType: string
-
ruleDescription: string
-
ruleEnabled: number
-
ruleExpr: string
-
ruleId: string
(uuid)
-
ruleJSExpr: string
-
ruleName: string
-
ruleOrder: number
-
ruleOriginType: string
-
rulePayload: string
-
ruleRefName: string
-
ruleState: string
-
ruleValidationStatus: string
-
ruleVersionNumber: number
-
runAllEvents: number
-
runAllRepeats: number
400 Response
Bad request.
Root Schema : RDSRestErrorDataDTO
Type:
object
Read Only:
true
Error details from Rule Designer APIs
Show Source
-
details: object
details
Read Only:
true
Error Details -
errorCode: string
Read Only:
true
Error Code -
errorMessage: string
Read Only:
true
Error Message -
result: string
Read Only:
true
Result -
status: string
Read Only:
true
Status
Nested Schema : details
Type:
object
Read Only:
true
Error Details
500 Response
No data found for supplied parameters.
Root Schema : RDSRestErrorDataDTO
Type:
object
Read Only:
true
Error details from Rule Designer APIs
Show Source
-
details: object
details
Read Only:
true
Error Details -
errorCode: string
Read Only:
true
Error Code -
errorMessage: string
Read Only:
true
Error Message -
result: string
Read Only:
true
Result -
status: string
Read Only:
true
Status
Nested Schema : details
Type:
object
Read Only:
true
Error Details