v1.0
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/visitstatus/subjects/dateRange
Supported filter points:
- Site-level retrieval: supply
siteId. This API is site-scoped. - Date-range retrieval: supply
startDateandendDate. - Only active visit status records are returned.
The inclusive date range is applied to versionStart; records are eligible when versionStart >= startDate and versionStart <= endDate. The response is ordered by versionStart in ascending order.
Cursor pagination: omit pageToken on the first request. Invoke the next-page request only when hasMore is true. To retrieve the complete data set, pass the previous response nextPageToken as the next request pageToken exactly as received. Consumers must not modify nextPageToken. In the corner case where the response contains records equal to the requested limit, hasMore may still be true and nextPageToken may be returned even when no additional records are available.
First request example: /v1.0/studies/ABCDEF1234567890ABCDEF1234567890/active/visitstatus/subjects/dateRange?siteId=ABCDEF1234567890ABCDEF1234567890&startDate=01-Jun-2026%2009:15:30.123&endDate=01-Jun-2026%2010:15:30.456&limit=25
Next-page request example: /v1.0/studies/ABCDEF1234567890ABCDEF1234567890/active/visitstatus/subjects/dateRange?siteId=ABCDEF1234567890ABCDEF1234567890&startDate=01-Jun-2026%2009:15:30.123&endDate=01-Jun-2026%2010:15:30.456&pageToken=MTc1MDc2ODgwMDAwMDoxQkMyOUIzNkY1RDY0QjFCOTVGNEJEQkJDRUE0ODFCRQ&limit=25
Request
-
mode(required): string
Indicates the operational mode of the study. Accepted values: active, test, or training.Example:
active -
studyId(required): string
Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
ABCDEF1234567890ABCDEF1234567890
-
endDate(required): string(date-time)
Inclusive date-range end in dd-MMM-yyyy HH:mm:ss.SSS format. Inclusive means records with versionStart on or before this value are eligible. The end date must be later than the start date.Example:
01-Jun-2026 10:15:30.456 -
limit(required): integer(int32)
Minimum Value:
1Maximum Value:10000Required. Maximum number of records to return. Accepted values are positive integers from 1 through 10000; negative values are not accepted. The value is an upper bound; fewer records may be returned when no additional matching records exist.Example:25 -
pageToken: string
Opaque cursor token returned as nextPageToken from the previous page. Do not parse or modify this value. Omit it on the first request.Example:
MTc1MDc2ODgwMDAwMDoxQkMyOUIzNkY1RDY0QjFCOTVGNEJEQkJDRUE0ODFCRQ -
siteId(required): string
Unique identifier of the site. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
ABCDEF1234567890ABCDEF1234567890 -
startDate(required): string(date-time)
Inclusive date-range start in dd-MMM-yyyy HH:mm:ss.SSS format. Inclusive means records with versionStart on or after this value are eligible.Example:
01-Jun-2026 09:15:30.123
There's no request body for this operation.
Back to TopResponse
- application/json
200 Response
object-
errorData: object
errorData
-
result: object
VisitStatusDateRangeCursor
Cursor metadata and visit status records grouped by subject.
-
status: string
Example:
success
objectoracle.doceng.json.BetterJsonNull@6f030247object-
hasMore: boolean
Example:
true -
limit: integer
(int32)
Example:
25 -
nextPageToken: string
Example:
MTc1MDc2ODgwMDAwMDoxQkMyOUIzNkY1RDY0QjFCOTVGNEJEQkJDRUE0ODFCRQ -
resultData: array
resultData
array-
Array of:
object VisitStatusDateRangeSubjectDto1
Subject-level visit status date-range response record with visit status and schedule details.
object-
canBeCompleted: boolean
Indicates whether the subject can be completed.Example:
false -
crntStateStudyVrsn: string
Current state study version for the subject.Example:
3.0.0.1 -
freezedStatus: string
Subject-level freeze status aggregated across visits.Example:
NEVER_FROZEN -
lastSigned: string
Timestamp of the last sign action for the subject.
-
lockedInStudyVersion: string
Study version in which the subject is locked, if applicable.Example:
null -
lockedStatus: string
Subject-level locked status.Example:
NEVER_LOCKED -
scheduledVisits: array
scheduledVisits
List of scheduled visits with scheduling windows.
-
signedStatus: string
Subject-level signed status aggregated across visits.Example:
NEVER_SIGNED -
subjectId: string
Unique subject identifier representing the participant enrolled in the study.Example:
10F75668189F422F9A461A315D211111 -
verifiedStatus: string
Subject-level verified status aggregated across visits.Example:
NEVER_VERIFIED -
visits: array
visits
List of visit status records for the subject.
array-
Array of:
object ScheduledVisitsDto
Base scheduled visit details including scheduling windows and identifiers
array-
Array of:
object VisitStatusDateRangeVisitDto1
Visit status audit record returned inside a subject-level date-range response.
object-
cycleCount: number
(int32)
Cycle count for the visitExample:
1 -
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) of the clinical event. A clinical event can be, for example: Screening, Randomization, Visit 1, etc. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
eventInstanceNum: number
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits (e.g., 1, 2, 3). 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
object-
associatedStudyVersion: string
Study version with which the visit status is associated.Example:
3.0.0.1 -
comment: string
Additional comment for the visit status.Example:
All data captured -
eventId: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) of the clinical event. A clinical event can be, for example: Screening, Randomization, Visit 1, etc. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
ADF5A7800A954FA5B831E7B6B9CA39A9 -
eventInstanceNum: integer
(int32)
Numeric value representing the instance number of the event. Used for repeated or unscheduled visits (e.g., 1, 2, 3). 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_Complete -
freezedStatus: string
Frozen status of the record can have values NOT_APPLICABLE, FROZEN, UNFREEZE.Example:
NEVER_FROZEN -
id: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the recordExample:
1BC29B36F5D64B1B95F4BDBBCEA481BE -
lockedDateTime: string
(date-time)
Timestamp when the visit was locked.
-
lockedStatus: string
Locked status of the visit. Can have values LOCKED, UNLOCKED or NEVER_LOCKED.Example:
NEVER_LOCKED -
objectVersionNumber: number
Audit trail field that represents the version number of the data.Example:
14 -
operationType: string
Operation type applied on the visit status.Example:
UPDATED -
reason: string
Reason associated with the visit status.Example:
Visit completed -
repeatingFormCount: number
Number of repeating form instances for the visit.Example:
2 -
scheduledWindowEndDate: string
(date-time)
Scheduled window end date for the visit.Example:
2026-06-24T23:59:59.999Z -
scheduledWindowStartDate: string
(date-time)
Scheduled window start date for the visit.Example:
2026-06-24T00:00:00Z -
signedStatus: string
Signed status for workflow, the acceptable values are: NEVER_SIGNED, SIGNED, UNSIGNED, NEVER_SIGNED.Example:
NEVER_SIGNED -
siteId: string
Unique identifier of the site. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
ABCDEF1234567890ABCDEF1234567890 -
softwareVersionNumber: number
Software version numberExample:
14 -
studyVersion: string
String representing the version of the study. Helps track changes in form or study design.Example:
3.0.0.1 -
subjectId: string
Unique identifier of the subject. Used to represent a participant enrolled in a study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
10F75668189F422F9A461A315D211111 -
userId: string
Unique user identifier representing the clinicalone user who modified or interacted with the subject record. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
9F8E7D6C5B4A3A2B1C0D9E8F7A6B5C4D -
verifiedStatus: string
Verified status for review workflow,the acceptable values are: NEVER_VEIFIED, VERIFIED, UNVERIFIED, NOT_APPLICABLE.Example:
NEVER_VERIFIED -
versionEnd: string
(date-time)
End timestamp of the visit status version record.Example:
3099-12-31T00:00:00Z -
versionStart: string
(date-time)
The timestamp marking the beginning of the validity period for this record version within the system.Example:
2026-06-24T10:00:00Z -
visitAction: string
Action taken on the visit start date value. Acceptable values are SCREEN_ENABLE ,SCREEN_DISABLE ,RANDOMIZE_ENABLE ,RANDOMIZE_DISABLE, DISPENSE_ENABLE, DISPENSE_DISABLE, COMPLETE_STUDY_ENABLE, COMPLETE_STUDY_DISABLE.Example:
SCREEN_ENABLE -
visitStartDate: string
(date-time)
Visit start date.Example:
2026-06-24T09:00:00Z -
visitStartDateLockedDateTime: string
(date-time)
Timestamp when the visit start date was locked.
-
visitStartDateLockedStatus: string
Locked status for the visit start date. Can have values LOCKED, UNLOCKED or NEVER_LOCKED.Example:
NEVER_LOCKED -
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:
SCHEDULED
400 Response
object-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
objectErrorResponseData-
details: object
Object
Title:
ObjectObject 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
objectobjectObject{
"field":"studyId",
"reason":"Invalid value"
}401 Response
object-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
objectErrorResponseData-
details: object
Object
Title:
ObjectObject 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
objectobjectObject{
"field":"studyId",
"reason":"Invalid value"
}403 Response
object-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
objectErrorResponseData-
details: object
Object
Title:
ObjectObject 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
objectobjectObject{
"field":"studyId",
"reason":"Invalid value"
}404 Response
object-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
objectErrorResponseData-
details: object
Object
Title:
ObjectObject 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
objectobjectObject{
"field":"studyId",
"reason":"Invalid value"
}500 Response
object-
errorData: object
ErrorResponseData
Title:
ErrorResponseDataError Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
objectErrorResponseData-
details: object
Object
Title:
ObjectObject 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
objectobjectObject{
"field":"studyId",
"reason":"Invalid value"
}