V2.0
get
/ec-designer-svc/rest/v2.0/studies/{studyId}/randomizationfactors
Retrieves randomization factors for a study by study mode and factor type. Use mode to select the study version state and type to request strata, cohort, minimization, or all supported factor groups. The response returns the matching randomization factor groups and their form question details.
Request
Path Parameters
-
studyId(required): string(uuid)
Study ID (UUID, 32-character uppercase hexadecimal string). Required.Example:
2F9A6C7E1B8F4D56A23C9F3A0C7D4E11
Query Parameters
-
mode(required): string
Study mode used to filter factors. Allowed values: design (draft design data), test (testing data), training (training data), active (approved production data), all (all modes).Allowed Values:
[ "test", "training", "active" ]Example:test -
type(required): string
Rand Algorithim to filter factors.Default Value:
ALLAllowed Values:[ "stratum", "cohort", "minimization", "all" ]Example:all
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : schema
Type:
Show Source
array-
Array of:
object Randomization Factor Details v2.0
Title:
Randomization Factor Details v2.0Randomization Factors DTO
Nested Schema : Randomization Factor Details v2.0
Type:
objectTitle:
Randomization Factor Details v2.0Randomization Factors DTO
Show Source
-
details: object
RandomizationDetails v4.0
Title:
RandomizationDetails v4.0Details of the randomization design. -
groups: object
RandomizationFactorGroupDto v2.0
Title:
RandomizationFactorGroupDto v2.0RandomizationFactorGroupDto Info
Nested Schema : RandomizationDetails v4.0
Type:
objectTitle:
RandomizationDetails v4.0Details of the randomization design.
Show Source
-
algorithm(required): string
Allowed Values:
[ "NONE", "CENTRAL", "CENTRAL_STRATIFIED", "SITE_BLOCKED_FIXED", "SITE_BLOCKED_FIXED_STRATIFIED", "SITE_BLOCKED_DYNAMIC", "SITE_BLOCKED_DYNAMIC_STRATIFIED", "COUNTRY_BLOCKED_FIXED", "COUNTRY_BLOCKED_FIXED_STRATIFIED", "COUNTRY_BLOCKED_DYNAMIC", "COUNTRY_BLOCKED_DYNAMIC_STRATIFIED", "REGION_BLOCKED_FIXED", "REGION_BLOCKED_FIXED_STRATIFIED", "REGION_BLOCKED_DYNAMIC", "REGION_BLOCKED_DYNAMIC_STRATIFIED", "MINIMIZATION" ]The algorithm of the randomization designExample:Central -
cohortType(required): string
Allowed Values:
[ "NoCohort", "Adaptive", "Demography", "invalid" ]The cohort type of the randomization designExample:None -
description: string
Minimum Length:
0Maximum Length:4000Randomization Design DescriptionExample:Method to assign study participants to a treatment group. -
randomizationType(required): string
Allowed Values:
[ "Blinded", "Unblinded", "invalid" ]Type of the randomization designExample:Blinded -
reRandomization: boolean
Whether to use re-randomization on the randomization designExample:
true -
title(required): string
Minimum Length:
1Maximum Length:64Randomization TitleExample:Rand 001 -
treatmentArms: string
Allowed Values:
[ "Randomized", "Mapped", "None", "invalid" ]Whether to use randomized or mapped on the randomization designExample:Randomized
Nested Schema : RandomizationFactorGroupDto v2.0
Type:
objectTitle:
RandomizationFactorGroupDto v2.0RandomizationFactorGroupDto Info
Show Source
-
formCategory: string
Form categoryExample:
DCS -
formSubcategory: string
List of form subcategories
-
formTitle: string
formTitleExample:
Demography -
groupId: string
(uuid)
Rand Stratum Factor Id
-
groupName: string
Stratum or Cohort GroupNameExample:
Group Name 1 -
id: string
(uuid)
Stratum or Cohort Unique GUID
-
instructionalText: string
Instructional Text
-
questionTitle: string
questionTitleExample:
Age
Examples
500 Response
Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
Root Schema : ErrorResponseData
Type:
objectTitle:
ErrorResponseDataError Response Details Information
Show Source
-
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
Nested Schema : Object
Type:
objectTitle:
ObjectObject with error details information.
Example:
{
"field":"studyId",
"reason":"Invalid value"
}