Issues

Resolve an issue.

Changed on

Required scope: alerts:write

post/api/v1/issues/{issueId}/resolve

Request

  • Base URL
    https://partner-api.monta.com
  • URL
    https://partner-api.monta.com/api/v1/issues/{issueId}/resolve
  • Auth
    HTTP bearer

Path parameters

issueIdstring required

Query parameters

operatorIdinteger nullable

Response

resolve-issue 200 response

idstring required

Id of the issue.

operatorIdinteger

Id of the operator this issue belongs to.

typestring required

The issue-type token.

teamIdstring nullable

Id of the team this issue is scoped to, when service-alerts exposes it. Null today.

siteIdstring nullable

Id of the site this issue is scoped to, when service-alerts exposes it. Null today.

status'open' | 'resolved' | 'unknown' required

Current status of the issue.

eventCountinteger

Number of events attached to this issue.

firstEventAtstring date-time nullable

Earliest event on this issue, if any.

lastEventAtstring date-time nullable

Most recent event on this issue, if any.

resolvedAtstring date-time nullable

When this issue was resolved, if it has been.

Example response

{
  "id": "5510",
  "operatorId": 1,
  "type": "charge_point_offline",
  "scope": {
    "type": "charge-point",
    "id": "42"
  },
  "status": "open",
  "eventCount": 14
}

Changes