getDepartment
READGet department.
POST /api/v1/people/getDepartment
curl -X POST '<your-host>/api/v1/people/getDepartment' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"departmentId": "string"
}'Response
{
"companyId": "string",
"createdAt": "string",
"createdBy": "string",
"customFields": "…",
"id": "string",
"name": "string",
"parentDepartmentId": "string",
"tags": [
"string"
],
"updatedAt": "string",
"updatedBy": "string"
}Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"departmentId": {
"type": "string"
}
},
"required": [
"departmentId"
]
}