Resource IDs
Get the IDs for reports, budgets, and other resources.
When using the GET request to retrieve data of a specific resource, you need to provide the resource ID as a path parameter.
Info
Path parameter names are case-sensitive.
Resource IDs in the URL
For the following types of resources, the resource identifier is the last part of the URL of the corresponding page in the DoiT Console:
- Alerts: In the DoiT console, view an alert to find its resource ID.
- Anomalies: In the DoiT console, view a cost anomaly to find its resource ID.
- Assets: For Amazon Web Services and Google Cloud, view an asset to find its resource ID.
- Attribution groups: In the DoiT console, view an attribution group to find its resource ID.
- Attributions: In the DoiT console, view an attribution to find its resource ID.
- Budgets: In the DoiT console, view a budget to find its resource ID.
- Invoices: The invoice ID is the Invoice Number on an invoice.
- Known issues: In the DoiT console, view a cloud incident to find its resource ID.
- Reports: In the DoiT console, view a report to find its resource ID.
For example, the URL of the Historical Costs & Forecast report in the DoiT console is https://console.doit.com/customers/{customerContext}/analytics/reports/ViSpueEq1iXNMcL1n6Un
The last part, ViSpueEq1iXNMcL1n6Un
, is the report ID. Note that preset reports come with their own unique resource identifiers across customers.
Resource IDs in the API response body
You can use the GET method to list all the available resources. The resource IDs are found in the response body.
Updated 2 months ago