Business Contact Department Filter API

Retrieve department and subdepartment filter options for people search.
ENDPOINTS
POST /api/v1/businessContact/department

Request parameters

No request body required.

curl https://api.tradedata.io/api/v1/businessContact/department \
  -H "Authorization: Bearer yourTokenHere" \
  -H "Content-Type: application/json" \
  -d '{}'

Response parameters

data.key

string

Department key. Use as person_department_or_subdepartments.

  • Example: c_suite

data.name

string

Display name.

  • Example: C-Suite

data.subdepartment

array

Nested subdepartments, each with the same key, name, and subdepartment structure.

Response Example
{
    "code": 200,
    "success": true,
    "data": [
        {
            "key": "c_suite",
            "name": "C-Suite",
            "subdepartment": [
                {
                    "key": "executive",
                    "name": "Executive",
                    "subdepartment": []
                }
            ]
        }
    ],
    "msg": "success",
    "total": 0,
    "pageSize": 0,
    "current": 0,
    "sumResult": null
}