Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#DEEBFF
GET/integration/V1/sla-custom-event/list/

Returns a list of SLA events for the given metric.

...

Expand
titleResponse example

Request URL: https://slaapp.almarise.com/integration/V1/sla-custom-event/list/?ticketId=10039&metricId=6751a9af00835a31fb1c27ac

Response body:

Code Block
{
    "ticketId": "10039",
    "metricId": "6751a9af00835a31fb1c27ac",
    "events": [
        {
            "triggerName": "Pause",
            "slaEventAction": "PAUSE",
            "actionDate": "2024-12-06T11:24:14.807Z"
        },
        {
            "triggerName": "string",
            "slaEventAction": "START",
            "actionDate": "2024-12-06T11:42:42.75Z"
        },
        {
            "triggerName": "metricStart",
            "slaEventAction": "START",
            "actionDate": "2024-12-06T12:20:42.75Z"
        },
        {
            "triggerName": "metricStart",
            "slaEventAction": "START",
            "actionDate": "2024-12-06T12:32:42.75Z"
        },
        {
            "triggerName": "metricPause",
            "slaEventAction": "PAUSE",
            "actionDate": "2024-12-06T12:34:42.75Z"
        }
    ]
}

...

Status
colourYellow
title400
- Bad request.

Status
colourYellow
title401
- Unauthorized.

Status
colourYellow
title403
- Forbidden.

Status
colourYellow
title404
- Not Found. Metric ID does not exist.

...