Documentation

department.add

This method creates new department. Available only for users with permissions to edit Company Structure.

Parameters

ParameterDescription
NAME Department name (required).
SORT Department sort parameter.
PARENT Parent department ID.
UF_HEAD Department head ID.

Call

BX24.callMethod('department.add', {"NAME": "Department", "PARENT": 155, "UF_HEAD": 1});

Request

https://my.bitrix24.com/rest/department.add.json?NAME=Department&PARENT=155&UF_HEAD=1&auth=1b2234a7412080205f4318e42c7298dc

Response

{"result":222}


© «Bitrix24», 2001-2022
Up