1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UpdateDepartment.txt

22 lines
530 B
Plaintext
Raw Normal View History

2025-10-21 11:36:43 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-07-06 01:01:25 +03:00
2025-10-21 21:43:05 +03:00
DepartmentID = "2850";
2025-07-06 01:01:25 +03:00
ParentID = 7;
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
2025-10-21 11:36:43 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-10-21 21:43:05 +03:00
Token = "0ebbf768006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
2025-10-21 21:43:05 +03:00
DepartmentID = "2852";
2025-07-06 01:01:25 +03:00
Name = "New department";
ParentID = 1;
HeadID = 10;
2025-08-18 16:58:37 +03:00
Result = OPI_Bitrix24.UpdateDepartment(URL
, DepartmentID
, Name
, ParentID
, HeadID
, Token);