mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-25 02:42:28 +02:00
16 lines
559 B
Plaintext
16 lines
559 B
Plaintext
|
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);
|