API is in Alpha and may change at any time.
API Resources > Emergency
Get Call
This endpoint allows you to retrieve a call.
Get Call
POST api/v1/emergency/get_call
Request Body
Name | Type | Description | Default |
---|---|---|---|
call_id | number | Number of closed calls to return. | Required |
Example Request Body
{
"call_id": 123456789
}
Responses
200 A successful call.
{
"success": true,
"message": "",
"data": [
{
"id": 2400010,
"nature": "DOMESTIC",
"nature_name": "DOMESTIC DISTURBANCE VIOLENCE",
"narrative": "Voluptatem dicta eos",
"location": "Minus dolorum fuga",
"city": "Et quia omnis ducimu",
"priority": 1,
"type": 2,
"status": "RCVD",
"status_name": "Call Open",
"source": "911 CALL",
"created_at": "02/09/2024 20:10:06",
"updated_at": "04/01/2024 21:16:52",
"call_log": [
{
"id": 195,
"from": "Guy Cruz (1C-31)",
"text": "Officer has been assigned.",
"created_at": "02/09/2024 20:25:03"
},
...
],
"call_civilians": [
{
"id": 17,
"civilian_id": 279684039,
"type": "VICTIM",
"civilian": {
"id": 279684039,
"user_id": 188790560658685954,
"first_name": "TestTest",
"last_name": "test",
"full_name": "TestTest test",
"picture": null,
"date_of_birth": "01/08/2024",
"gender": "Male",
"race": "Asian",
"postal": 122334,
"street": "Test",
"city": "Sandy",
"full_address": "122334 Test Sandy",
"occupation": null,
"height": "54",
"weight": "105",
"status": 1,
"status_name": "Alive",
"active_persona": 0,
"created_at": "01/22/2024 13:16:50",
"updated_at": "01/22/2024 13:20:15",
"is_violent": 0,
"is_weapon": 0,
"is_ill": 0,
"is_swat": 0,
"is_ciu": 0,
"is_warrant": 0
}
}
...
],
"call_vehicles": [
{
"id": 8,
"vehicle_id": 2,
"type": "RP",
"vehicle": {
"id": 2,
"plate": "abc123",
"model": "Ford F150",
"color": "Green",
"registration_expire": "2024-02-06T06:00:00.000000Z",
"civilian_id": 600613090,
"vehicle_status": 2,
"created_at": "2024-01-08T01:20:08.000000Z",
"updated_at": "2024-01-08T01:20:08.000000Z",
"deleted_at": null,
"impound_ticket_id": null,
"picture": null,
"business_id": null
}
}
...
]
},
]
}
200 with validation errors.
{
"success": false,
"message": "Call not found.",
"data": []
}
Related Information
You can find more information about the other responses for the following
- Vehcile
- Civilian
- Call Log
Still have questions?
Still have questions? Talk to support.