v1.0
post
/ec-dataintegration-svc/rest/v1.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.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.Example:
test -
studyId(required): string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
3F2504E04F8911D39A0C0305E82C3301
Query Parameters
-
nextVisitOnly: boolean
If true, returns only the next scheduled visit for each subjectExample:
false -
notStarted: boolean
If true, filters for subjects with visits not yet startedExample:
false -
signVerifyStatus(required): string
Status of Sign / Verify.Values can be ALL, OPENQUERIES, NOOPENQUERIES, SIGNED, FROZEN, VERIFIED, SIGNEDANDVERIFIED, READYTOSIGN, READYTOVERIFY, LOCKED, UNLOCKED or ALLVISITSCOMPLETEExample:
VERIFIED -
siteId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
0C50E26E482246B2BB9646C739E97CAA -
siteStudyVersion: string
String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:
1.0.0.3
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest payload containing a list of subject identifiers.
Show Source
-
subjects: array
subjects
List of subject identifiers in UUID, 32-character uppercase hexadecimal string
Nested Schema : subjects
Type:
arrayList of subject identifiers in UUID, 32-character uppercase hexadecimal string
Show Source
-
Array of:
string(uuid)
List of subject identifiers in UUID, 32-character uppercase hexadecimal string
Example:
[
"1BC29B36F5D64B1B95F4BDBBCEA481BE",
"2ABC8A2C11045A584ADEA8760F72B114"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : subjects
Type:
Show Source
array-
Array of:
object SubjectVisitsDto70
Subject visits and schedule along with current study version and sign/verify/freeze statuses
Nested Schema : SubjectVisitsDto70
Type:
objectSubject visits and schedule along with current study version and sign/verify/freeze statuses
Show Source
-
crntStateStudyVrsn: string
Current study version under which the subject state is recordedExample:
1.0.0.3 -
freezedStatus: string
Freeze status at the subject level, ,can have Values NOT_APPLICABLE, FROZENExample:
FROZEN -
lastSigned: string
(date-time)
Timestamp when the subject was last signedExample:
2025-10-16T14:30:31.892Z -
scheduledVisits: object
ScheduledVisitsDto
Base scheduled visit details including scheduling windows and identifiers
-
signedStatus: string
Signed status at the subject level, can have Values NOT_APPLICABLE, SIGNEDExample:
SIGNED -
subjectId: string
Subject identifier in uppercase hex formatExample:
42CE52A1AF9A48EBABA25A361F6EC0FE -
verifiedStatus: string
Verified status at the subject level, can have Values NOT_APPLICABLE, VERIFIEDExample:
VERIFIED -
visits: object
VisitsStatusDto9
Visit status details including associated study version
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
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
eventInstanceNum: number
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
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 : VisitsStatusDto9
Type:
objectVisit status details including associated study version
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
Unique identifier(UUID, 32-character uppercase hexadecimal string) representing the clinical event like Screening, Visit 1 etc.Example:
ABCDEF1234567890ABCDEF1234567890 -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits. It is null for scheduled events.Example:
1 -
eventType: string
Event type corresponding to the visit. The acceptable values are: Visit_Not_Started, Visit_Started, Visit_Complete, Visit_Skipped, Visit_Skip_Undone, Visit_Date_Changed, Visit_Inserted, Visit_Show, Visit_Hide, VisitDateEntered and VisitDateCleared.Example:
Visit_Not_Started -
freezedStatus: string
Frozen status of the record can have values NOT_APPLICABLE, FROZEN.Example:
FROZEN -
id: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the recordExample:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
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 visit.Example:
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 for workflow, the acceptable values are: NEVER_SIGNED, SIGNED, UNSIGNED, NEVER_SIGNED.Example:
SIGNED -
siteId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
ABCDEF1234567890ABCDEF1234567890 -
studyVersion(required): string
Minimum Length:
0Maximum Length:100String representing the version of the study configuration or protocol. Helps track changes in form or study design.Example:3.0.0.1 -
subjectId: string
Unique subject identifier (UUID, 32-character uppercase hexadecimal string) representing the patient/participant enrolled in the study.Example:
ABCDEF1234567890ABCDEF1234567890 -
verifiedStatus: string
Verified status for review workflow,the acceptable values are: NEVER_VEIFIED, VERIFIED, UNVERIFIED, NOT_APPLICABLE.Example:
VERIFIED -
versionStart: string
Start timestamp of the version recordExample:
2025-10-16T14:30:31.892Z -
visitStartDate: string
(date-time)
Visit start date timestampExample:
2025-10-16T14:30:31.892Z -
visitStatus: string
Status of the visit. The Value of the status can be NEW, COMPLETE, COMPLETE_ERR, INPROGRESS, INCOMPLETE, INCOMPLETE_ERR, SKIPPED, UNDO_SKIP and NOT_STARTED.Example:
COMPLETE -
visitType: string
Type of visit as per the visit type enumeration. The acceptable values are: SCREENING, RANDOMIZATION, DISPENSATION, NON_DISPENSATION, OPTIONAL, OPTIONAL_DISPENSATION, WITHDRAW, SCREENDISP, SCREENRAND, SUBJECT_COMPLETE, UNSCHEDULED, UNSCHEDULED_DISPENSATION, ADVERSE_EVENT, SCREENFAILURE, RESCREENING and RESCREENDISP.Example:
SCREENING
Examples
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: object
details
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
-
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:
objectNested Schema : details
Type:
objectDetailed 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