URL = FunctionParameters["Bitrix24_URL"]; FileID = FunctionParameters["Bitrix24_FileID"]; Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID); OPI_TestDataRetrieval.WriteLog(Result, "MarkFileAsDeleted (wh)", "Bitrix24"); URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);