[Deprecated]: Get data elements for a visit and form combination
get
/ec-dc-svc/rest/v6.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.
-
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, returns the current data. Else, it returns the data just before the visit is complete.
-
eventId(required): string
Event ID.
-
eventInstanceNum(required): integer
eventInstanceNumber
-
startDate(required): string(date-time)
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.
Root Schema : DcsResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : result
Type:
object
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.