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}


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