Documentation

department.get

Gets filtered list of departments.

Parameters

ParameterDescription
sort Sorted-by field
order Sort order
  • ASC - Ascending
  • DESC - Descending
ID Department ID filter
NAME Department name filter
PARENT Parent department filter
UF_HEAD Department head (supervisor) filter
Filter parameters may be stored in arrays.

Call

BX24.callMethod('department.get', {"ID": 222});

Request

https://my.bitrix24.com/rest/department.get.json?ID=222&auth=b961afd4148963c5d54ebeb17123d1fc

Response

{"result":[{"ID":"222","NAME":"Old%20department","SORT":500,"PARENT":"114","UF_HEAD":"11"}],"total":1}

User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019