Clear data elements for a visit
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:
This call returns refreshVisit as true when it is a last item to clear for the given visit.
- 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
-
scope(required): string
Scope of the item
Query Parameters
-
isDgCall: boolean
If the call from Digital Gateway / Digital Gateway Builder isDgCall will true and Cleardynamics won't be supported.
Supported Media Types
- */*
Root Schema : schema
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
reason: string
Minimum Length:
0
Maximum Length:255
-
subjectId: string
(uuid)
-
visits: array
visits
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : DataElementDto
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
dateTimeValueUTC: string
(date-time)
-
dayValue: integer
-
eventId: string
-
floatValue: number
-
formId: string
-
formSectionId: string
-
hourValue: integer
-
id: string
(uuid)
-
itemId: string
-
measureUnit: string
Minimum Length:
0
Maximum Length:64
-
minuteValue: integer
-
monthValue: integer
-
normalizedUnitId: string
-
normalizedValue: string
Minimum Length:
0
Maximum Length:100
-
numValue: integer
-
originatorId: string
-
reason: string
Minimum Length:
0
Maximum Length:255
-
repeatSequenceNumber: integer
-
secondValue: integer
-
siteId: string
-
studyId: string
-
studyName: string
Minimum Length:
0
Maximum Length:100
-
studyVersion(required): string
Minimum Length:
0
Maximum Length:100
-
subjectId: string
-
transactionEnd: string
(date-time)
-
transactionStart: string
(date-time)
-
userId: string
(uuid)
-
validationFailure: string
Minimum Length:
0
Maximum Length:32767
-
validationStatus: string
Minimum Length:
0
Maximum Length:25
-
value: string
Minimum Length:
0
Maximum Length:4000
-
variableId: string
-
vendorCode: string
Minimum Length:
0
Maximum Length:100
-
versionStart: string
(date-time)
-
yearValue: integer
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object