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

18 lines
493 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-07-16 19:45:17 +03:00
DepartmentID = "2418";
2025-07-06 01:01:25 +03:00
ParentID = 7;
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
URL = "b24-ar17wx.bitrix24.by";
2025-07-16 19:45:17 +03:00
Token = "4cc87668006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
2025-07-16 19:45:17 +03:00
DepartmentID = "2420";
2025-07-06 01:01:25 +03:00
Name = "New department";
ParentID = 1;
HeadID = 10;
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, Name, ParentID, HeadID,
Token);