You are viewing an old version of this page. View the current version .
Compare with Current
View Page History
« Previous
Version 10
Next »
GET /integration/V1/metric/{id}
Returns the SLA metric of the given ID.
Parameters
Parameter Type Default value Required id string
Response example
Request URL: https://slaapp.almarise.com/integration/V1/metric/6751a9af00835a31fb1c27ac
Response body:
{
"name": "Time To Resolution",
"id": "6751a9af00835a31fb1c27ac"
}
PUT /integration/V1/metric/{id}
Updates the given SLA metric (e.g. change the name of the metric).
Parameters
Parameter Type Default value Required id string
Request body
{
"name": "string",
"description": "string"
}
DELETE /integration/V1/metric/{id}
Deletes the SLA metric of the given ID.
Parameters
Parameter Type Default value Required id string
Example of usage
Request URL: https://slaapp.almarise.com/integration/V1/metric/6751a9af00835a31fb1c27ac
POST /integration/V1/metric
Allows creating an SLA metric.
Request body
{
"name": "string",
"description": "string"
}
Example of usage
Request URL: https://slaapp.almarise.com/integration/V1/metric
Request body:
{ "name" : "Time to First Response" , "description" : "Time to First Response of the ticket" }
GET /integration/V1/metrics
Get the SLA metric(s) of the given ID.
Parameters
Parameter Type Default value Required ids array[string]
Response example
Request URL: https://slaapp.almarise.com/integration/V1/metrics
Response body:
[
{
"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"
}
]