Get randomization number
get
/ec-ors-svc/rest/v4.0/studies/{studyId}/{mode}/randlists/{rndlistid}/randnumbers
Retrieves randomization number. Rights: OrsRandListGet and OrsUnblinded.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
rndlistid(required): string
ID of the randomization list
-
studyId(required): string(uuid)
ID of the study
Query Parameters
-
blockedBy: string(uuid)
ID of the entity which has blocked the randomization number
-
cohortId: string
ID of the cohort
-
groupId: string
ID of the group in a stratum
-
limit: string
Maximum number of records to display per page.Default Value:
100
-
offset: string
An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter. Offset is affected by the value of the order parameterDefault Value:
0
-
searchString(required): string
Search string
-
status: number
Status of the randomization number
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : RandNumberResponseV1.0
Type:
object
Title:
RandNumberResponseV1.0
Contains Random number response.
Show Source
-
count: integer
(int64)
Total count of result
-
hasMore: boolean
Attribute describes if result set has more recordsExample:
true
-
limit: integer
(int64)
Maximum number of records to display per page.
-
links: array
links
-
offset: integer
(int64)
An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter. Offset is affected by the value of the order parameterExample:
400
-
randNumbers: array
randNumbers
-
totalResults: integer
(int64)
Total number of entities in response
Nested Schema : randNumbers
Type:
Show Source
array
-
Array of:
object RandNumbersTO V4.0
Title:
RandNumbersTO V4.0
Contains Random number details.
Nested Schema : RelLink
Type:
object
Object contains link detail.
Show Source
-
href: string
Realtive URL
-
rel: string
link
Nested Schema : RandNumbersTO V4.0
Type:
object
Title:
RandNumbersTO V4.0
Contains Random number details.
Show Source
-
blockingParamId: string
Unique Id of blocking parameterExample:
B1B8327AFAA6412287106192AB5984EF
-
blockingParamName: string
Blocking Parameter NameExample:
site
-
blockingParamValue: string
Blocking Parameter valueExample:
Site1001
-
blockNumber: number
(BigDecimal)
Block numberExample:
10
-
cohortId: string
(uuid)
Unique Id for cohort.
-
cohortName: string
Cohort NameExample:
Demo Cohort 1001
-
externalTreatmentId: string
Treatment NameExample:
Treatment arm 1001
-
Minimization: object
Minimization
Title:
Minimization
Contains minimization details. -
randNumber: number
(BigDecimal)
Radomization numberExample:
10
-
randNumberId: string
(uuid)
Unique Id for randomization number.
-
randStatusId: number
(BigDecimal)
Allowed Values:
[ "1", "2", "3", "4", "5" ]
Unique ID corresponding to each Randomization status value (1 for Not Approved, 2 for Available, 3 for Not Released, 4 for Assigned, 5 for Randomized in Error).Example:10
-
randStatusKey: string
Allowed Values:
[ "Unapproved", "Available", "Inactive", "Assigned", "Randomized in error" ]
Randomization statusExample:Assigned, Available
-
sequenceNumber: number
Title:
sequenceNumber
sequenceNumber -
statumId: string
(uuid)
Unique Id for stratum
-
stratumName: string
Stratum NameExample:
Male, Female
-
subjectId: string
(uuid)
ID of the subject
-
subjectNumber: string
Subject numberExample:
S1001
-
treatmentId: string
(uuid)
Unique Id for treatment arm.
-
versionEnd: string
(date-time)
Version End
-
versionStart: string
(date-time)
Version Start
Nested Schema : Minimization
Type:
object
Title:
Minimization
Contains minimization details.
Show Source
-
groups: array
groups
-
probabilityFactor: string
Probabilty factor for a given random numberExample:
0.23
Nested Schema : groups
Type:
object
List of minimization groups
Show Source
-
probabilityFactor: string
Probabilty factor for a given random numberExample:
0.23
404 Response
Appears for invalid study ID, invalid study version, or if a randomization list isn't found.
Root Schema : ORSResponse
Type:
object
Common 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:
object
Result Object
Nested Schema : details
Type:
object
500 Response
Internal server error
Root Schema : ORSResponse
Type:
object
Common 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:
object
Result Object
Nested Schema : details
Type:
object