v1.0
put
/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/validateCopiedRules
Validates copied rules during the initial draft-to-testing tile move. The optional request body accepts study title labels used in notification content: one title for the target study or two titles in order [sourceStudyTitle, targetStudyTitle].
Request
Path Parameters
-
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
-
studyVersion: string
Optional study version value. Provide the semantic version string that uniquely identifies the study draft.Example:
3.2.0.18
Supported Media Types
- application/json
Examples
Back to Top
Response
Supported Media Types
- application/json
202 Response
Validation request accepted and processing started asynchronously.
Root 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 : 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 : 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 : details
Type:
objectRead Only:
trueOptional diagnostic information when available.
Example:
Validation failed for ruleId 8E2253D8E53A4A46BAE3E4952CBE9E5A.Examples