Skip to main content
POST
/
mdts
/
{mdtId}
/
scene-reports
Create a scene report
curl --request POST \
  --url https://api.northca.dev/v1/mdts/{mdtId}/scene-reports \
  --header 'Content-Type: application/json' \
  --header 'x-discord-guild: <x-discord-guild>' \
  --header 'x-partner-key: <api-key>' \
  --data '
{
  "title": "Incident Summary",
  "description": "Observed minor property damage.",
  "location": "22 Park Ave",
  "status": "DRAFT",
  "dispatch_call_id": "2f4037ea-5c74-4c3e-8a7f-2fbf8d1f6b9f"
}
'
{
  "ok": true,
  "data": {
    "id": "<string>",
    "mdt_code": "<string>",
    "title": "<string>",
    "description": "<string>",
    "location": "<string>",
    "date": "<string>",
    "time": "<string>",
    "officer_name": "<string>",
    "officer_badge": "<string>",
    "status": "<string>",
    "dispatch_call_id": "<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.

Body

application/json
id
string

Optional. If not provided, the server generates an ID.

title
string | null
description
string | null
location
string | null
date
string | null
time
string | null
officer_name
string | null
officer_badge
string | null
status
string | null

Optional. Defaults to "DRAFT".

dispatch_call_id
string | null

Response

Created scene report.

ok
boolean
required
data
object
required

Scene report record.