bx24_departments
Manage Bitrix24 departments with CRUD operations, list/filter organization structure, and retrieve department IM details.
Instructions
Bitrix24 departments (org structure): CRUD + IM dept info. Methods department., im.department. (REST 1.0 + 3.0). RU/EN: отдел, подразделение, оргструктура, найти отдел / department, org structure, find department.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Entity ID | |
| order | No | Order object (e.g. { 'ID': 'DESC' }) | |
| start | No | Pagination offset (number of records to skip) | |
| action | Yes | Operation to perform: - "get": Get a department by ID - "list": List/filter departments - "add": Create a department - "update": Update a department - "delete": Delete a department (destructive) - "get_all": Describe department fields - "fields": Describe department fields - "im_get": Get IM info for a department | |
| fields | No | Department fields: NAME, PARENT, SORT, UF_HEAD | |
| filter | No | Filter object (e.g. { '>OPPORTUNITY': 10000, 'STAGE_ID': 'WON' }) | |
| select | No | Array of field names to return (projection) | |
| confirm | No | Set to true to confirm destructive actions when BX24_CONFIRM_DESTRUCTIVE is enabled. |