1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-16 04:03:20 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/CreateDepartment.txt
T
Vitaly the Alpaca (bot) cd3c879cc9 Main build (Jenkins)
2025-02-08 15:26:21 +03:00

16 lines
452 B
Plaintext
Vendored

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";
Token = "9d50a767006e9f06006b12e400000001000...";
Name = "Subordinate department";
ParentID = "1460";
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);