...
Expand |
---|
|
Request URL: https://slaapp.almarise.com/integration/V1/sla-custom-event/add/multiple Request body: { "ticketId": "10039", "metricId": "6751a9af00835a31fb1c27ac", "events": [ { "triggerName": "metricResume", "slaEventAction": "RESUME", "actionDate": "2024-12-09T09:51:33.963Z" }, { "triggerName": "metricFinish", "slaEventAction": "FINISH", "actionDate": "2024-12-09T09:55:33.963Z" } ] } |
Panel |
---|
|
GET/integration/V1/sla-custom-event/list/full |
...
Panel |
---|
|
GET/integration/V1/sla-custom-event/list/ |
Returns a list of SLA events for the given metric.
...
Expand |
---|
|
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"
}
]
} |
|
Panel |
---|
|
DELETE/integration/V1/sla-custom-event/list |
Allows to delete SLA events of the given metric. This means that the SLA metric will switch to Not Started state.
Expand |
---|
|
Parameter | Type | Default value | Required |
---|
ticketId | string |
| | metricId | string |
| |
|
Expand |
---|
|
Request URL: https://slaapp.almarise.com/integration/V1/sla-custom-event/list?ticketId=10039&metricId=6751a9af00835a31fb1c27ac |
Responses
- OK. Returned if the request is successful. - Bad request. - Unauthorized. - Forbidden. - Not Found. Metric ID does not exist. - Server Error.