Delete data elements in a form within a visit
delete
/ec-dc-svc/rest/v3.0/studies/{studyId}/{mode}/subject/{subjectId}/visit/{visitId}/forms/{formId}/dataelements
Deletes the data elements in a form within a given visit. This API supports tabular forms and is mainly used for both repeating forms and two-section forms. Rights: DataCaptureSubjectGet and SubjectDataClassificationGet.
Request
Path Parameters
-
formId(required): string(uuid)
ID of the form for which you want to delete data elements.
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
ID of the study for which you want to get the list of subjects.
-
subjectId(required): string(uuid)
ID of the subject for whom you want to delete data elements.
-
visitId(required): string(uuid)
ID of the Visit for which you want to delete data elements.
Query Parameters
-
eventInstanceNum: integer
Instance of the visit for which you want to delete data elements.
-
formSectionId: string(uuid)
Section ID of the repeating form inside the section form for which you want to delete data elements.
-
innerRepeatNum: integer
Inner Repeat Number of the form for which you want to delete data elements.
-
outerRepeatNum: integer
Outer Repeat Number of the form for which you want to delete data elements.
-
repeatFormNumber: integer
Form Repeat Sequence Number of a two section form for which you want to delete data elements.
-
repeatSequenceNumber: integer
Form Repeat Sequence Number of the form for which you want to delete data elements.
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
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