Panel |
---|
|
POST/integration/V1/metric |
Allows creating an SLA metric.
...
Code Block |
---|
{
"name": "string",
"description": "string"
} |
Expand |
---|
|
Request URL: https://slaapp.almarise.com/integration/V1/metric Request body: { "name": "Time to First Response", "description": "Time to First Response of the ticket" } |
Panel |
---|
|
GET/integration/V1/metrics |
Get the SLA metric(s) of the given ID.
Expand |
---|
|
|
Parameter | Type | Default value | Required |
---|
ids | Ids (array[string]
) - IDs of metrics to return.
Expand |
---|
|
Request URL: https://slaapp.almarise.com/integration/V1/metrics Response body: Code Block |
---|
[
{
"name": "Time to Resolution",
"description": "Time to Resolution of the ticket",
"id": "6751a9af00835a31fb1c27ac"
},
{
"name": "Time to First Response",
"description": "Time to First Response of the ticket",
"id": "67530aa500835a31fb1c27b3"
}
] |
|
...
- OK. Returned if the request is successful
. Status |
---|
colour | Green |
---|
title | 201 |
- OK. SLA Metric was successfully created. - Bad request.
- Unauthorized.
- Forbidden. Returned if the user does not have permission to complete this request
. - Not Found. Metric ID does not exist.
- Server Error.