Create multiple data elements for a subject
post
/ec-dc-svc/rest/v10.0/studies/{studyId}/{mode}/dataelements
Creates multiple data elements for a subject for a particular visit and particular form, with form associations if any. Rights: DataCaptureSubjectPost and SubjectDataClassificationPost.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
studyId(required): string
ID of the study for which you want to retrieve the audit history of a data element.
Supported Media Types
- application/json
Nested Schema : Context2
Type:
Show Source
object
-
eventId: string
-
eventInstanceNum: integer
-
formId: string
-
repeatFormNumber: integer
-
repeatSequenceNumber: integer
-
siteId: string
-
studyName: string
Minimum Length:
0
Maximum Length:100
-
studyVersion(required): string
Minimum Length:
0
Maximum Length:100
-
subjectId: string
Nested Schema : CoreDataElementV4
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
dataFlag: string
(uuid)
-
dayValue: integer
-
floatValue: number
-
formSectionId: string
-
hdiId: string
-
hourValue: integer
-
id: string
(uuid)
-
itemId: string
-
measureUnit: string
-
minuteValue: integer
-
monthValue: integer
-
numValue: integer
-
originatorId: string
-
propertyId: string
-
propertyVersionStart: string
(date-time)
-
reason: string
Minimum Length:
0
Maximum Length:255
-
repeatSequenceNumber: integer
-
secondValue: integer
-
transactionEnd: string
(date-time)
-
transactionStart: string
(date-time)
-
utcDateTimeValue: string
(date-time)
-
validationFailure: string
-
validationStatus: string
-
value: string
Minimum Length:
0
Maximum Length:4000
-
variableId: string
-
vendorCode: string
Minimum Length:
0
Maximum Length:100
-
yearValue: integer
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : DataElementDto11
Type:
Show Source
object
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
dataFlag: string
(uuid)
-
dateTimeValueUTC: string
(date-time)
-
dayValue: integer
-
eventId: string
-
eventInstanceNum: integer
-
floatValue: number
-
formId: string
-
formSectionId: string
-
freezedStatus: string
-
hourValue: integer
-
id: string
(uuid)
-
itemD: string
-
itemF: string
-
itemId: string
-
itemR: string
-
itemType: 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
-
objectVersionNumber: number
-
operationType: string
-
originatorId: string
-
parentId: string
-
propertyId: string
-
propertyVersionStart: string
(date-time)
-
reason: string
Minimum Length:
0
Maximum Length:255
-
repeatFormNumber: integer
-
repeatSequenceNumber: integer
-
rootId: string
-
secondValue: integer
-
signedStatus: string
-
siteId: string
-
softwareVersionNumber: number
-
studyId: string
-
studyName: string
Minimum Length:
0
Maximum Length:100
-
studyVersion(required): string
Minimum Length:
0
Maximum Length:100
-
subjectId: string
-
targets: array
targets
-
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
-
verifiedStatus: string
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
-
yearValue: integer
Nested Schema : FormsAssociationsDto2
Type:
Show Source
object
-
associatedEventId: string
-
associatedEventInstanceNum: integer
(int32)
-
associatedFormId: string
-
associatedFormSectionId: string
-
associatedRepeatFormNumber: integer
-
associatedRepeatSequenceNumber: integer
-
associatedStudyVersion: string
-
comment: string
-
id: string
(uuid)
-
objectVersionNumber: number
-
reason: string
-
siteId: string
-
srcEventId: string
-
srcEventInstanceNum: integer
(int32)
-
srcFormId: string
-
srcFormSectionId: string
-
srcItemId: string
-
srcRepeatFormNumber: integer
-
srcRepeatSequenceNumber: integer
-
srcStudyVersion: string
-
subjectId: string
-
versionStart: string
(date-time)
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object