cURL
curl --request POST \ --url https://api.northca.dev/v1/mdts/{mdtId}/calls \ --header 'Content-Type: application/json' \ --header 'x-discord-guild: <x-discord-guild>' \ --header 'x-partner-key: <api-key>' \ --data ' { "classification": "TRAFFIC STOP", "description": "Vehicle stopped for speeding", "location": "Mango St & 67th Ave", "status": "open", "priority": "low", "units_assigned": [ "ADAM-12" ] } '
{ "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" } }
Creates a new dispatch call for the MDT.
Partner API key provided by Northca.
Discord Guild ID (server/guild context for the request).
Discord User ID for the acting user (optional; used for audit fields).
MDT ID.
Optional. If not provided, the server generates an ID.
Optional. Defaults to "open".
Created call.
Dispatch call record.
Show child attributes
Was this page helpful?