v2.0

post

/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/subjects/{subjectId}/replaceRand

Replace Randomization Number of a subject. Rights: UnblindedPost or S2S Call.

Request

Path Parameters
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    1BC29B36F5D64B1B95F4BDBBCEA481BE
  • Unique identifier of the subject. Used to represent a participant enrolled in a study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    C36A3197FDEE433FB5547EE83DE99E4B
Supported Media Types
Request Body - application/json ()
Root Schema : RandReplacementRequest v1.0
Type: object
Title: RandReplacementRequest v1.0
Request object containing randomization replacement settings.
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : IDResponse v1.0
Type: object
Title: IDResponse v1.0
Response containing the identifier.
Show Source
Examples

400 Response

For reaching max number of replacements or randomization replacement is turned off.
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object
Examples

404 Response

For Invalid Subject ID
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object
Examples

500 Response

Internal server error
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result Object
Nested Schema : details
Type: object
Examples

Back to Top