Create multiple cohort groups

post

/ec-designer-svc/rest/v1.0/studies/{studyId}/versions/{version}/randomizations/{randomId}/cohorts/bulk

Creates a list of new cohort groups associated with a randomization design.

Request

Path Parameters
Supported Media Types
Request Body - */* ()
Root Schema : schema
Type: array
Show Source
Nested Schema : CohortDto v1.0
Type: object
Title: CohortDto v1.0
Randomization Cohort Details Information
Show Source
Nested Schema : factors
Type: array
Show Source
  • CohortFactorDto v1.0
    Title: CohortFactorDto v1.0
    Discriminator: { "propertyName":"type", "mapping":{ "choice":"#/components/schemas/CohortChoiceFactorDtoV2", "range":"#/components/schemas/CohortRangeFactorDtoV2" } }
    Randomization Cohort Factor Information
Nested Schema : CohortFactorDto v1.0
Type: object
Title: CohortFactorDto v1.0
Discriminator: type

Discriminator Values

Randomization Cohort Factor Information
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : CohortDto v1.0
Type: object
Title: CohortDto v1.0
Randomization Cohort Details Information
Show Source
Nested Schema : factors
Type: array
Show Source
  • CohortFactorDto v1.0
    Title: CohortFactorDto v1.0
    Discriminator: { "propertyName":"type", "mapping":{ "choice":"#/components/schemas/CohortChoiceFactorDtoV2", "range":"#/components/schemas/CohortRangeFactorDtoV2" } }
    Randomization Cohort Factor Information
Nested Schema : CohortFactorDto v1.0
Type: object
Title: CohortFactorDto v1.0
Discriminator: type

Discriminator Values

Randomization Cohort Factor Information
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