[Deprecated]: Get all rules by form ID, question ID, or other parameters.
get
/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/{mode}/simple
Deprecated: Use latest version instead. Retrieves the list of rules by form ID, question ID and/or property type and name, as well as by rule ID and rule name. Provides basic information to be used in the user interface, on the Rules pane. \n All rules that belong to the question, form or event that could be an operand or a target item are retrieved.
Request
Path Parameters
-
mode(required): string
Study Mode. (Test, Training or Active)
-
studyId(required): string(uuid)
Study ID.
Query Parameters
-
eventId: string(uuid)
Event ID: returns all the rules linked to the eventId and rules not linked to any eventId.
-
formId: string(uuid)
Form ID.
-
itemId: string(uuid)
Item ID: could be an operand or a target item in multiple rules.
-
propertyName: string
Property Name: to be used in conjunction with propertyType and eventId.
-
propertyType: string
Property Type: to be used in conjunction with propertyName and eventId.
-
ruleId: string(uuid)
Rule ID.
-
ruleName: string
Rule Name.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success.
Nested Schema : RulesSimpleDTO
Type:
Show Source
object-
ruleActionTarget: string
-
ruleActionTypeName: string
-
ruleDeleted: number
-
ruleDescription: string
-
ruleEnabled: number
-
ruleEverInProduction: string
-
ruleId: string
(uuid)
-
ruleName: string
-
ruleOrder: number
-
ruleOriginType: string
-
ruleRefName: string
-
ruleState: string
-
ruleValidationMessage: string
-
ruleValidationStatus: string
400 Response
Bad request.
Nested Schema : RulesSimpleDTO
Type:
Show Source
object-
ruleActionTarget: string
-
ruleActionTypeName: string
-
ruleDeleted: number
-
ruleDescription: string
-
ruleEnabled: number
-
ruleEverInProduction: string
-
ruleId: string
(uuid)
-
ruleName: string
-
ruleOrder: number
-
ruleOriginType: string
-
ruleRefName: string
-
ruleState: string
-
ruleValidationMessage: string
-
ruleValidationStatus: string
500 Response
An internal error occurred.
Nested Schema : RulesSimpleDTO
Type:
Show Source
object-
ruleActionTarget: string
-
ruleActionTypeName: string
-
ruleDeleted: number
-
ruleDescription: string
-
ruleEnabled: number
-
ruleEverInProduction: string
-
ruleId: string
(uuid)
-
ruleName: string
-
ruleOrder: number
-
ruleOriginType: string
-
ruleRefName: string
-
ruleState: string
-
ruleValidationMessage: string
-
ruleValidationStatus: string