Scheduled Reports: Get
Gets a scheduled report by its ID.
What is a scheduled report
A scheduled report is a resource that will automatically create and send reports on a given frequency.
Use case:
- Automatically send an impact report to a client on a monthly basis about their carbon usage.
- Automatically send a collection of offset certificates to the environment reporting department.
- Automatically send an annual data dump of all carbon calculations to your CDP team.
Authorization
API Key AuthorizationBearer <token>
Your API Key must be provided as a bearer token. To do this, create an 'Authorization' header with a value of 'Bearer {your-api-key}' (e.g. "Authorization: Bearer xcvboy23idvh").
In: header
Path Parameters
projectId*string
Format
uuidscheduledReportId*string
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/scheduled-reports/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "to": 1, "from": 2, "path": "https://app.thrustcarbon.com/api/1/calculator/projects/405d8375-3514-403b-8c43-83ae74cfe0e9/scheduled-reports", "prev_page_url": null, "next_page_url": null, "last_page_url": "https://app.thrustcarbon.com/api/1/calculator/projects/405d8375-3514-403b-8c43-83ae74cfe0e9/scheduled-reports?page=1", "first_page_url": "https://app.thrustcarbon.com/api/1/calculator/projects/405d8375-3514-403b-8c43-83ae74cfe0e9/scheduled-reports?page=1", "last_page": 1, "current_page": 1, "per_page": 2, "total": 2, "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "impact", "frequency": "monthly", "recipients": [ { "email": "user@example.com" } ], "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "created_at": "2021-07-13 12:10:27", "updated_at": "2021-07-13 12:10:27", "last_run_at": "2021-08-01 08:00:00", "options": {} }, { "id": "35842cea-7399-49ab-abbb-7e9bd0a56571", "type": "impact", "frequency": "yearly", "recipients": [ { "email": "kit@thrustcarbon.com" } ], "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "last_run_at": null, "options": { "grouping_type": "cost-centre", "grouping": "MARKETING" } } ]}