Panel |
---|
|
GET/integration/V1/metric/{id} |
Returns the SLA metric of the given ID.
...
...
Expand |
---|
|
Request URL: https://slaapp.almarise.com/integration/V1/metric/6751a9af00835a31fb1c27ac Response body: Code Block |
---|
{
"name": "Time To Resolution",
"id": "6751a9af00835a31fb1c27ac"
} |
|
Panel |
---|
|
PUT/integration/V1/metric/{id} |
Updates the given SLA metric (e.g. change the name of the metric).
...
...
Code Block |
---|
{
"name": "string",
"description": "string"
} |
Expand |
---|
|
Request URL: https://slaapp.almarise.com/integration/V1/metric/6751a9af00835a31fb1c27ac Request body: { "name": "Time to First Response", "description": "Time to First Response of the ticket" } |
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.
- 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.