Skip to Content

Public M2M API — slas

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/slas/{id}

Exported methods: GET, POST, PATCH, DELETE

GET

  • Resource scopes: config:read
  • Path parameters: id
  • Response keys observed across outcomes: data, policy

POST

  • Resource scopes: config:write
  • Path parameters: id
  • Explicit response statuses: 201
  • Response keys observed across outcomes: dueFirstResponseAt, dueResolutionAt, ok, orgId, slaId, ticketId

The optional JSON ticketId is echoed in the result. The handler calculates due timestamps from the selected policy; it does not attach the SLA to a ticket.

JSON properties observed: ticketId.

These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.

PATCH

  • Resource scopes: config:write
  • Path parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: data, policy

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
businessHoursOnlybooleanYesNo——
descriptionstringYesNo—max(500)
firstResponseMinutesnumberYesNo—int(), min(1), max(43200)
isActivebooleanYesNo——
namestringYesNo—min(1), max(120)
nextResponseMinutesnumberYesNo—int(), min(1), max(43200)
priorityenumYesNoLOW, MEDIUM, HIGH, URGENT—
resolutionMinutesnumberYesNo—int(), min(1), max(43200)

DELETE

  • Resource scopes: config:write
  • Path parameters: id
  • Response keys observed across outcomes: deleted, id, ok, orgId

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.