1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/MoveFileToFolder.txt
2024-08-13 14:35:37 +03:00

20 lines
664 B
Plaintext

FolderID = FunctionParameters["Bitrix24_HookSubFolderID"];
FileID = FunctionParameters["Bitrix24_FileID"];
URL = FunctionParameters["Bitrix24_URL"];
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
OPI_TestDataRetrieval.WriteLog(Result, "MoveFileToFolder (wh)", "Bitrix24");
FolderID = FunctionParameters["Bitrix24_SubFolderID"];
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
OPI_TestDataRetrieval.WriteLog(Result, "MoveFileToFolder", "Bitrix24");
Check_BitrixObject(Result);