1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/GetDepartments.txt

13 lines
446 B
Plaintext
Raw Normal View History

2024-08-13 13:35:37 +02:00
 URL = FunctionParameters["Bitrix24_URL"];
DepartmentID = FunctionParameters["Bitrix24_DepID"];
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
OPI_TestDataRetrieval.WriteLog(Result, "GetDepartments (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
HeadID = 1;
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);