Create randomization list
post
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/{studyVersion}/randlist/generate
Generates a randomization list in the study; Rights: DesignerRandListPost.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
studyId(required): string(uuid)
ID of the study
-
studyVersion(required): string
Version of the study
Supported Media Types
- application/json
Root Schema : schema
Type:
objectRequest Object to create randomization list
Show Source
-
blocksPerCohort: integer
(int32)
Minimum Value:
1Maximum Value:500000Number of blocks per cohort.Example:5 -
blocksPerStratum: integer
(int32)
Minimum Value:
1Maximum Value:500000Number of blocks per stratum.Example:5 -
blocksPerStratumPerCohort: integer
(int32)
Minimum Value:
1Maximum Value:500000Number of blocks per stratum per cohort.Example:5 -
description: string
Minimum Length:
0Maximum Length:2000Description of randomization listExample:Randomization list with demographic cohort -
initialRandNumber(required): integer
(int64)
Minimum Value:
1Maximum Value:99999999Starting number.Example:1 -
mode: string
Mode of the study, accepts: test, active, or trainingExample:
test, active, or training -
noOfRows: integer
(int32)
Minimum Value:
1Maximum Value:500000Number of blocks.Example:5 -
randomizationSeed: integer
(int32)
Minimum Value:
1Maximum Value:99999999 -
srcId(required): string
(uuid)
Unique Id.
-
srcVersionStart(required): string
(date-time)
Version Start
-
startingSequenceNumber: number
(BigDecimal)
Minimum Value:
1Maximum Value:99999999Starting sequence number.Example:1 -
title(required): string
Minimum Length:
1Maximum Length:64Title of randomization listExample:UPL_RL191_V1001 -
treatmentRatioMultiplier(required): integer
(int32)
Minimum Value:
1Maximum Value:99Multiplier for blocks.Example:5
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : GenerateResponse
Type:
objectResponse Object for created randomization list.
Show Source
-
listId: string
Unique Id of generated randomization listExample:
9ECA4FA65076451DA7D47D59367D15A5 -
noOfRowsGenerated: integer
(int32)
Number of rows generated for randomization list.Example:
5
400 Response
For algorithm not defined for the randomization design or randomization design not associated with a visit
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object404 Response
For Invalid study ID or version
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
object