V1.0
get
/ec-dc-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/forResupply
Retrieve the list of subjects per site eligible for resupply evaluation. Subjects are filtered based on visit windows, skip rules, and site selection.
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
Query Parameters
-
ignoreIfOutsideOfVisitWindowBy: integer(int32)
Integer value for the number of days a subject can be outside its next dispensation visit window after which it will not be returned in the response.Example:
2 -
ignoreSubjectsWhichSkippedVisit: boolean
Boolean value to decide whether to return a subject that skipped a dispensation visit.Default Value:
falseExample:false -
siteId: string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
40DB4EF4847849CCB24EFCCB71CDA436
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
List of resupply-eligible subjects retrieved per site.
Root Schema : schema
Type:
Show Source
array-
Array of:
object ResupplySubjectsListDto
Aggregated subjects per site for resupply evaluation based on visit windows and skip rules
Nested Schema : ResupplySubjectsListDto
Type:
objectAggregated subjects per site for resupply evaluation based on visit windows and skip rules
Show Source
-
siteResupplySubjectsList: array
siteResupplySubjectsList
Collection of per-site resupply subject lists
Nested Schema : siteResupplySubjectsList
Type:
arrayCollection of per-site resupply subject lists
Show Source
-
Array of:
object SiteResupplySubjectsListDto
Subjects per site categorized by screening and randomization status for resupply processing
Nested Schema : SiteResupplySubjectsListDto
Type:
objectSubjects per site categorized by screening and randomization status for resupply processing
Show Source
-
randomizedSubjects: array
randomizedSubjects
Subject Identifiers (UUID, 32-character uppercase hexadecimal string) that are randomized at the site
-
screenedSubjects: array
screenedSubjects
Subject Identifiers (UUID, 32-character uppercase hexadecimal string) that are screened at the site
-
siteId: string
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical site.Example:
40DB4EF4847849CCB24EFCCB71CDA436
Nested Schema : randomizedSubjects
Type:
arraySubject Identifiers (UUID, 32-character uppercase hexadecimal string) that are randomized at the site
Show Source
-
Array of:
string(uuid)
Subject Identifiers (UUID, 32-character uppercase hexadecimal string) that are randomized at the site
Example:
[
"3C1D5E7F9A0B2C4D6E8F0A1B2C3D4E5F",
"ABCDEF1234567890ABCDEF1234567890"
]Nested Schema : screenedSubjects
Type:
arraySubject Identifiers (UUID, 32-character uppercase hexadecimal string) that are screened at the site
Show Source
-
Array of:
string(uuid)
Subject Identifiers (UUID, 32-character uppercase hexadecimal string) that are screened at the site
Example:
[
"A3F1C4B2D8E947F0A1B2C3D4E5F6A7B8",
"9F8E7D6C5B4A3A2B1C0D9E8F7A6B5C4D"
]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