Get Device Alerts for the most recent daily period, up to 30 days.
thingspace_oauth vz-m2m-session_token This is where the ThingSpace token, from Getting Started is used
In: header
The VZ-M2M session token from Getting Started
In: header
application/json
Daily period requested, up to 30 days.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/dm/v1/smartAlerts/actions/metrics" \ -H "Content-Type: application/json" \ -d '{}'{ "critical": 0, "major": 0, "minor": 0, "noalert": 1, "total": 1, "deltacritical": -3, "deltamajor": -1, "deltaminor": 0, "deltanoalert": -15}{ "error": "bad_request", "error_description": "The request is missing content.", "cause": "Request is missing required body content"}{ "error": "Error name or code", "error_description": "A longer error description.", "cause": "A cause for the error"}{ "error": "forbidden", "error_description": "The data does not belong to the provided billing account.", "cause": "Requested service is forbidden"}{ "error": "internal_server_error", "error_description": "Failed to create record.", "cause": "Requested service failed due to internal error"}The number of days in a recent period to query