Skip to main content
PATCH
/
mdts
/
{mdtId}
/
calls
/
{callId}
Update a dispatch call (partial)
curl --request PATCH \
  --url https://api.northca.dev/v1/mdts/{mdtId}/calls/{callId} \
  --header 'Content-Type: application/json' \
  --header 'x-discord-guild: <x-discord-guild>' \
  --header 'x-partner-key: <api-key>' \
  --data '
{
  "status": "closed",
  "priority": "high"
}
'
{
  "ok": true,
  "data": {
    "id": "<string>",
    "mdt_code": "<string>",
    "classification": "<string>",
    "description": "<string>",
    "location": "<string>",
    "status": "<string>",
    "call_type": "<string>",
    "priority": "<string>",
    "units_assigned": [
      "<string>"
    ],
    "created_by": "<string>",
    "created_by_discord_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-partner-key
string
header
required

Partner API key provided by Northca.

Headers

x-discord-guild
string
required

Discord Guild ID (server/guild context for the request).

x-discord-actor
string

Discord User ID for the acting user (optional; used for audit fields).

Path Parameters

mdtId
string
required

MDT ID.

callId
string
required

Dispatch call ID.

Body

application/json

Partial update. Only these fields are applied (others are ignored): classification, description, location, status, call_type, priority, units_assigned

Response

Updated call.

ok
boolean
required
data
object
required

Dispatch call record.