Get screened and randomized subjects for resupply grouped by site
get
/ec-dataintegration-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/forResupply
Retrieves all screened and randomized subjects for resupply grouped by site.
Request
Path Parameters
-
mode(required): string
Mode of the study. Accepts test, active, or training.Example:
active -
studyId(required): string(uuid)
ID of the study to which the subject belongs.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE
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)
Sites for which you want to retrieve subjects.Example:
A1B2C3D4E5F60718ABCDEF12AB34CD56
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Subjects success.
Root 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 IDs that are randomized at the site
-
screenedSubjects: array
screenedSubjects
Subject IDs that are screened at the site
-
siteId: string
Identifier for the siteExample:
40DB4EF4847849CCB24EFCCB71CDA436
Nested Schema : randomizedSubjects
Type:
arraySubject IDs that are randomized at the site
Show Source
-
Array of:
string(uuid)
Subject IDs that are randomized at the site
Example:
[
"3C1D5E7F9A0B2C4D6E8F0A1B2C3D4E5F",
"ABCDEF1234567890ABCDEF1234567890"
]Nested Schema : screenedSubjects
Type:
arraySubject IDs that are screened at the site
Show Source
-
Array of:
string(uuid)
Subject IDs that are screened at the site
Example:
[
"A3F1C4B2D8E947F0A1B2C3D4E5F6A7B8",
"9F8E7D6C5B4A3A2B1C0D9E8F7A6B5C4D"
]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: 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