1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-17 12:06:34 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/CreateDepartment.txt

16 lines
452 B
Plaintext
Raw Normal View History

2025-01-18 17:35:34 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Name = "Main department";
ParentID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
2024-09-21 10:57:02 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-01-27 21:50:57 +03:00
Token = "b4c59767006e9f06006b12e400000001000...";
Name = "Subordinate department";
2025-01-11 21:13:24 +03:00
ParentID = "1460";
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);