Get a subject's events within a date range
get
/ec-dataintegration-svc/rest/v2.0/studies/{studyId}/{mode}/subjects/dateRange/{subjectId}
Retrieves the events for a specific subject within a specified date range. Used by Integration Hub to retrieve events associated with a specific subject. Rights: DataCaptureSubjectIntegrationGet and SubjectDataClassificationGet.
Request
Path Parameters
-
subjectId(required): string(uuid)
ID for the subject whose events you want to retrieve, as it appears in Clinical One.
Query Parameters
-
endDate: string(date-time)
The ending date and time (optional) for which you want to get events. If you don't specify the time, the date range stops before midnight (23:59:59 UTC) for the specified date. The accepted date and time formats are: dd-MMM-yyyy HH:mm:ss.SSS, dd-MMM-yyyy HH:mm:ss, dd-MMM-yyyy HH:mm, or dd-MMM-yyyy.
-
startDate: string(date-time)
The starting date and time (optional) for which you want to get events. If you don't specify the time, the date range begins after midnight (UTC) for the specified date. The accepted date and time formats are: dd-MMM-yyyy HH:mm:ss.SSS, dd-MMM-yyyy HH:mm:ss, dd-MMM-yyyy HH:mm, or dd-MMM-yyyy.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Subjects success.
Nested Schema : SubjectDto101
Type:
Show Source
object
-
codeBreak: string
-
comment: string
Minimum Length:
0
Maximum Length:2048
-
description: string
Minimum Length:
0
Maximum Length:500
-
dob: string
(date-time)
-
enrollmentFailure: string
Minimum Length:
0
Maximum Length:255
-
enrollmentOverride: string
Minimum Length:
0
Maximum Length:255
-
eventType: string
-
freezedStatus: string
-
fromStudyId: string
(uuid)
-
gender: string
Minimum Length:
0
Maximum Length:10
-
id: string
(uuid)
-
informedConsentDate: string
(date-time)
-
lastSigned: string
-
mhealthSubjectId: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
-
previousSubjectNumber: string
-
randomizationNumber: string
-
reason: string
Minimum Length:
0
Maximum Length:255
-
screenFailureDate: string
(date-time)
-
screeningDate: string
(date-time)
-
screeningFailure: string
Minimum Length:
0
Maximum Length:255
-
signedStatus: string
-
siteId: string
-
softwareVersionNumber: number
-
sourceTimeStamp: string
(date-time)
-
state(required): string
Minimum Length:
0
Maximum Length:100
-
stateDate: string
(date-time)
-
studyId: string
-
studyVersion(required): string
-
subjectNumber(required): string
Minimum Length:
0
Maximum Length:500
-
subjectSiteSerialNumber: string
-
subjectStudySerialNumber: string
-
subjectTransferId: string
(uuid)
-
subjNumSiteOrgId: string
-
userId: string
(uuid)
-
verifiedStatus: string
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
400 Response
Bad request.
Root Schema : RestResponse
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.