Get Costs
Shows the calculated costs for a plan.
Method: GET
URL: /cleartrial-ws/plans/{planID}/cost
Sample output in JSON:
{ "costs": { "planId": 67433, "cost": [ { "id": 1, "name": "Advertising (additional)", "code": "AA.123", "mappingKey": "T002", "type": "Miscellaneous", "description":"Sample description", "includedCost": true, "location": [ { "id": 0, "name": "All Locations", "serviceProvider": "ClearTrial Operations", "departmentCode": "DS", "departmentName": "Safety", "generalLedgerCode": "1000", "generalLedgerCodeName": "Advertising and Promotion", "startDate": "01-Jun-2016 12:00:00 CDT", "endDate": "17-Jun-2018 12:00:00 CDT", "amount": { "currency": "USD", "calculatedAmount": 0, "adjustmentAmount": 261217, "inflationAmount": 0, "totalAmount": 261217 } }, { "id": 100, "name": "USA", ... }, ... ] }, { "id": 5, "name": "CRF Printing", "type": "Miscellaneous", ... }, ... ], "url": "/cleartrial-ws/plans/67433/cost" } }
Sub-Resources: None
Parent topic: Plan Resource API