mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-26 05:37:27 +02:00
22 lines
612 B
Plaintext
22 lines
612 B
Plaintext
URL = FunctionParameters["Bitrix24_URL"];
|
|
|
|
DepartmentID = FunctionParameters["Bitrix24_HookDepID"];
|
|
ParentID = 7;
|
|
|
|
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
|
|
|
|
URL = FunctionParameters["Bitrix24_Domain"];
|
|
Token = FunctionParameters["Bitrix24_Token"];
|
|
|
|
DepartmentID = FunctionParameters["Bitrix24_DepID"];
|
|
Name = "New department";
|
|
ParentID = 1;
|
|
HeadID = 10;
|
|
|
|
Result = OPI_Bitrix24.UpdateDepartment(URL
|
|
, DepartmentID
|
|
, Name
|
|
, ParentID
|
|
, HeadID
|
|
, Token);
|