1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-21 01:50:24 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/MakeFolderCopy.txt

21 lines
758 B
Plaintext
Raw Normal View History

2024-08-13 13:36:39 +02:00
 DestinationID = FunctionParameters["Bitrix24_HookSubfolderID"];
FolderID = FunctionParameters["Bitrix24_SubfolderID"];
URL = FunctionParameters["Bitrix24_URL"];
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
OPI_TestDataRetrieval.WriteLog(Result, "MakeFolderCopy (wh)", "Bitrix24");
DestinationID = FunctionParameters["Bitrix24_SubfolderID"];
FolderID = FunctionParameters["Bitrix24_HookSubfolderID"];
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
OPI_TestDataRetrieval.WriteLog(Result, "MakeFolderCopy", "Bitrix24");
Check_BitrixObject(Result);