V3.0
get
/ec-designer-ors-svc/rest/v3.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 unique identifier.Example:
CF1E6500073D4AD298F4DA93DA670786
Query Parameters
-
mode(required): string
Minimum Length:
4Maximum Length:8Required. Study version mode filter. Allowed values: test = testing study versions, training = training study versions, active = active study versions.Allowed Values:[ "test", "training", "active" ]Example:active -
type(required): string
Minimum Length:
3Maximum Length:12Required. Randomization factor type filter. Allowed values: stratum = strata factors, cohort = cohort factors, minimization = minimization factors, all = every supported factor type.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 RandomizationFactorsItemV3
Randomization factor details returned by the v3 get randomization factors endpoint.
Nested Schema : RandomizationFactorsItemV3
Type:
objectRandomization factor details returned by the v3 get randomization factors endpoint.
Show Source
-
details: object
RandomizationDetailsV3Doc
Randomization design details returned with v3 randomization factors.
-
groups: array
groups
Minimum Number of Items:
0Form item groups returned for the selected randomization factor type.
Nested Schema : RandomizationDetailsV3Doc
Type:
objectRandomization design details returned with v3 randomization factors.
Show Source
-
algorithm: string
Minimum Length:
4Maximum Length:31Allowed Values:[ "None", "Central", "CentralStratified", "SiteBlockedFixed", "SiteBlockedFixedStratified", "SiteBlockedDynamic", "SiteBlockedDynamicStratified", "CountryBlockedFixed", "CountryBlockedFixedStratified", "CountryBlockedDynamic", "CountryBlockedDynamicStratified", "RegionBlockedFixed", "RegionBlockedFixedStratified", "RegionBlockedDynamic", "RegionBlockedDynamicStratified", "Minimization" ]Randomization algorithm. Allowed values: None = no randomization algorithm configured, Central = centrally managed randomization without stratification, CentralStratified = central stratified randomization, SiteBlockedFixed = site-blocked fixed randomization, SiteBlockedFixedStratified = site-blocked fixed stratified randomization, SiteBlockedDynamic = site-blocked dynamic randomization, SiteBlockedDynamicStratified = site-blocked dynamic stratified randomization, CountryBlockedFixed = country-blocked fixed randomization, CountryBlockedFixedStratified = country-blocked fixed stratified randomization, CountryBlockedDynamic = country-blocked dynamic randomization, CountryBlockedDynamicStratified = country-blocked dynamic stratified randomization, RegionBlockedFixed = region-blocked fixed randomization, RegionBlockedFixedStratified = region-blocked fixed stratified randomization, RegionBlockedDynamic = region-blocked dynamic randomization, RegionBlockedDynamicStratified = region-blocked dynamic stratified randomization, Minimization = minimization algorithm.Example:Central -
cohortType: string
Minimum Length:
7Maximum Length:10Allowed Values:[ "NoCohort", "Adaptive", "Demography", "invalid" ]Cohort behavior for the randomization design. Allowed values: NoCohort = no cohorting is applied, Adaptive = adaptive cohorts are used, Demography = demographic cohorts are used, invalid = unrecognized persisted value.Example:NoCohort -
description: string
Minimum Length:
1Maximum Length:4000Randomization design description.Example:Method to assign study participants to a treatment group. -
randomizationType: string
Minimum Length:
7Maximum Length:10Allowed Values:[ "Blinded", "Unblinded", "invalid" ]Randomization blinding type. Allowed values: Blinded = subject assignments remain blinded, Unblinded = subject assignments are visible, invalid = unrecognized persisted value.Example:Blinded -
reRandomization: boolean
Indicates whether re-randomization is enabled.Example:
true -
title: string
Minimum Length:
1Maximum Length:64Randomization design title.Example:Rand 001 -
treatmentArms: string
Minimum Length:
4Maximum Length:10Allowed Values:[ "Randomized", "Mapped", "None", "invalid" ]Treatment arm assignment mode. Allowed values: Randomized = arms are assigned by the randomization algorithm, Mapped = arms are mapped explicitly, None = no treatment arms are configured, invalid = unrecognized persisted value.Example:Randomized
Nested Schema : groups
Type:
arrayMinimum Number of Items:
0Form item groups returned for the selected randomization factor type.
Show Source
-
Array of:
object RandomizationFactorGroupV3Doc
Form item group details returned for a randomization factor.
Example:
[
{
"id":"B1B8327AFAA6412287106192AB5984EF",
"formTitle":"Demography",
"questionTitle":"Age",
"groupName":"Group Name 1",
"groupId":"A1B8327AFAA6412287106192AB5984EF",
"formCategory":"DCS",
"formSubcategory":"Baseline",
"instructionalText":"Select participant age range",
"parentCohortId":"C1B8327AFAA6412287106192AB5984EF",
"parentCohortName":"Adult Cohort"
}
]Nested Schema : RandomizationFactorGroupV3Doc
Type:
objectForm item group details returned for a randomization factor.
Show Source
-
formCategory: string
Minimum Length:
3Maximum Length:3Form category for the factor.Example:DCS -
formSubcategory: string
Minimum Length:
1Maximum Length:255Form subcategory for the factor when present.Example:Baseline -
formTitle: string
Minimum Length:
1Maximum Length:64Form title containing the factor.Example:Demography -
groupId: string
(uuid)
Minimum Length:
32Maximum Length:32Stratum or cohort group unique identifier. -
groupName: string
Minimum Length:
1Maximum Length:64Stratum or cohort group name.Example:Group Name 1 -
id: string
(uuid)
Minimum Length:
32Maximum Length:32Question or factor unique identifier. -
instructionalText: string
Minimum Length:
1Maximum Length:4000Instructional text configured for the factor question.Example:Select participant age range -
parentCohortId: string
(uuid)
Minimum Length:
32Maximum Length:32Parent cohort unique identifier when the factor belongs to a cohort. -
parentCohortName: string
Minimum Length:
1Maximum Length:64Parent cohort name when the factor belongs to a cohort.Example:Adult Cohort -
questionTitle: string
Minimum Length:
1Maximum Length:64Question title displayed to study designers.Example:Age
Examples
500 Response
Returned when the service cannot load randomization factors for the supplied study, mode, and factor type because of an unexpected server-side failure.
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"
}Examples