Set Penal Codes
This API endpoint allows communities with a large number of penal codes to set them easily with a single API call.
This API endpoint requires the Standard version of Sonoran CAD or higher. For more information, see our pricing page.
Set Penal Codes
POST
https://api.sonorancad.com/general/set_penal_codes
This API endpoint allows communities with a large number of penal codes to set them easily with a single API call.
Request Body
Name | Type | Description |
---|---|---|
id | string | Your community's ID |
key | string | Your community's API Key |
type | string | SET_PENAL_CODES |
data | array | Array of request objects |
Penal Code Format
Your penal codes must be sent as a JSON object array in the exact format shown. Depending on how your community's penal codes are structure, you may want to write a script to automate this formatting. Then, send your penal codes via API with something like Postman.
Last updated