Dynatrace Platform Subscription API - GET events
Lists cost and forecast events of a Dynatrace Platform Subscription detected by Account Management.
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 Authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
accountUuid | string | The ID of the required account. You can find the UUID on the Account > Account management API page, during creation of an OAuth client. | path | required |
startTime | string | Date as ISO string | query | optional |
endTime | string | Date as ISO string | query | optional |
eventType | string | -
| query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Event[] | - |
400 | - | The request was unacceptable, often due to missing a required parameter |
401 | - | The bearer token is incorrect/expired or the requested account information does not match the bearer token |
403 | - | Access denied |
404 | - | The requested resource was not found |
500 | - | Something went wrong on Account Management API's end |
Response body objects
The ResponseBody
object
The Event
object
Element | Type | Description |
---|---|---|
environmentUuid | string | The UUID of the environment that threw the event. |
capability | string | The subscription capability name. |
date | string | The date the event was fired in |
createdAt | string | The date the notification was created in |
severity | string | The severity of the even. |
message | string | The message from the event. |
eventType | string | The type of event: Forecast or usage. |
notificationLevel | string | The notification level of the event. |
Response body JSON model
[{"environmentUuid": "string","capability": "string","date": "string","createdAt": "string","severity": "string","message": "string","eventType": "string","notificationLevel": "string"}]