Get Custom Assumptions
Obtains a list of all custom assumptions for a specified plan. The custom assumptions are grouped into "studyScopedCustomAssumptions" and "locationScopedCustomAssumptions."
The custom field Label is returned to the custom field endpoint to integrate with an internal system or to be used to generate ad hoc reports using the same field names that users see in the ClearTrial application.
Method: GET
URL: /cleartrial-ws/plans/{planID}/customAssumption
Sample output in JSON:
{ "customAssumptions": { "planId": 18608, "costModel": "5.4", "customAssumptionModel": 7, "customAssumptionModelDescription": "Different Label", "studyScopedCustomAssumptions": [ { { "tab": "Overview", "name": "customAssumption", "label": "Label for custom assumption", "sortOrderRank": 7460, "workUnitName": "customAssumption", "dataType": "positive whole number", "value": 230 } }, { "studyScopedCustomAssumption": { "tab": "Subject", "name": "StudyScopedAssumption", "label": "Study Scoped Assumption", "sortOrderRank": 3420, "workUnitName": "StudyScopedAssumption", "dataType": "positive whole number", "value": 0 } }, { "studyScopedCustomAssumption": { "tab": "Data", "name": "DataStudyScopedAssumption2", "label": "Data Study Scoped Assumption 2", "sortOrderRank": 2145, "workUnitName": "DataStudyScopedAssumption2", "dataType": "positive whole number", "value": 0 } }, { "studyScopedCustomAssumption": { "tab": "Data", "name": "NewStudyScopedAssumption", "label": "New Study Scoped Assumption", "sortOrderRank": 4430, "workUnitName": "NewStudyScopedAssumption", "dataType": "positive whole number", "value": 0 } }, { "studyScopedCustomAssumption": { "tab": "Data", "name": "DataTabStudyScopedAssumption", "label": "Data Tab Study Scoped Assumption", "sortOrderRank": 7450, "workUnitName": "DataTabStudyScopedAssumption", "dataType": "positive whole number", "value": 0 } } ], "locationScopedCustomAssumptions": [ { "tab": "Site", "name": "LocationScopedAssumption", "label": "Location Scoped Assumption", "sortOrderRank": 20, "workUnitName": "LocationScopedAssumption", "dataType": "positive whole number", "locations": [ { "location": { "locationId": 101, "locationName": "Canada", "value": 0 } }, { "location": { "locationId": 158, "locationName": "New Zealand", "value": 0 } } ] }, { "tab": "Monitoring", "name": "NewLocationScopedAssumption", "label": "New Location Scoped Assumption", "sortOrderRank": 7440, "workUnitName": "NewLocationScopedAssumption", "dataType": "positive whole number", "locations": [ { "location": { "locationId": 101, "locationName": "Canada", "value": 0 } }, { "location": { "locationId": 158, "locationName": "New Zealand", "value": 0 } } ] } ], "url": "/cleartrial-ws/plans/18608/customAssumption" }}
Sub-Resources: None
Parent topic: Plan Resource API