API is in Alpha and may change at any time.
API Resources > Emergency
Edit Call
This endpoint allows you to edit calls.
Edit Call
POST api/v1/emergency/edit_call
Request Body
Name | Type | Description | Default |
---|---|---|---|
call_id | number | Call ID | Required |
narrative | string | What is happening | Optional |
location | string | Where is it happening | Optional |
city | string | Where is it happening | Optional |
type | number | Who you need. Options: 1 = LEO; 2 = Fire; 3 = EMS; |
Optional |
source | string | How you got the call. Options: ["911 CALL", "NON-EMERGENCY", "OFFICER", "FIRE"] |
Optional |
nature | string | Type of Call. List of all call nature codes options. | Optional |
status | string | Status of Call. List of call status codes options. | Optional |
priority | number | Prioity number 1-5. | Optional |
Example Call
{
"call_id": 123456,
"narrative": "Test narrative", // Optional
"location": "Location", // Optional
"city": "City", // Optional
"nature": "OTHER", // Optional
"status": "HLD", // Optional
"type": "1", // Optional
"priority": "3", // Optional
"source": "911 Call" // Optional
}
Responses
200 A successful call.
{
"success": true,
"message": "",
"data": [
{
"id": 2400018,
"nature": "OTHER",
"nature_name": "OTHER",
"narrative": "Test Narrative",
"location": "Test Location",
"city": "City",
"priority": 3,
"type": 1,
"status": "HLD",
"status_name": "Call Open",
"source": "911 Call",
"created_at": "04/16/2024 16:18:30",
"updated_at": "04/16/2024 16:18:30",
"call_log": [],
"call_civilians": [],
"call_vehicles": []
}
]
}
200 with validation errors.
{
"success": false,
"message": "Validation errors",
"data": {
"nature": [
"The nature must only contain letters."
],
"priority": [
"The priority must be a number.",
"The selected priority is invalid."
],
"type": [
"The type must be a number.",
"The selected type is invalid."
],
"status": [
"The status must only contain letters."
]
}
}
200 with call not found.
{
"success": false,
"message": "Call not found.",
"data": []
}
200 with status code not found.
{
"success": false,
"message": "Status code not found.",
"data": []
}
200 with nature code not found.
{
"success": false,
"message": "Nature code not found.",
"data": []
}
Nature Codes
- ABDUCTIO - ABDUCTION
- ABUSEABA - ABUSE ABANDONMENT NEGLECT
- ACCPRT - ACCIDENT (REPORT ONLY)
- ACCPD - ACCIDENT PD
- ALARM - ALARM COMPANY - POLICE
- ANIMAL - ANIMAL PROBLEM
- ASSLTIP - ASSAULT IN PROGRESS
- ASSAULT REPORT - ASSAULT REPORT
- ASSLTSEX - ASSAULT SEXUAL
- ASSLTIJ - ASSAULT WITH INJURY (NOT IN PROGRESS)
- ATL - ATTEMPT TO LOCATE
- BOMBEXP - BOMB EXPLOSION
- BOMBFND - BOMB FOUND
- BOMBTHRT - BOMB THREAT
- BURGLARY - BURGLARY HOME INVASION
- BURGIP - BURGLARY IN PROGRESS
- BURG - BURGLARY REPORT
- CARJACK - CAR JACKING
- CONTSUBS - CONTROLLED SUBSTANCE
- DECEASED - DECEASED PERSON
- DIST - DISTURBANCE
- DISTDOME - DISTURBANCE - DOMESTIC
- DISTNOIS - DISTURBANCE - NOISE
- DISTURBN - DISTURBANCE NUISANCE
- DISTWEAP - DISTURBANCE W/WEAPON
- DOMESTIC - DOMESTIC DISTURBANCE VIOLENCE
- DUI - DRIVING UNDER THE INFLUENCE (IMPAIRED DRIVING)
- FBRUSH - GRASS, BRUSH, or OR TIMBER FIRE
- FCOALARM - CARBON MONOXIDE ALARM
- FCONFINE - CONFINED SPACE RESCUE
- FEXTRIC - EXTRICATION
- FHAZMAT - HAZ-MAT
- FIGHT - FIGHT
- FIGHTWEA - FIGHT W/WEAPON
- FNDPERS - FOUND PERSON
- FNDPROP - FOUND PROPERTY
- FNONSTR - NON-STRUCTURE FIRE
- FSTRUCT - STRUCTURE FIRE
- GUNSHOTS - GUNSHOTS REPORTED
- HARASSME - HARASSMENT STALKING THREAT
- HITRUN - HIT & RUN
- HITRUNIJ - HIT & RUN WITH INJURY
- HOMICID - HOMICIDE
- HOSTAGE - HOSTAGE
- INDECENC - INDECENCY LEWDNESS
- INDEXP - INDECENT EXPOSURE
- INTOXDRV - INTOXICATED DRIVER
- INTOXPER - INTOXICATED PERSON
- JUVENILE - JUVENILE TROUBLE
- KIDNAPIP - KIDNAPPING IN PROGRESS
- KIDNAP - KIDNAPPING REPORT
- MEDI - MEDICAL
- MISCELLA - MISCELLANEOUS
- MISSINGF - MISSING RUNAWAY FOUND PERSON
- NCORDER - NO CONTACT ORDER VIOLATION
- OTHER - OTHER
- OUTSIDEF - OUTSIDE FIRE
- PICKUP - PICKUP ITEM/PROPERTY
- PURSUITF - FOOT PURSUIT
- PURSUITV - VEHICLE PURSUIT
- RECKLESS - RECKLESS DRIVER
- RECOVERY - RECOVERY STOLEN VEHICLE
- ROBBERYC - ROBBERY CARJACKING
- ROBERYIP - ROBBERY IN PROGRESS
- ROBBERY - ROBBERY REPORT
- RUNAWAY - RUNAWAY
- SHOOTING - SHOOTING
- SRT - SRT CALL
- STABBING - STABBING
- STALLVEH - STALLED VEHICLE
- SUBJWEAP - SUBJECT WITH A WEAPON
- SUSPPKGB - SUSPICIOUS PACKAGE/BOMB THREAT
- SUSPPERS - SUSPICIOUS PERSON
- SUSPVEH - SUSPICIOUS VEHICLE
- SUSPICIO - SUSPICIOUS WANTED PERSON CIRCUMSTANCES VEHICLE
- THEFT - THEFT
- THEFTFRV - THEFT FROM VEHICLE
- THEFTIC - THEFT IN CUSTODY
- THEFTIP - THEFT IN PROGRESS
- THEFTVEH - THEFT OF VEHICLE
- TRAFFTOW - TOW VEHICLE
- TRAFFIC - TRAFFIC
- TRAFFHAZ - TRAFFIC HAZARD
- TS - TRAFFIC STOP
- TRAFFICA - TRAFFIC TRANSPORTATION ACCIDENT (CRASH)
- TRAFFICV - TRAFFIC VIOLATION
- TRESPASS - TRESPASSING UNWANTED
- TRBLUNK - TROUBLE UNKNOWN
- VEHICLEF - VEHICLE FIRE
- WATERRES - WATER RESCUE
- WATERCRA - WATERCRAFT IN DISTRESS
- WELFCHK - WELFARE CHECK
- TEST - TEST CALL
To close the call use the Close Call endpoint.
Status Codes
- RCVD - Call Open
- HLD - Call On Hold
- ENRT - Units Enroute
- ARRVD - Units Arrived Onscene
Still have questions?
Still have questions? Talk to support.