55 $params[
'aid'] = \Bitrix\Main\Analytics\Counter::getAccountId();
58 $http = new \Bitrix\Main\Web\HttpClient();
59 $http->setHeader(
"User-Agent",
"X-Bitrix-Sale");
61 $httpResult = $http->get(static::$url.
'?'.http_build_query($params));
63 if ($http->getStatus() == 200)
65 return json_decode($httpResult,
true);