Set Servers

This endpoint allows you to update your CAD's server configuration.

API endpoint requires the Plus version of Sonoran CAD or higher. For more information, see our pricing page.

Set Servers

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

This endpoint allows you to set your community's server configuration and update the live map deployment. This contains additional valuable Live Map configuration data.

Request Body

NameTypeDescription

id

string

Your community's ID

key

string

Your community's API Key

type

string

SET_SERVERS

data

array

Array of request objects

Server config updated
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "SET_SERVERS",
    "data": {
        "servers": [
            {
                "id": 1,
                "name": "Server 1",
                "description": "Main Server",
                "signal": "",
                "mapUrl": "",
                "mapIp": "",
                "listenerPort": 3232,
                "differingOutbound": false, // Different outbound/egress IP than the mapIp
                "outboundIp": "",
                "enableMap": true,
                "isStatic": false,
                "mapType": "NORMAL" // NORMAL, POSTAL, OCRP POSTAL
            }
        ]
        "deployMap": true // Deploy the Live Map with these server changes
    },
}

Last updated