Get a list of all active cohorts in a study

get

/ec-designer-svc/rest/v1.0/studies/{studyId}/cohorts

Retrieves a list of all cohorts in a study. You can retrieve this list by study ID.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

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