Lists Dynatrace Platform Subscription usage data by cost allocation field.
The request produces an application/json payload.
GET |
|
To execute this request, you need the Allow read access for usage and consumption resources (account-uac-read) scope assigned to your token. To learn how to obtain and use it, see OAuth clients.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| subscription-uuid | string | The UUID of the requested subscription. Fetch the list of subscriptions via the GET all subscriptions request. (required) | path | optional |
| field | string | Field by which costs and usage should be split. Allowed values: | query | optional |
| environment-id | string | The identifier of an environment. (required unless page-key is provided) | query | optional |
| from | string | The start of the requested timeframe in | query | optional |
| to | string | The end of the requested timeframe in | query | optional |
| page-size | number | Defines the requested number of entries for the next page. | query | optional |
| page-key | string | A base64 encoded key to retrieve a specific page. If this query parameter is set, no other query parameters can be set. | query | optional |
| Code | Type | Description |
|---|---|---|
| 200 | Paginated | Success. The response contains a page of the requested chargeback breakdown. |
| 400 | - | The request was unacceptable, often due to missing a required parameter |
| 401 | - | No valid session provided |
| 403 | - | Access denied |
| 500 | - | Something went wrong on Account Management's end |
PaginatedEnvironmentBreakdownDto object| Element | Type | Description |
|---|---|---|
| environmentId | string | Identifier of the environment |
| field | string | Field used to generate the breakdown. Can be |
| records | string[] | List of individual breakdown entries. |
| nextPageKey | string | Key to request the next page. |
{"environmentId": "string","field": "string","records": ["string"],"nextPageKey": "string"}