[Deprecated]: Get all rules based on given parameters
get
/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/{mode}/simple
Deprecated: Use latest version instead. Retrieves the list of rules based on the given parameters. Such as form ID, question ID, property type or name, as well as rule ID and rule name, among others. Provides basic information to be used in the user interface, on the Rules pane.
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
-
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 used in conjuction with propertyType and eventId
-
propertyType: string
Property Type: to used in conjuction 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 occured.
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