Get data elements for a visit and form combination
get
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/forms/{formId}/subjects/{subjectId}/dataelements
Filters and retrieves data elements for form data in an event. Thissupports the start date for Integration Hub. If a start date is provided, it returns the snaphsot of data elements just before start date. In the case when the current query parameter is set to true, this will return the latest data.
Request
Path Parameters
-
formId(required): string
Form ID from Designer.
-
studyId(required): string
-
subjectId(required): string
Subject ID.
Query Parameters
-
current(required): boolean
If set to true, it returns the current data. Else, it returns the data just before the visit is complete.
-
eventId(required): string
Visit ID from Designer.
-
eventInstanceNum(required): integer
eventInstanceNum for which you want to retrieve data values.
-
startDate(required): string(date-time)
The date for which you want to retrieve the data values.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Nested Schema : DataElementDto50
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
-
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
-
objectVersionNumber: number
-
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
-
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
-
versionStart: string
(date-time)
-
yearValue: integer
400 Response
Bad request.
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object