Randomize or dispense subject

post

/ec-dc-svc/rest/v5.0/studies/{studyId}/{mode}/subjects/randomizeordispense

Randomizes or dispenses a subject based on visit type, activates a subject based on visit type and completes the visit status. ORS dispensation or randomization is called.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Request Object for visit.
Show Source
Nested Schema : parameters
Type: array
Show Source
Nested Schema : Parameter
Type: object
Contains details about parameters of the form
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : RandomizeDetails
Type: object
Show Source
Nested Schema : VisitResult
Type: object
Show Source
Nested Schema : SubjectDto10
Type: object
Show Source
Nested Schema : VisitsStatusDto13
Type: object
Show Source
Nested Schema : kits
Type: array
Show Source
Nested Schema : DispensationKit
Type: object
Title: DispensationKit
Contains information for the kit dispensation
Show Source

400 Response

Bad request.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.

500 Response

Internal server error.
Body ()
Root Schema : DcsResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top