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}
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019