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

16 lines
437 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Name = "Main department";
ParentID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
URL = "b24-ar17wx.bitrix24.by";
2025-08-18 16:58:37 +03:00
Token = "9c04a368006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
Name = "Subordinate department";
2025-08-18 16:58:37 +03:00
ParentID = "2502";
2025-07-06 01:01:25 +03:00
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);