New Record
Sonoran CAD allows you to easily add new custom records and reports to your community via API.
New Record
Request Body
Name
Type
Description
{NEW RECORD OBJECT}INVALID REQUEST TYPE
INVALID COMMUNITY ID
API IS NOT ENABLED FOR THIS COMMUNITY
INVALID API KEY "id": "YOUR_COMMUNITY_ID",
"key": "YOUR_API_KEY",
"type": "NEW_RECORD",
"data": [
{
"user": "STEAM:1234", // API ID or user UUID/GUID that 'owns' this record
"useDictionary": true, // OPTION 1: Key/Value from template
"recordTypeId": 7, // OPTION 1: Custom template ID number
"replaceValues": {
// Field UID and Value
"first": "Brian",
"last": "Sosnowski"
},
"record": null, // OPTION 2: Full raw JSON structure
"deleteAfterMinutes": 30 // OPTIONAL: Delete record after X minutes (temporary record)
}
]
}Formatting Data for Custom Records
API Options for Adding and Modifying RecordsLast updated
Was this helpful?

