Modify Identifier

This endpoint allows you to add, edit, or remove unit identifiers.

circle-exclamation

Modify Identifier

POST https://api.sonorancad.com/emergency/modify_identifier

This endpoint allows you to retrieve all unit identifiers for a specified account in your community.

Request Body

Name
Type
Description

id*

string

Your community's ID

key*

string

Your community's API Key

type*

string

MODIFY_IDENTIFIER

data*

array

Array of request objects

// ADD or EDIT
{
    "id": 12,
    "accId": "00000000-0000-0000-0000-000000000000",
    "status": 0,
    "isPanic": false,
    "location": "",
    "aop": "Los Santos",
    "data": {
        "unitNum": "A-10",
        "name": "John Doe",
        "district": "Los Santos",
        "department": "LSPD",
        "subdivision": "Patrol",
        "rank": "Officer",
        "group": "CAR-51",
        "communityUserId": "license:abc123"
    },
    "isDispatch": false
}

// REMOVE
"Identifier 123 removed!"

Action Enum

The action property is an enumerator value with the following values:

Enum (Int)
Description

0

ADD

1

EDIT

2

REMOVE

Last updated

Was this helpful?