Create treatment arms ratios

post

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

Creates treatment arm rations in a randomization design.

Request

Path Parameters
Supported Media Types
Request Body - */* ()
Root Schema : RatioGroupingDto v2.0
Type: object
Title: RatioGroupingDto v2.0
Treatment Arm ratio
Show Source
Nested Schema : arms
Type: array
Show Source
Nested Schema : RatioGroupingArmDto v2.0
Type: object
Title: RatioGroupingArmDto v2.0
Treatment Arm ratio
Show Source
Nested Schema : mappedArms
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : RatioGroupingDto v2.0
Type: object
Title: RatioGroupingDto v2.0
Treatment Arm ratio
Show Source
Nested Schema : arms
Type: array
Show Source
Nested Schema : RatioGroupingArmDto v2.0
Type: object
Title: RatioGroupingArmDto v2.0
Treatment Arm ratio
Show Source
Nested Schema : mappedArms
Type: array
Show Source

204 Response

Successful operation.
Body ()
Root Schema : RatioGroupingDto v2.0
Type: object
Title: RatioGroupingDto v2.0
Treatment Arm ratio
Show Source
Nested Schema : arms
Type: array
Show Source
Nested Schema : RatioGroupingArmDto v2.0
Type: object
Title: RatioGroupingArmDto v2.0
Treatment Arm ratio
Show Source
Nested Schema : mappedArms
Type: array
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