department.get
Gets filtered list of departments.
Parameters
Parameter | Description |
---|---|
sort | Sorted-by field |
order | Sort order
|
ID | Department ID filter |
NAME | Department name filter |
PARENT | Parent department filter |
UF_HEAD | Department head (supervisor) filter |
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}
© «Bitrix24», 2001-2024