Get Departments

Provides all departments and their ranks (and their associated IDs)

Get Departments

POST https://api.sonorancms.com/general/get_departments

Get a Sonoran CMS community account's ranks by account ID, API ID, or username.

Request Body

NameTypeDescription

id*

string

Community ID

key*

string

API Key

type*

string

GET_COM_ACCOUNT

data*

array

Array of request objects

[
    "4298c76d-a1ee-46dc-b33c-8daf2e2280dd", // UUID of Rank
    ...
]
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_DEPARTMENTS"
}

Last updated