[Deprecated]: Update rules in bulk

put

/ec-rule-designer-svc/rest/v6.0/rule/studies/{studyId}/{mode}/bulkupdate

Deprecated: Use latest version instead. Updates rules in bulk for given request payload

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
BulkUpdateRulesDTO with list of rules to be updated for the given rule action and operands.
Show Source
Nested Schema : rules
Type: array
List of rules for rule update.
Show Source
Nested Schema : UpdateRuleDTOV6
Type: object
UpdateRuleDTO with list of rules and its operands.
Show Source
Nested Schema : actions
Type: array
Show Source
Nested Schema : operands
Type: array
Operands for each rules in the list.
Show Source
Nested Schema : RuleActionDTOV5
Type: object
Title: RuleActionDTOV5
Information about action for rule V5
Show Source
Nested Schema : RuleOperandDTOV2
Type: object
Operands for each rules in the list.
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Bulk rule update was successful.
Body ()
Root Schema : RDSRestUnifiedResponseDTO
Type: object
Error details from Rule Designer APIs for bulk operations
Show Source
Nested Schema : RDSRestErrorDataDTO
Type: object
Error details from Rule Designer APIs
Show Source
Example:
{
    "errorCode":"RULE_ERROR",
    "errorMessage":"Rule execution failed"
}
Nested Schema : RDSRestResponseDTO
Type: object
Response from Rule Designer APIs
Show Source
Example:
{
    "status":"success",
    "result":"Rule executed successfully"
}
Nested Schema : details
Type: object
Read Only: true
Error Details
Nested Schema : result
Type: object
Read Only: true
Result Object. Refer to example response for more details.
Examples

400 Response

Incorrect payload.
Body ()
Root Schema : RDSRestUnifiedResponseDTO
Type: object
Error details from Rule Designer APIs for bulk operations
Show Source
Nested Schema : RDSRestErrorDataDTO
Type: object
Error details from Rule Designer APIs
Show Source
Example:
{
    "errorCode":"RULE_ERROR",
    "errorMessage":"Rule execution failed"
}
Nested Schema : RDSRestResponseDTO
Type: object
Response from Rule Designer APIs
Show Source
Example:
{
    "status":"success",
    "result":"Rule executed successfully"
}
Nested Schema : details
Type: object
Read Only: true
Error Details
Nested Schema : result
Type: object
Read Only: true
Result Object. Refer to example response for more details.

500 Response

An internal error occurred.
Body ()
Root Schema : RDSRestUnifiedResponseDTO
Type: object
Error details from Rule Designer APIs for bulk operations
Show Source
Nested Schema : RDSRestErrorDataDTO
Type: object
Error details from Rule Designer APIs
Show Source
Example:
{
    "errorCode":"RULE_ERROR",
    "errorMessage":"Rule execution failed"
}
Nested Schema : RDSRestResponseDTO
Type: object
Response from Rule Designer APIs
Show Source
Example:
{
    "status":"success",
    "result":"Rule executed successfully"
}
Nested Schema : details
Type: object
Read Only: true
Error Details
Nested Schema : result
Type: object
Read Only: true
Result Object. Refer to example response for more details.
Back to Top