Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleResponse example

Request URL: https://slaapp.almarise.com/integration/V1/metrics-state/10039/6751a9af00835a31fb1c27ac?showUiMetaData=false

Response body:

Code Block
{
  "slaMetricId": "6751a9af00835a31fb1c27ac",
  "ticketId": "10039",
  "slaMetricState": "ACTIVE",
  "deadline": "2024-12-05T11:32:19.893+01:00",
  "timeSpent": {
    "millis": 32581835,
    "shortText": "9h 3m 1s"
  },
  "timeRemaining": {
    "millis": -21781835,
    "shortText": "-6h 3m 1s"
  },
  "totalTime": {
    "millis": 10800000,
    "shortText": "3h"
  },
  "isBreached": true,
  "flowingDeadline": false,
  "wasRestarted": false,
  "metricName": "Time To Resolution",
  "visible": true
}
  


Responses

Status
colourGreen
title200
- OK. Returned if the request is successful.

Status
colourYellow
title401
- Unauthorized.

Status
colourYellow
title403
- Forbidden. Returned if the user does not have permission to complete this request.

Status
colourYellow
title404
- Not Found. 

Status
colourRed
title500
- Server Error.