Update randomization list blocks
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/randlists/{rndlistid}/blocks
Updates randomization list blocks in a study. Rights: OrsRandListPost, OrsUnblinded.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
rndlistid(required): string(uuid)
-
studyId(required): string(uuid)
ID of the study
Supported Media Types
- */*
Root Schema : schema
Type:
object
Request Object to create randomization list block
Show Source
-
blocks(required): array
blocks
Minimum Number of Items:
1
Maximum Number of Items:2147483647
Nested Schema : blocks
Type:
array
Minimum Number of Items:
1
Maximum Number of Items:
Show Source
2147483647
-
Array of:
object RndListBlockRequest
Title:
RndListBlockRequest
Randomization block request object.
Nested Schema : RndListBlockRequest
Type:
object
Title:
RndListBlockRequest
Randomization block request object.
Show Source
-
block(required): integer
(int32)
Block number.Example:
5
-
blockedBy(required): string
Blocked by site, country etc..Example:
Site1001
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
string(uuid)
400 Response
For a dynamic algorithm, you can't assign blocks to a blocked parameter. Or invalid blocked by value.
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
404 Response
For Invalid study ID or version or randomization List not 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