Get list of visits status for subjects
post
/ec-dataintegration-svc/rest/v2.0/studies/{studyId}/{mode}/visitstatus/subjects
Retrieves a list of visits status for subjects, as well as the study version associated with each visit status. This API request also lists unscheduled event details.Now supports query param cycleCountToDate for filtering by scheduled date for cycles
Request
Path Parameters
-
studyId(required): string
ID of the study for which you want to get the list of subjects.
Query Parameters
-
cycleCountToDate: string(date-time)
-
nextVisitOnly: boolean
-
notStarted: boolean
-
signVerifyStatus(required): string
Status of Sign / Verify.Default Value:
ALL -
siteId: string
-
siteStudyVersion: string
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : scheduledVisits
Type:
Show Source
array-
Array of:
object ScheduledVisitsDto
Base scheduled visit details including scheduling windows and identifiers
Nested Schema : visits
Type:
Show Source
array-
Array of:
object VisitsStatusDto12
Visit status details including lock status and lock timestamps
Nested Schema : ScheduledVisitsDto
Type:
objectBase scheduled visit details including scheduling windows and identifiers
Show Source
-
cycleCount: number
(int32)
Cycle count for the visitExample:
1 -
eventId: string
Identifier of the visit eventExample:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
eventInstanceNum: number
(int32)
Unscheduled/cycle visit instance number when applicableExample:
1 -
scheduledDate: string
(date-time)
Scheduled date for the visitExample:
2025-10-12T14:30:31.892Z -
scheduledWindowEndDate: string
(date-time)
Window end date for scheduling the visitExample:
2025-10-20T14:30:31.892Z -
scheduledWindowStartDate: string
(date-time)
Window start date for scheduling the visitExample:
2025-10-10T14:30:31.892Z -
title: string
Display title for the visitExample:
Baseline
Nested Schema : VisitsStatusDto12
Type:
objectVisit status details including lock status and lock timestamps
Show Source
-
associatedStudyVersion: string
Study version with which the visit status is associatedExample:
3.0.0.1 -
comment: string
Minimum Length:
0Maximum Length:2048Additional comment for the visit statusExample:All data verified -
eventId: string
Event identifier in uppercase hex formatExample:
ABCDEF1234567890ABCDEF1234567890 -
eventInstanceNum: integer
(int32)
Unscheduled/cycle visit instance number when applicable.Example:
1 -
eventType: string
Event type corresponding to the visitExample:
Visit_Not_Started -
freezedStatus: string
Freeze status of the visitExample:
FROZEN -
id: string
(uuid)
Unique identifier of the visit status record
-
lockedDateTime: string
(date-time)
Timestamp when the visit was lockedExample:
2025-10-16T14:30:31.892Z -
lockedStatus: string
Locked status of the visitExample:
UNLOCKED -
objectVersionNumber: number
Object version number used for concurrency controlExample:
14 -
operationType: string
-
reason: string
Minimum Length:
0Maximum Length:255Reason associated with the visit statusExample:Subject completed the visit successfully -
repeatingFormCount: number
Number of repeating form instances for the visitExample:
2 -
scheduledWindowEndDate: string
(date-time)
Scheduled window end date for the visitExample:
2025-10-16T14:30:31.892Z -
scheduledWindowStartDate: string
(date-time)
Scheduled window start date for the visitExample:
2025-10-16T14:30:31.892Z -
signedStatus: string
Signed status of the visitExample:
SIGNED -
siteId: string
Site identifier in uppercase hex formatExample:
ABCDEF1234567890ABCDEF1234567890 -
softwareVersionNumber: number
-
studyVersion(required): string
Minimum Length:
0Maximum Length:100Study version string under which the visit is recordedExample:3.0.0.1 -
subjectId: string
Subject identifier in uppercase hex formatExample:
ABCDEF1234567890ABCDEF1234567890 -
userId: string
(uuid)
-
verifiedStatus: string
Verified status of the visitExample:
VERIFIED -
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Start timestamp of the version recordExample:
2025-10-16T14:30:31.892Z -
visitAction: string
Action to be taken for the visitExample:
SCREEN_DISABLE -
visitStartDate: string
(date-time)
Visit start date timestampExample:
2025-10-16T14:30:31.892Z -
visitStartDateLockedDateTime: string
(date-time)
Timestamp when the visit start date was lockedExample:
2025-10-16T14:30:31.892Z -
visitStartDateLockedStatus: string
Locked status for the visit start dateExample:
UNLOCKED -
visitStatus: string
Status of the visit as per VisitsStatusEnumExample:
COMPLETED -
visitType: string
Type of visit as per the visit type enumerationExample:
Screening Visit
400 Response
Bad request.
Root Schema : RestResponse
Type:
Show Source
object-
errorData: object
ErrorResponseData
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
-
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type:
object