26if (!defined(
'ALLOWED')) die(
'Appel direct ne sont pas permis');
33}
catch (\Exception
$e) {
34 echo
$e->getMessage();
44 "requesterMemberStateCode" =>
"",
45 "requesterNumber" =>
"",
48 "traderPostalCode" =>
"",
50 "traderCompanyType" =>
""
54curl_setopt(
$curl, CURLOPT_HTTPHEADER, array(
55 "Content-Type: application/json",
56 "accept: application/json"
59curl_setopt(
$curl, CURLOPT_POST,
true);
60curl_setopt(
$curl, CURLOPT_RETURNTRANSFER,
true);
61curl_setopt(
$curl, CURLOPT_POSTFIELDS, json_encode(
$array));
67 $obj->html=
_(
'Erreur');
74if (isset (
$obj->actionSucceed) &&
$obj->actionSucceed ==
false)
78 $obj->html=
_(
'Erreur');
83if (
$obj->valid ==
true) {
86 $obj->name = str_replace(
"\n",
' ',
$obj->name ??
"");
87 $obj->address = str_replace(
"\n",
' ',
$obj->address ??
"");
record_log($p_message)
Record an error message into the log file of the server or in the log folder of NOALYSS Record also t...
catch(\Exception $e) $vatnr
_("actif, passif,charge,...")
const VATCHECK_URL(!defined("DEFAULT_SERVER_VIDEO_CONF"))
json_response($p_answer)
Send header and json object.