Check if scope type (ITEM/VSD) item is eligible for clearing its data
post
/ec-dataaction-svc/rest/v2.0/studies/{studyId}/{mode}/cleardatacheck/{scope}
Checks if the scope type (ITEM/VSD) item is eligible for clearing its data or not, if eligible returns the item data element object data.
Request
Path Parameters
-
scope(required): string
scope type
Supported Media Types
- */*
Root Schema : schema
Type:
Show Source
object-
eventId(required): string
(uuid)
-
eventInstanceNum: integer
-
formId: string
(uuid)
-
formSectionId: string
(uuid)
-
itemId: string
(uuid)
-
repeatSectionFormNumber: integer
-
repeatSequenceNumber: integer
-
scope: string
-
studyVersion(required): string
-
subjectId(required): string
(uuid)
-
value: array
value
Minimum Number of Items:
0Maximum Number of Items:4000
Nested Schema : value
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
Show Source
4000Response
Supported Media Types
- application/json
200 Response
Success
400 Response
Bad_Request
Root Schema : RestResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
object