Match the department based on the department name entered, and return the department ID and name.
Request Code Samples
curl --location --request GET 'https://api.mingdao.com/v3/departments/lookup?name' \
--header 'HAP-Appkey: {{appkey}}' \
--header 'HAP-Sign: {{sign}}'
Responses
application/json {
"data": {
"departments": [
{
"id": "7fb381a3-d559-4b0c-a8fd-e1e8a6272442",
"name": "sales one",
"path": "East China Region/Shanghai Branch/Sales Department"
}
]
},
"success": true
}
Modified at 2025-08-21 09:35:00