cURL
curl --request POST \ --url https://api.northca.dev/v1/mdts/{mdtId}/tickets \ --header 'Content-Type: application/json' \ --header 'x-discord-guild: <x-discord-guild>' \ --header 'x-partner-key: <api-key>' \ --data ' { "title": "Tow request", "description": "Vehicle disabled, needs tow.", "officer_name": "B. Bubbleton", "officer_callsign": "ADAM-12", "status": "open", "priority": "low" } '
{ "ok": true, "data": { "id": "<string>", "mdt_code": "<string>", "title": "<string>", "description": "<string>", "officer_name": "<string>", "officer_badge": "<string>", "officer_callsign": "<string>", "status": "<string>", "priority": "<string>", "created_by_discord_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Creates a new ticket 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 ticket.
Unit ticket record.
Show child attributes
Was this page helpful?