[Deprecated]: Get data elements for a visit and form combination
get
/ec-dc-svc/rest/v2.0/studies/{studyId}/{mode}/forms/{formId}/subjects/{subjectId}/dataelements
Deprecated: Filters and retrieves data elements for form data in an event. This supports 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.
-
mode(required): string
Mode of the study. Accepts test, active, or training.
-
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.
-
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 : DataElementDto20
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
-
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
-
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