Get list of visits status for subjects
post
/ec-dc-svc/rest/v16.0/studies/{studyId}/{mode}/visitstatus/subjects
Retrieves a list of visit status for subjects. Includes the visit action in subject scheduled visits.
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)
In case of future visits if this is specified it would include the cycles instances till this date.This is useful in case of infinite cycle count as default it returns only the next cycle visit
-
nextVisitOnly: boolean
This is to specify to return only the next visit else this would return future visits as well
-
notStarted: boolean
If this is set then non started visits would be included in the response
-
signVerifyStatus: string
Status of Sign / Verify.Default Value:
ALL -
siteId: string
This is the site for which the subjects and there schedule needs to be computed
-
siteStudyVersion: string
This is the site study version for which the visit schedule needs to be calculated
-
view: string
This can take value as dmview and is added for Data Management subject and visit listing page
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : SubjectVisitsDto12
Type:
Show Source
object-
canBeCompleted: boolean
-
canBeReplaced: boolean
-
canBeUndoWithdrawn: boolean
-
crntStateStudyVrsn: string
-
ehrLinkStatus: number
-
freezedStatus: string
-
lastSigned: string
-
lockedInStudyVersion: string
-
lockedStatus: string
-
replaceRand: string
-
scheduledVisits: array
scheduledVisits
-
signedStatus: string
-
studyCompletionDate: string
(date-time)
-
subjectId: string
-
verifiedStatus: string
-
visits: array
visits
-
withdrawalDate: string
(date-time)
Nested Schema : scheduledVisits
Type:
Show Source
array-
Array of:
object ScheduledVisitsDto20
Scheduled visit details including scheduling windows and action to be taken
Nested Schema : ScheduledVisitsDto20
Type:
objectScheduled visit details including scheduling windows and action to be taken
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 -
visitAction: string
Action recommended for this scheduled visitExample:
SCREEN_DISABLE
Nested Schema : VisitsStatusDto14
Type:
Show Source
object-
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 -
doseHoldAction: string
-
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 -
unResolvedQueries: integer
(int32)
-
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 -
visitWindowWarning: string
400 Response
Bad request.
Root Schema : DcsResponse
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