Lookup By Custom Search

Sonoran CAD has additional record lookup capabilities via custom search types.

Lookup By Value

POST https://api.sonorancad.com/general/lookup_custom

The lookup name endpoint allows you to retrieve all records associated with a specific value.

Request Body

Name
Type
Description

id

string

Your community's ID

key

string

Your community's API Key

type

string

LOOKUP_INT

data

array

Array containing a lookup information object

[] // Array of records

API Call Example

{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "LOOKUP_INT",
    "data": [
        {
            "map": "ssn", // Unique Field ID for the custom search type
            "value": "Some Search Input",
            "types": [2, 3], // Search only for warrant and BOLO records
            "partial": true // Partial or exact string search from value
        }
    ]
}

The search map is the unique Custom Record Field ID used in your custom search type.

Last updated

Was this helpful?