Publish a collection of rules in Testing mode

put

/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/{mode}/publish

Publishes a collection of rules in a study, while in Testing mode.

Request

Path Parameters
Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : ruleIds
Type: array
list of Rule Unique GUIDs
Show Source
Example:
[
    "938D23FA6B7241CCA41BD627E5DB60DA",
    "699EF3745FC545589F186D2198F3C65E"
]
Back to Top

Response

Supported Media Types

200 Response

Rule published successfully.
Body ()
Root Schema : RDSRestUnifiedResponseDTO
Type: object
Error details from Rule Designer APIs for bulk operations
Show Source
Nested Schema : RDSRestErrorDataDTO
Type: object
Read Only: true
Error details from Rule Designer APIs
Show Source
Nested Schema : RDSRestResponseDTO
Type: object
Read Only: true
Response from Rule Designer APIs
Show Source
Nested Schema : details
Type: object
Read Only: true
Error Details
Nested Schema : result
Type: object
Read Only: true
Result Object

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
Read Only: true
Error details from Rule Designer APIs
Show Source
Nested Schema : RDSRestResponseDTO
Type: object
Read Only: true
Response from Rule Designer APIs
Show Source
Nested Schema : details
Type: object
Read Only: true
Error Details
Nested Schema : result
Type: object
Read Only: true
Result Object

500 Response

An internal error occured.
Body ()
Root Schema : RDSRestUnifiedResponseDTO
Type: object
Error details from Rule Designer APIs for bulk operations
Show Source
Nested Schema : RDSRestErrorDataDTO
Type: object
Read Only: true
Error details from Rule Designer APIs
Show Source
Nested Schema : RDSRestResponseDTO
Type: object
Read Only: true
Response from Rule Designer APIs
Show Source
Nested Schema : details
Type: object
Read Only: true
Error Details
Nested Schema : result
Type: object
Read Only: true
Result Object
Back to Top