v1.0
post
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/{studyVersion}/rnddesign/{rndDesignId}/rndlist/upload/uploadrndlist
Uploads a randomization list in Oracle Clinical One Platform based on the mapped headers and treatment, cohort, stratum mappings. Rights: DesignerRandListUpload.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.
-
rndDesignId(required): string(uuid)
ID of the randomization design.
-
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
-
studyVersion(required): string
Version of the study.
Supported Media Types
- application/json
Root Schema : Randomization List Upload Request
Type:
objectTitle:
Randomization List Upload RequestContains randomization list mapping detail such as headers, treatment, stratums and cohorts.
Show Source
-
cohortMappings: array
cohortMappings
-
containsHeader: boolean
-
containsHeadersRow(required): string
Allowed Values:
[ "y", "n", "Y", "N" ]Pattern:[yYnN]Contains Headers Row.Example:y -
fileId(required): string
(uuid)
Unique ID for field.
-
headerMappings: array
headerMappings
-
headerMappingsMap: object
headerMappingsMap
Additional Properties Allowed: HeaderMapping
-
stratumMappings: array
stratumMappings
-
treatmentMappings: array
treatmentMappings
Nested Schema : cohortMappings
Type:
Show Source
array-
Array of:
object DataMapping
Contains data mapping.
Nested Schema : headerMappings
Type:
Show Source
array-
Array of:
object HeaderMapping
Contains header mapping.
Nested Schema : headerMappingsMap
Type:
objectAdditional Properties Allowed
Show Source
-
object HeaderMapping
Contains header mapping.
Nested Schema : stratumMappings
Type:
Show Source
array-
Array of:
object DataMapping
Contains data mapping.
Nested Schema : treatmentMappings
Type:
Show Source
array-
Array of:
object DataMapping
Contains data mapping.
Nested Schema : DataMapping
Type:
objectContains data mapping.
Show Source
-
dataFromFile: string
Data from file.Example:
TA -
dataId: string
(uuid)
Unique data Id.
Nested Schema : HeaderMapping
Type:
objectContains header mapping.
Show Source
-
dbHeader(required): string
DB headerExample:
Kit Number -
fileHeader(required): string
File headerExample:
Kit Number
Response
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : GenerateResponse
Type:
objectTitle:
GenerateResponseResponse object for created randomization list.
Show Source
-
listId: string
Title:
List IDUnique ID of generated randomization list.Example:9ECA4FA65076451DA7D47D59367D15A5 -
noOfRowsGenerated: integer
(int32)
Title:
Number of Rows GeneratedNumber of rows generated for the randomization list.Example:5
400 Response
Randomization list can't be generated/uploaded as there is no algorithm for the randomization designOr you must associate the randomization design with a visit before you can create/upload a randomization list for itOr the file can't be uploaded because it contains invalid content, such as special characters, empty cells, or empty rowsOr empty CSV content
Root Schema : ORSResponse
Type:
objectCommon 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:
objectResult Object
Nested Schema : details
Type:
object404 Response
Study not found. Or randomization design not found. Or design not found
Root Schema : ORSResponse
Type:
objectCommon 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:
objectResult Object
Nested Schema : details
Type:
object500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon 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:
objectResult Object
Nested Schema : details
Type:
object