2require($_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/include/prolog_before.php");
4Bitrix\Main\Loader::includeModule(
'sale');
6$request = \Bitrix\Main\Context::getCurrent()->getRequest();
8\Bitrix\Sale\Rest\Synchronization\LoggerDiag::addMessage(
'_POST',var_export($request->getPostList()->toArray(),
true));
10if($request->getPost(
'event') !==
null)
12 Bitrix\Main\Loader::includeModule(
'sale');
14 \Bitrix\Sale\Rest\Synchronization\LoggerDiag::addMessage(
'_POST',var_export($request->getPostList(),
true));
17 $b24->incomingReplication();
20require($_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/include/epilog_after.php");