1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-25 02:42:28 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/RenameFolder.txt

16 lines
559 B
Plaintext
Raw Normal View History

2024-08-13 13:35:37 +02:00
 Name = "New catalog";
Filename2 = "New folder 2";
FolderID2 = FunctionParameters["Bitrix24_HookFolderID"];
URL = FunctionParameters["Bitrix24_URL"];
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
OPI_TestDataRetrieval.WriteLog(Result, "RenameFolder (wh)", "Bitrix24");
FolderID = FunctionParameters["Bitrix24_FolderID"];
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);