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-09-04 15:33:26 +03:00
Token = "4f8db968006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
Name = "Subordinate department";
2025-09-01 14:51:24 +03:00
ParentID = "2516";
2025-07-06 01:01:25 +03:00
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);