API is in Alpha and may change at any time.
API Resources > Emergency
Create Call
This endpoint allows you to create calls.
Create Call
POST api/v1/emergency/create_call
Request Body
Name | Type | Description | Default |
---|---|---|---|
narrative | string | What is happening | Required |
location | string | Where is it happening | Required |
city | string | Where is it happening | Required |
type | number | Who you need. Options: 1 = LEO; 2 = Fire; 3 = EMS; |
1 |
source | string | How you got the call. Options: ["911 CALL", "NON-EMERGENCY", "OFFICER", "FIRE"] |
911 CALL |
status | string | Status of Call. List of status codes options. | RCVD |
nature | string | Type of Call. List of all call nature codes options. | OTHER |
priority | number | Prioity number 1-5. | 3 |
Example Call
{
"narrative": "Test narrative",
"location": "Location",
"city": "City",
"nature": "OTHER", // Optional
"status": "RCVD", // 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": "RCVD",
"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": {
"narrative": [
"The narrative field is required."
],
"location": [
"The location field is required."
],
"city": [
"The city field is required."
],
"nature": [
"The nature must only contain letters."
],
"priority": [
"The priority must be a number."
]
}
}
If an invaild Nature or Source is entered the default will be used. No error will be displayed.
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
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.