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
Supported Media Types
Request Body - application/json ()
Root Schema : Randomization List Upload Request
Type: object
Title: Randomization List Upload Request
Contains randomization list mapping detail such as headers, treatment, stratums and cohorts.
Show Source
Nested Schema : cohortMappings
Type: array
Show Source
Example:
[
    {
        "sourceValue":"Cohort-1",
        "targetValue":"Cohort 1"
    }
]
Nested Schema : headerMappings
Type: array
Show Source
Example:
[
    {
        "csvHeader":"Treatment",
        "targetField":"treatment"
    }
]
Nested Schema : headerMappingsMap
Type: object
Additional Properties Allowed
Show Source
Nested Schema : stratumMappings
Type: array
Show Source
Example:
[
    {
        "sourceValue":"Male",
        "targetValue":"Male"
    }
]
Nested Schema : treatmentMappings
Type: array
Show Source
Example:
[
    {
        "sourceValue":"TRT-A",
        "targetValue":"Treatment A"
    }
]
Nested Schema : DataMapping
Type: object
Contains data mapping.
Show Source
Example:
{
    "sourceValue":"Cohort-1",
    "targetValue":"Cohort 1"
}
Nested Schema : HeaderMapping
Type: object
Title: HeaderMapping
Contains header mapping.
Show Source
Example:
{
    "fileHeader":"Kit Number",
    "dbHeader":"KIT_NUMBER"
}
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : GenerateResponse
Type: object
Title: GenerateResponse
Response object for created randomization list.
Show Source
Examples

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
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

Study not found. Or randomization design not found. Or design not found
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