Clear data elements scope by study ID and mode

put

/ec-dc-svc/rest/v3.0/studies/{studyId}/{mode}/dataelements/clear/{scope}

Clears the given scope of data elements for a visit. Scope can be:
  • VSD, to clear visit start date.
  • ITEM, to clear a specific item.

This call returns refreshVisit as true when it is a last item to clear for the given visit.

Request

Path Parameters
Query Parameters
  • If the call from Digital Gateway / Digital Gateway Builder isDgCall will true and Cleardynamics won't be supported.
Supported Media Types
Request Body - */* ()
Root Schema : schema
Type: object
Show Source
Nested Schema : visits
Type: array
Show Source
Nested Schema : CoreClearVisitRequestDto
Type: object
Show Source
Nested Schema : forms
Type: array
Show Source
Nested Schema : CoreClearFormsRequestDto
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : DataElementDto
Type: object
Show Source

400 Response

Bad request.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top