You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

POST/integration/V1/metric

Allows creating an SLA metric.

{
  "name": "string",
  "description": "string"
}


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.

ParameterTypeDefault valueRequired
idsarray[string]
     

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"
    }
]


Responses

200 - OK. Returned if the request is successful.

201 - OK. SLA Metric was successfully created.

400 - Bad request.

401 - Unauthorized.

403 - Forbidden. Returned if the user does not have permission to complete this request.

404 - Not Found. Metric ID does not exist.

500 - Server Error.

  • No labels