1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-02 22:05:37 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/CreateDepartment.txt

16 lines
452 B
Plaintext
Raw Normal View History

2024-12-08 12:04:47 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ps5...";
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";
2024-12-05 15:25:02 +03:00
Token = "f3925167006e9f06006b12e400000001000...";
Name = "Subordinate department";
2024-12-02 18:50:41 +03:00
ParentID = "1152";
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);