v1.0
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
-
mode(required): string
Study mode determines the data segment being managed. Allowed values: design (draft configuration workspace), test (UAT sandbox), training (sandbox for practice data), production (live subject data).Example:
test -
studyId(required): string(uuid)
Unique study identifier supplied as a UUID. Accepts either a compact 32-character hexadecimal value or a hyphenated 36-character UUID.Example:
36753A48BBA048CB98A5F3278146118D
Query Parameters
-
reExecuteRules: boolean
Re-execute Rules.Example:
true
Supported Media Types
- application/json
Root Schema : schema
Type:
objectWrapper containing the rule identifiers targeted by a bulk operation.
Show Source
-
ruleIds(required): array
ruleIds
List of rule identifiers expressed as 32 character uppercase hexadecimal strings without separators.
Nested Schema : ruleIds
Type:
arrayList of rule identifiers expressed as 32 character uppercase hexadecimal strings without separators.
Show Source
-
Array of:
string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Rule identifier expressed as a 32 character uppercase hexadecimal string without separators.Example:938D23FA6B7241CCA41BD627E5DB60DA
Example:
[
"938D23FA6B7241CCA41BD627E5DB60DA",
"699EF3745FC545589F186D2198F3C65E"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Rule published successfully.
Root Schema : RDSRestUnifiedResponseDTO
Type:
objectUnified response entry returned when bulk operations process multiple rules.
Show Source
-
error: object
RDSRestErrorDataDTO
Standard error structure returned by Rule Designer APIs.
-
httpErrorCode: integer
(int32)
Minimum Value:
100Maximum Value:599HTTP status code representing the operation result for this rule.Example:200 -
httpErrorMessage: string
Minimum Length:
2Maximum Length:64Status text associated with the HTTP code.Example:Success -
jobId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Identifier of the asynchronous job triggered by the bulk action. Represented as a 32 character uppercase hexadecimal string without separators.Example:123E4567E89B12D3A456426655440001 -
jobStatus: string
Minimum Length:
4Maximum Length:16Allowed Values:[ "Success", "Failed", "Error", "InProgress", "Queued" ]Execution state of the job for this rule. `Success` indicates completion, `Failed` signals a validation problem, `Error` represents an unexpected exception, `InProgress` denotes active processing, and `Queued` means the job awaits execution.Example:Success -
result: object
RDSRestResponseDTO
Response from Rule Designer APIs
-
ruleId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Identifier of the rule that was processed. The value is provided as a 32 character uppercase hexadecimal string without separators.Example:8E2253D8E53A4A46BAE3E4952CBE9E5A -
ruleName: string
Minimum Length:
3Maximum Length:256Display name of the rule.Example:Out of Range Visit Date -
ruleValidationMessage: string
Minimum Length:
1Maximum Length:512Validation outcome message generated while processing the rule.Example:Rule updated successfully. -
ruleValidationStatus: boolean
Allowed Values:
[ true, false ]`true` indicates that validation succeeded for the rule, while `false` captures warnings or errors.Example:true
Nested Schema : RDSRestErrorDataDTO
Type:
objectStandard error structure returned by Rule Designer APIs.
Show Source
-
details: object
details
Read Only:
trueOptional diagnostic information when available. -
errorCode: string
Read Only:
trueMinimum Length:3Maximum Length:64Application specific error identifier.Example:RuleSvc-030 -
errorMessage: string
Read Only:
trueMinimum Length:10Maximum Length:512Human-readable summary explaining the error.Example:Error encountered during rule execution. Contact your system administrator. -
result: string
Read Only:
trueMinimum Length:4Maximum Length:4Successful payload content when available; remains null for error responses.Example:null -
status: string
Read Only:
trueMinimum Length:6Maximum Length:6Allowed Values:[ "failed" ]Overall outcome indicator. `failed` means the request could not be fulfilled.Example:failed
Example:
{
"status":"failed",
"result":null,
"errorCode":"RuleSvc-030",
"errorMessage":"Error encountered during rule execution.",
"details":null
}Nested Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueMaximum Number of Properties:2000Result payload when the request succeeds. Structure depends on the endpoint. -
status: string
Read Only:
trueMinimum Length:6Maximum Length:7Allowed Values:[ "success", "failed" ]Overall outcome for the call. Allowed values: success, failed.Example:success
Example:
{
"status":"success",
"result":{
"message":"Rule updated successfully."
}
}Nested Schema : details
Type:
objectRead Only:
trueOptional diagnostic information when available.
Example:
Validation failed for ruleId 8E2253D8E53A4A46BAE3E4952CBE9E5A.Nested Schema : result
Type:
objectRead Only:
trueMaximum Number of Properties:
2000Result payload when the request succeeds. Structure depends on the endpoint.
Example:
{
"rules":[
]
}Examples
400 Response
Returned when the request payload is missing required fields, supplies invalid identifiers, or otherwise fails validation.
Root Schema : RDSRestUnifiedResponseDTO
Type:
objectUnified response entry returned when bulk operations process multiple rules.
Show Source
-
error: object
RDSRestErrorDataDTO
Standard error structure returned by Rule Designer APIs.
-
httpErrorCode: integer
(int32)
Minimum Value:
100Maximum Value:599HTTP status code representing the operation result for this rule.Example:200 -
httpErrorMessage: string
Minimum Length:
2Maximum Length:64Status text associated with the HTTP code.Example:Success -
jobId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Identifier of the asynchronous job triggered by the bulk action. Represented as a 32 character uppercase hexadecimal string without separators.Example:123E4567E89B12D3A456426655440001 -
jobStatus: string
Minimum Length:
4Maximum Length:16Allowed Values:[ "Success", "Failed", "Error", "InProgress", "Queued" ]Execution state of the job for this rule. `Success` indicates completion, `Failed` signals a validation problem, `Error` represents an unexpected exception, `InProgress` denotes active processing, and `Queued` means the job awaits execution.Example:Success -
result: object
RDSRestResponseDTO
Response from Rule Designer APIs
-
ruleId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Identifier of the rule that was processed. The value is provided as a 32 character uppercase hexadecimal string without separators.Example:8E2253D8E53A4A46BAE3E4952CBE9E5A -
ruleName: string
Minimum Length:
3Maximum Length:256Display name of the rule.Example:Out of Range Visit Date -
ruleValidationMessage: string
Minimum Length:
1Maximum Length:512Validation outcome message generated while processing the rule.Example:Rule updated successfully. -
ruleValidationStatus: boolean
Allowed Values:
[ true, false ]`true` indicates that validation succeeded for the rule, while `false` captures warnings or errors.Example:true
Nested Schema : RDSRestErrorDataDTO
Type:
objectStandard error structure returned by Rule Designer APIs.
Show Source
-
details: object
details
Read Only:
trueOptional diagnostic information when available. -
errorCode: string
Read Only:
trueMinimum Length:3Maximum Length:64Application specific error identifier.Example:RuleSvc-030 -
errorMessage: string
Read Only:
trueMinimum Length:10Maximum Length:512Human-readable summary explaining the error.Example:Error encountered during rule execution. Contact your system administrator. -
result: string
Read Only:
trueMinimum Length:4Maximum Length:4Successful payload content when available; remains null for error responses.Example:null -
status: string
Read Only:
trueMinimum Length:6Maximum Length:6Allowed Values:[ "failed" ]Overall outcome indicator. `failed` means the request could not be fulfilled.Example:failed
Example:
{
"status":"failed",
"result":null,
"errorCode":"RuleSvc-030",
"errorMessage":"Error encountered during rule execution.",
"details":null
}Nested Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueMaximum Number of Properties:2000Result payload when the request succeeds. Structure depends on the endpoint. -
status: string
Read Only:
trueMinimum Length:6Maximum Length:7Allowed Values:[ "success", "failed" ]Overall outcome for the call. Allowed values: success, failed.Example:success
Example:
{
"status":"success",
"result":{
"message":"Rule updated successfully."
}
}Nested Schema : details
Type:
objectRead Only:
trueOptional diagnostic information when available.
Example:
Validation failed for ruleId 8E2253D8E53A4A46BAE3E4952CBE9E5A.Nested Schema : result
Type:
objectRead Only:
trueMaximum Number of Properties:
2000Result payload when the request succeeds. Structure depends on the endpoint.
Example:
{
"rules":[
]
}Examples
500 Response
Returned when the service encounters an unexpected server-side error while processing the request.
Root Schema : RDSRestUnifiedResponseDTO
Type:
objectUnified response entry returned when bulk operations process multiple rules.
Show Source
-
error: object
RDSRestErrorDataDTO
Standard error structure returned by Rule Designer APIs.
-
httpErrorCode: integer
(int32)
Minimum Value:
100Maximum Value:599HTTP status code representing the operation result for this rule.Example:200 -
httpErrorMessage: string
Minimum Length:
2Maximum Length:64Status text associated with the HTTP code.Example:Success -
jobId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Identifier of the asynchronous job triggered by the bulk action. Represented as a 32 character uppercase hexadecimal string without separators.Example:123E4567E89B12D3A456426655440001 -
jobStatus: string
Minimum Length:
4Maximum Length:16Allowed Values:[ "Success", "Failed", "Error", "InProgress", "Queued" ]Execution state of the job for this rule. `Success` indicates completion, `Failed` signals a validation problem, `Error` represents an unexpected exception, `InProgress` denotes active processing, and `Queued` means the job awaits execution.Example:Success -
result: object
RDSRestResponseDTO
Response from Rule Designer APIs
-
ruleId: string
Minimum Length:
32Maximum Length:32Pattern:^[0-9A-F]{32}$Identifier of the rule that was processed. The value is provided as a 32 character uppercase hexadecimal string without separators.Example:8E2253D8E53A4A46BAE3E4952CBE9E5A -
ruleName: string
Minimum Length:
3Maximum Length:256Display name of the rule.Example:Out of Range Visit Date -
ruleValidationMessage: string
Minimum Length:
1Maximum Length:512Validation outcome message generated while processing the rule.Example:Rule updated successfully. -
ruleValidationStatus: boolean
Allowed Values:
[ true, false ]`true` indicates that validation succeeded for the rule, while `false` captures warnings or errors.Example:true
Nested Schema : RDSRestErrorDataDTO
Type:
objectStandard error structure returned by Rule Designer APIs.
Show Source
-
details: object
details
Read Only:
trueOptional diagnostic information when available. -
errorCode: string
Read Only:
trueMinimum Length:3Maximum Length:64Application specific error identifier.Example:RuleSvc-030 -
errorMessage: string
Read Only:
trueMinimum Length:10Maximum Length:512Human-readable summary explaining the error.Example:Error encountered during rule execution. Contact your system administrator. -
result: string
Read Only:
trueMinimum Length:4Maximum Length:4Successful payload content when available; remains null for error responses.Example:null -
status: string
Read Only:
trueMinimum Length:6Maximum Length:6Allowed Values:[ "failed" ]Overall outcome indicator. `failed` means the request could not be fulfilled.Example:failed
Example:
{
"status":"failed",
"result":null,
"errorCode":"RuleSvc-030",
"errorMessage":"Error encountered during rule execution.",
"details":null
}Nested Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueMaximum Number of Properties:2000Result payload when the request succeeds. Structure depends on the endpoint. -
status: string
Read Only:
trueMinimum Length:6Maximum Length:7Allowed Values:[ "success", "failed" ]Overall outcome for the call. Allowed values: success, failed.Example:success
Example:
{
"status":"success",
"result":{
"message":"Rule updated successfully."
}
}Nested Schema : details
Type:
objectRead Only:
trueOptional diagnostic information when available.
Example:
Validation failed for ruleId 8E2253D8E53A4A46BAE3E4952CBE9E5A.Nested Schema : result
Type:
objectRead Only:
trueMaximum Number of Properties:
2000Result payload when the request succeeds. Structure depends on the endpoint.
Example:
{
"rules":[
]
}Examples