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