Dynatrace Platform Subscription API - GET cost allocation
Lists Dynatrace Platform Subscription usage data by cost allocation field.
The request produces an application/json
payload.
GET |
|
Authentication
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.
Parameters
The UUID of the requested subscription.
Fetch the list of subscriptions via the GET all subscriptions request. (required)
Field by which costs and usage should be split. Allowed values: COSTCENTER
, PRODUCT
(required unless page-key is provided)
The identifier of an environment. (required unless page-key is provided)
The start of the requested timeframe in 2021-05-01
format.
The end of the requested timeframe in 2021-05-01
format.
Defines the requested number of entries for the next page.
A base64 encoded key to retrieve a specific page. If this query parameter is set, no other query parameters can be set.
Response
Response codes
Success. The response contains a page of the requested chargeback breakdown.
The request was unacceptable, often due to missing a required parameter
No valid session provided
Access denied
Something went wrong on Account Management's end
Response body objects
The PaginatedEnvironmentBreakdownDto
object
Identifier of the environment
Field used to generate the breakdown. Can be COSTCENTER
or PRODUCT
List of individual breakdown entries.
Key to request the next page.
Response body JSON model
{"environmentId": "string","field": "string","records": ["string"],"nextPageKey": "string"}