V1
post
/ec-dc-svc/rest/v1/studies/{studyId}/{mode}/subjects/sdvselected
Retrieves the list of subjects selected for SDV for the specified study and mode, filtered by site(s) and optional date range. Accepts a body with site IDs and start/end dates, validates the date window, and returns subject-level SDV selection entries.
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:
ABCDEF1234567890ABCDEF1234567890
Supported Media Types
- application/json
Root Schema : schema
Type:
objectSDV subject selection request, providing list of site UUIDs and date range for SDV operation.
Show Source
-
endDate: string
End date for SDV selection in dd-MMM-yyyy patternExample:
31-JAN-2023 -
sites: array
sites
List of participating Site identifiers (UUID, 32-character uppercase hexadecimal strings).
-
startDate: string
Start date for SDV selection in dd-MMM-yyyy pattern.Example:
01-JAN-2023
Nested Schema : sites
Type:
arrayList of participating Site identifiers (UUID, 32-character uppercase hexadecimal strings).
Show Source
-
Array of:
string(uuid)
List of participating Site identifiers (UUID, 32-character uppercase hexadecimal strings).
Example:
[
"AA11BB22CC33DD44EE55FF6677889900",
"1234567890ABCDEF1234567890ABCDEF"
]Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : SubjectSDVDto2
Type:
objectSubject SDV details (version 2) with visit window timestamps.
Show Source
-
id: string
Unique identifier for the SDV subject (UUID, 32-character uppercase hexadecimal string)Example:
22223333444455556666777788889999 -
sdvSelectionStatus: string
Source data verification selection status for the subject it can be NOT_SELECTED, INITIALCOUNT_SELECTED, POST_INITIALCOUNT_SELECTED.Example:
NOT_SELECTED -
siteId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
FEDCBA1234567890FEDCBA1234567890 -
studyId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.Example:
ABCDEF1234567890ABCDEF1234567890 -
subjectNumber(required): string
Minimum Length:
0Maximum Length:500Unique subject Number representing the patient/participant enrolled in the study.Example:SUBJ-0204 -
versionEnd: string
(date-time)
The timestamp when the versioned SDV record ended.Example:
2025-08-31T18:00:00Z -
versionStart: string
(date-time)
The timestamp when the versioned SDV record began.Example:
2025-08-01T09:00:00Z
Examples
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: 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