URL = FunctionParameters["Bitrix24_URL"]; FolderID = FunctionParameters["Bitrix24_FolderID"]; Result = OPI_Bitrix24.RestoreFolder(URL, FolderID); OPI_TestDataRetrieval.WriteLog(Result, "RestoreFolder (wh)", "Bitrix24"); URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);