Validate copied rules
put
/ec-rule-designer-svc/rest/v1.0/rule/studies/{studyId}/validateCopiedRules
Validates copied rules during study initial draft tile move to testing.
Request
Path Parameters
-
studyId(required): string(uuid)
Study ID.
Query Parameters
-
studyVersion: string
Study Version.
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
202 Response
Success.
Root Schema : RDSRestUnifiedResponseDTO
Type:
objectError details from Rule Designer APIs for bulk operations
Show Source
-
error: object
RDSRestErrorDataDTO
Error details from Rule Designer APIs
-
httpErrorCode: integer
(int32)
Http Error CodeExample:
400 -
httpErrorMessage: string
Http Error MessageExample:
Bad Request -
jobId: string
(uuid)
Job Id
-
jobStatus: string
Job StatusExample:
IN_PROGRESS -
result: object
RDSRestResponseDTO
Response from Rule Designer APIs
-
Rule Validation Message: string
Rule Validation MessageExample:
Rule is valid -
Rule Validation Status: boolean
Rule Validation StateExample:
true -
ruleId: string
(uuid)
Rule Id
-
ruleName: string
Rule NameExample:
My Rule
Nested Schema : RDSRestErrorDataDTO
Type:
objectError details from Rule Designer APIs
Show Source
-
details: object
details
Read Only:
trueError Details -
errorCode: string
Read Only:
trueError Code -
errorMessage: string
Read Only:
trueError Message -
result: string
Read Only:
trueResult -
status: string
Read Only:
trueStatus
Example:
{
"errorCode":"RULE_ERROR",
"errorMessage":"Rule execution failed"
}Nested Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueResult Object. Refer to example response for more details. -
status: string
Read Only:
trueAllowed Values:[ "success, failed" ]Status
Example:
{
"status":"success",
"result":"Rule executed successfully"
}Nested Schema : details
Type:
objectRead Only:
trueError Details
Nested Schema : result
Type:
objectRead Only:
trueResult Object. Refer to example response for more details.
500 Response
An internal error occurred.
Root Schema : RDSRestUnifiedResponseDTO
Type:
objectError details from Rule Designer APIs for bulk operations
Show Source
-
error: object
RDSRestErrorDataDTO
Error details from Rule Designer APIs
-
httpErrorCode: integer
(int32)
Http Error CodeExample:
400 -
httpErrorMessage: string
Http Error MessageExample:
Bad Request -
jobId: string
(uuid)
Job Id
-
jobStatus: string
Job StatusExample:
IN_PROGRESS -
result: object
RDSRestResponseDTO
Response from Rule Designer APIs
-
Rule Validation Message: string
Rule Validation MessageExample:
Rule is valid -
Rule Validation Status: boolean
Rule Validation StateExample:
true -
ruleId: string
(uuid)
Rule Id
-
ruleName: string
Rule NameExample:
My Rule
Nested Schema : RDSRestErrorDataDTO
Type:
objectError details from Rule Designer APIs
Show Source
-
details: object
details
Read Only:
trueError Details -
errorCode: string
Read Only:
trueError Code -
errorMessage: string
Read Only:
trueError Message -
result: string
Read Only:
trueResult -
status: string
Read Only:
trueStatus
Example:
{
"errorCode":"RULE_ERROR",
"errorMessage":"Rule execution failed"
}Nested Schema : RDSRestResponseDTO
Type:
objectResponse from Rule Designer APIs
Show Source
-
result: object
result
Read Only:
trueResult Object. Refer to example response for more details. -
status: string
Read Only:
trueAllowed Values:[ "success, failed" ]Status
Example:
{
"status":"success",
"result":"Rule executed successfully"
}Nested Schema : details
Type:
objectRead Only:
trueError Details
Nested Schema : result
Type:
objectRead Only:
trueResult Object. Refer to example response for more details.