Create randomization stratum group

post

/ec-designer-svc/rest/v2.0/studies/{studyId}/versions/{version}/randomizations/{randomId}/strata

Creates a new stratum group associated with a randomization design.

Request

Path Parameters
Supported Media Types
Request Body - */* ()
Root Schema : StratumDto v2.0
Type: object
Title: StratumDto v2.0
Randomization Stratum Detail Information
Show Source
Nested Schema : factors
Type: array
Show Source
  • StratumFactorDto v3.0
    Title: StratumFactorDto v3.0
    Discriminator: { "propertyName":"type", "mapping":{ "choice":"#/components/schemas/StratumChoiceFactorDtoV3", "range":"#/components/schemas/StratumRangeFactorDtoV3" } }
    Randomization Stratum Factor Information
Nested Schema : StratumFactorDto v3.0
Type: object
Title: StratumFactorDto v3.0
Discriminator: type

Discriminator Values

Randomization Stratum Factor Information
Show Source
Match One Schema
Show Source
Nested Schema : StratumChoiceFactorDto v3.0
Type: object
Title: StratumChoiceFactorDto v3.0
Stratum Choice Factor Detail Information
Match All
Stratum Choice Factor Detail Information
Stratum Choice Factor Detail Information
Show Source
Nested Schema : StratumRangeFactorDto v3.0
Type: object
Title: StratumRangeFactorDto v3.0
Stratum Range Factor Detail Information
Match All
Stratum Range Factor Detail Information
Stratum Range Factor Detail Information
Show Source
Nested Schema : StratumChoiceFactorDto v3.0-allOf[1]
Type: object
Show Source
Nested Schema : codelistitemIds
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
Nested Schema : values
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
  • Minimum Length: 1
    Maximum Length: 2147483647
    Selected from choice factor's code list choice values
    Example: 1
Nested Schema : StratumRangeFactorDto v3.0-allOf[1]
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : StratumDto v2.0
Type: object
Title: StratumDto v2.0
Randomization Stratum Detail Information
Show Source
Nested Schema : factors
Type: array
Show Source
  • StratumFactorDto v3.0
    Title: StratumFactorDto v3.0
    Discriminator: { "propertyName":"type", "mapping":{ "choice":"#/components/schemas/StratumChoiceFactorDtoV3", "range":"#/components/schemas/StratumRangeFactorDtoV3" } }
    Randomization Stratum Factor Information
Nested Schema : StratumFactorDto v3.0
Type: object
Title: StratumFactorDto v3.0
Discriminator: type

Discriminator Values

Randomization Stratum Factor Information
Show Source
Match One Schema
Show Source
Nested Schema : StratumChoiceFactorDto v3.0
Type: object
Title: StratumChoiceFactorDto v3.0
Stratum Choice Factor Detail Information
Match All
Stratum Choice Factor Detail Information
Stratum Choice Factor Detail Information
Show Source
Nested Schema : StratumRangeFactorDto v3.0
Type: object
Title: StratumRangeFactorDto v3.0
Stratum Range Factor Detail Information
Match All
Stratum Range Factor Detail Information
Stratum Range Factor Detail Information
Show Source
Nested Schema : StratumChoiceFactorDto v3.0-allOf[1]
Type: object
Show Source
Nested Schema : codelistitemIds
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
Nested Schema : values
Type: array
Minimum Number of Items: 1
Maximum Number of Items: 2147483647
Show Source
  • Minimum Length: 1
    Maximum Length: 2147483647
    Selected from choice factor's code list choice values
    Example: 1
Nested Schema : StratumRangeFactorDto v3.0-allOf[1]
Type: object
Show Source

500 Response

Error
Body ()
Root Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top