Custom Records
Sonoran CAD allows you to access, create, update, and remove highly customize records and reports via API.
Last updated
Sonoran CAD allows you to access, create, update, and remove highly customize records and reports via API.
Last updated
All custom records and reports utilize the same common formatting. You can manage custom records via the endpoints shown below.
Access your existing custom record types built from the CAD's custom record editor.
Add a new custom record to your community.
Modify and update an existing record in your community.
Remove an existing record from your community.
Custom records require a strict format with several dozen different data fields. Due to the complexity, it is highly recommended to create a new custom record template in the CAD UI, and then retrieve the record template for adding new records.
This is a unique ID for this record type. It is highly recommended to get all of this data from an existing custom record template that you have created in the CAD.
The record "type" is an enumerator used to distinguish the category of the custom record/report.
Enumerator (Int) | DMV Records | Warrant/BOLO Records |
---|---|---|
Enum
Description
2
Custom Warrant
3
Custom BOLO
4
Custom License
5
Custom Vehicle Registration
7
Custom Character
8
Custom Police Record
9
Custom Police Report
10
Custom Medical Record
11
Custom Medical Report
12
Custom Fire Record
13
Custom Fire Report
14
Custom DMV Record
15
Custom Law Record
16
Custom Law Report
Enum
Description
0
Custom
1
Flags
5
Speed
6
Charges
9
Linked Records
INPUT
Standard Textbox
TEXTAREA
Multi-line Textbox
ADDRESS
SELECT
Dropdown (Uses options
array)
STATUS
DB Status Enums (See below)
DATE
Date Picker
TIME
Time Picker
IMAGE
Image URL Viewer/Uploader
CHECKBOXES
List of Checkboxes (Uses options
array)
LABEL
Text Label
UNIT_NUMBER
Auto filled unit number
UNIT_NAME
Auto filled unit name
UNIT_RANK
Auto filled unit rank
UNIT_AGENCY
Auto filled unit agency
UNIT_DEPARTMENT
Auto filled unit department
UNIT_SUBDIVISION
Auto filled unit subdivision
UNIT_AGENCY_LOCATION
Auto filled unit agency location
UNIT_AGENCY_ZIP
Auto filled unit agency zip
UNIT_LOCATION
Auto filled unit location
0
PENDING
ACTIVE
1
APPROVED
CLOSED
2
REJECTED
N/A
Token
Description
#
Numeric
S
Letter A-Z
X
Alphanumeric