Replace Randomization Number
post
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/subjects/{subjectId}/replaceRand
Replace Randomization Number of a subject. Rights: UnblindedPost or S2S Call.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
studyId(required): string(uuid)
ID of the study
-
subjectId(required): string(uuid)
ID of the subject
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Request object containing randomization replacement settings.
Show Source
-
allowRandNumberReplacement(required): boolean
Flag for activation of rand number replacementExample:
true
-
maxReplacements(required): string
Max number of replacements which can be done for 1 subjectExample:
5
-
replacementStartingPrefix(required): string
Starting Prefix for randomization number replacementExample:
997
Response
Supported Media Types
- application/json
200 Response
Successful operation
400 Response
For reaching max number of replacements or randomization replacement is turned off.
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 Subject Id
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