Generate Research Study Blocks Action

Generate research study randomization block records to link each block with a specific research study comparison group by using the randomization process.

The Generate Research Study Blocks action generates blocks during the design time to verify the randomized assignment of groups and to test the required block multipliers.

This action is available in API version 61.0 and later.

Special Access Rules 

The Generate Research Study Blocks action is available in Enterprise and Unlimited Editions with Life Sciences Cloud and the Participant Enrollment Add-On license. Additionally, the org must be enabled with Research Study Randomization.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/actions/standard/generateResearchStudyBlocks

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

Inputs 

InputTypeDescription
researchStudy​RandomizationIdstringRequired.
ID of the research study randomization record that you want to generate the blocks for.
researchStudy​TargetCandidateCountintegerRequired.
Number of candidates that you want to generate the blocks for.

Outputs 

OutputTypeDescription
researchStudy​RandomizationBlockIdsstringList of generated research study randomization block IDs.

Example 

POST

This sample request is for the Generate Research Study Blocks action.

1{
2  "inputs": [
3    {
4      "researchStudyRandomizationId": "1Rdxx0000004CguCAE",
5      "researchStudyTargetCandidateCount": 10
6    }
7  ]
8}

This sample response is for the Generate Research Study Blocks action.

1[
2  {
3    "actionName": "generateResearchStudyBlocks",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outputValues": {
8      "researchStudyRandomizationBlockIds": [
9        "1Mtxx0000004CLw",
10        "1Mtxx0000004CLx",
11        "1Mtxx0000004CLy"
12      ]
13    },
14    "sortOrder": -1,
15    "version": 1
16  }
17]

See Also