Provádějte hromadné SMS kampaně, zasílejte upozornění, schůzky nebo oznámení prostřednictvím SMS.
Odesílejte zprávy prostřednictvím automatizovaných digitálních hlasových hovorů na jakékoli telefonní číslo na světě.
Posílejte SMS s certifikovaným obsahem, platné jako spolehlivý důkaz.
Posílejte SMS ze svého e-mailového účtu stejným způsobem, jakým posíláte e-mail
Spouštějte e-mailové marketingové kampaně, automatizujte kampaně a propojte se s e-mailem pokročilým způsobem
Odesílejte certifikovanou komunikaci s certifikovaným e-mailem ze svého e-mailového účtu
Server SMTP pro odesílání e-mailů optimalizovaný pro vylepšení vašich e-mailových marketingových kampaní
Vytvořte vstupní stránky pro své e-mailové kampaně a přilákejte nové zákazníky
Vytvářejte smlouvy a odesílejte je jakýmkoli kanálem, podepisujte smlouvy ručně
Generujte a odesílejte hesla pro jedno použití prostřednictvím libovolného kanálu
Zvyšte zabezpečení svých aplikací implementací dvojitého ověřování uživatelů
Propojte své podnikání s WhatsAPP. Posílejte oznámení a mluvte se svými zákazníky
Automatizujte chatové konverzace se svými zákazníky pomocí chatovacích robotů.
Spojte se s novými klienty díky naší službě Web Chat
Proveďte průzkum kvality a znáte názor svých zákazníků
Věřte svým zákazníkům zasíláním přizpůsobených slevových kupónů.
Automatizujte marketingové kampaně a automaticky získejte věrnost
Generujte QR kódy zcela zdarma z jakékoli adresy URL.
Vytvořte vstupní stránky díky našemu editoru přistání a posílejte je pomocí SMS, e-mailu nebo použijte, jak si přejete.
Vytvořte pro svůj web webový chat WhatsAPP kompatibilní se všemi platformami
Vytvářejte nádherné vlastní formuláře a legálně sestavujte databáze pro své marketingové kampaně
Odesílejte SMS ze svého softwaru pomocí našeho API
Odesílejte certifikované SMS, kontrolujte stav doručení a stahujte certifikáty pomocí našeho API.
Volejte automaticky ze svého softwaru
Odesílejte a automatizujte odesílání e-mailů přes API, propojte svůj software s e-mailovým marketingem
Spojte se se svými zákazníky pomocí WhatsAPP prostřednictvím API
Spravujte chatovací systém z API. Přístup nebo odpověď na konverzace z našeho API.
Spravujte své skupiny (vytvářejte, upravujte nebo mažte skupiny) a kontakty pomocí našeho rozhraní API pro kontakty.
<? $class="group"; $method="creategroup"; $user="user"; $password="password"; $name="test name"; $type="mobile"; $fields="mobile,name,address"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&name=".$name."&type=".$type."&fields=".$fields); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("creategroup"), "user" => urlencode("user"), "password" => urlencode("password"), "name" => urlencode("test name"), "type" => urlencode("mobile"), "fields" => urlencode("mobile,name,address"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("creategroup"), "name" => urlencode("test name"), "type" => urlencode("mobile"), "fields" => urlencode("mobile,name,address"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="creategroup"; $user="user"; $password="password"; $name="test name"; $type="mobile"; $fields="mobile,name,address"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"name":"'.$name.'","type":"'.$type.'","fields":"'.$fields.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="creategroup"; $user="user"; $password="password"; $name="test name"; $type="mobile"; $fields="mobile,name,address"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"name":"'.$name.'","type":"'.$type.'","fields":"'.$fields.'"}'); ?><? $class="group"; $method="getgroupcolumns"; $user="user"; $password="password"; $idgroup=1000; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("getgroupcolumns"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("getgroupcolumns"), "idgroup" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="getgroupcolumns"; $user="user"; $password="password"; $idgroup=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="getgroupcolumns"; $user="user"; $password="password"; $idgroup=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'"}'); ?><? $class="group"; $method="addcolumntogroup"; $user="user"; $password="password"; $idgroup=1000; $field="name"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&field=".$field); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("addcolumntogroup"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "field" => urlencode("name"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("addcolumntogroup"), "idgroup" => urlencode(1000), "field" => urlencode("name"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="addcolumntogroup"; $user="user"; $password="password"; $idgroup=1000; $field="name"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","field":"'.$field.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="addcolumntogroup"; $user="user"; $password="password"; $idgroup=1000; $field="name"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","field":"'.$field.'"}'); ?><? $class="group"; $method="deletecolumnfromgroup"; $user="user"; $password="password"; $idgroup=1000; $field="name"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&field=".$field); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("deletecolumnfromgroup"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "field" => urlencode("name"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("deletecolumnfromgroup"), "idgroup" => urlencode(1000), "field" => urlencode("name"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="deletecolumnfromgroup"; $user="user"; $password="password"; $idgroup=1000; $field="name"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","field":"'.$field.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="deletecolumnfromgroup"; $user="user"; $password="password"; $idgroup=1000; $field="name"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","field":"'.$field.'"}'); ?><? $class="group"; $method="deletegroup"; $user="user"; $password="password"; $idgroup=1000; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("deletegroup"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("deletegroup"), "idgroup" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="deletegroup"; $user="user"; $password="password"; $idgroup=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="deletegroup"; $user="user"; $password="password"; $idgroup=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'"}'); ?><? $class="group"; $method="assigncountrytogroup"; $user="user"; $password="password"; $idgroup=1000; $countryiso3="esp"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&countryiso3=".$countryiso3); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("assigncountrytogroup"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "countryiso3" => urlencode("esp"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("assigncountrytogroup"), "idgroup" => urlencode(1000), "countryiso3" => urlencode("esp"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="assigncountrytogroup"; $user="user"; $password="password"; $idgroup=1000; $countryiso3="esp"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","countryiso3":"'.$countryiso3.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="assigncountrytogroup"; $user="user"; $password="password"; $idgroup=1000; $countryiso3="esp"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","countryiso3":"'.$countryiso3.'"}'); ?><? $class="group"; $method="getcontacts"; $user="user"; $password="password"; $idgroup=1000; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("getcontacts"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("getcontacts"), "idgroup" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="getcontacts"; $user="user"; $password="password"; $idgroup=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="getcontacts"; $user="user"; $password="password"; $idgroup=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'"}'); ?><? $class="group"; $method="getcontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&idcontact=".$idcontact); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("getcontact"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "idcontact" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("getcontact"), "idgroup" => urlencode(1000), "idcontact" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="getcontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","idcontact":"'.$idcontact.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="getcontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","idcontact":"'.$idcontact.'"}'); ?><? $class="group"; $method="addcontact"; $user="user"; $password="password"; $idgroup=1000; $contact="mobile:123456789,name:testname"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&contact=".$contact); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("addcontact"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "contact" => urlencode("mobile:123456789,name:testname"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("addcontact"), "idgroup" => urlencode(1000), "contact" => urlencode("mobile:123456789,name:testname"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="addcontact"; $user="user"; $password="password"; $idgroup=1000; $contact="mobile:123456789,name:testname"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","contact":"'.$contact.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="addcontact"; $user="user"; $password="password"; $idgroup=1000; $contact="mobile:123456789,name:testname"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","contact":"'.$contact.'"}'); ?><? $class="group"; $method="addcontactlist"; $user="user"; $password="password"; $idgroup=1000; $contacts="[{"name":"Test","mobile":"34600000000"},{"name":"Test","mobile":"34600000001"}]"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&contacts=".$contacts); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("addcontactlist"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "contacts" => urlencode("[{"name":"Test","mobile":"34600000000"},{"name":"Test","mobile":"34600000001"}]"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("addcontactlist"), "idgroup" => urlencode(1000), "contacts" => urlencode("[{"name":"Test","mobile":"34600000000"},{"name":"Test","mobile":"34600000001"}]"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="addcontactlist"; $user="user"; $password="password"; $idgroup=1000; $contacts="[{"name":"Test","mobile":"34600000000"},{"name":"Test","mobile":"34600000001"}]"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","contacts":"'.$contacts.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="addcontactlist"; $user="user"; $password="password"; $idgroup=1000; $contacts="[{"name":"Test","mobile":"34600000000"},{"name":"Test","mobile":"34600000001"}]"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","contacts":"'.$contacts.'"}'); ?><? $class="group"; $method="modifycontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; $contact="mobile:123456789,name:testname"; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&idcontact=".$idcontact."&contact=".$contact); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("modifycontact"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "idcontact" => urlencode(1000), "contact" => urlencode("mobile:123456789,name:testname"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("modifycontact"), "idgroup" => urlencode(1000), "idcontact" => urlencode(1000), "contact" => urlencode("mobile:123456789,name:testname"), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="modifycontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; $contact="mobile:123456789,name:testname"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","idcontact":"'.$idcontact.'","contact":"'.$contact.'"}'); ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="modifycontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; $contact="mobile:123456789,name:testname"; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","idcontact":"'.$idcontact.'","contact":"'.$contact.'"}'); ?><? $class="group"; $method="deletecontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; $result = file_get_contents("https://www.afilnet.com/api/http/?class=".$class."&method=".$method."&user=".$user."&password=".$password."&idgroup=".$idgroup."&idcontact=".$idcontact); ?>
<? $url = "https://www.afilnet.com/api/http/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("deletecontact"), "user" => urlencode("user"), "password" => urlencode("password"), "idgroup" => urlencode(1000), "idcontact" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); $result = curl_exec($ch); curl_close($ch); ?>
<? $url = "https://www.afilnet.com/api/basic/"; $fields = array( "class" => urlencode("group"), "method" => urlencode("deletecontact"), "idgroup" => urlencode(1000), "idcontact" => urlencode(1000), ); foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string, '&'); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_USERPWD, $user.":".$password); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); curl_setopt($ch,CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch,CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if($httpcode == 401) { // LOGIN ERROR } else { // SUCCESS LOGIN } ?>
<? # This example requires nusoap require_once('nusoap.php'); $class="group"; $method="deletecontact"; $user="user"; $password="password"; $idgroup=1000; $idcontact=1000; # Create SOAP Client $soapclient = new soapclient('https://www.afilnet.com/api/soap/index.php?wsdl'); # Call to method $result = $soapclient->call($user, $password, $class, $method, '{"idgroup":"'.$idgroup.'","idcontact":"'.$idcontact.'"}'); ?>
Objevte výhody a nevýhody každého z našich API. Zjistěte, které API je pro váš software nejlepší v jazyce PHP.
Toto rozhraní API vám umožňuje připojit se k nám z PHP a odesílat požadavky prostřednictvím požadavků HTTP GET. Tento požadavek odešle parametry ve stejné adrese URL jako požadavek.
Rozhraní API požadavku POST vám umožňuje připojit se k našemu rozhraní API z PHP odesláním parametrů požadavku prostřednictvím parametrů HTTP POST. Informace jsou odesílány nezávisle na URL.
Základní autentizační API umožňuje použití požadavků GET a POST v PHP s další vrstvou zabezpečení, protože v tomto případě se uživatelské jméno a heslo zasílají v záhlaví požadavku.
SOAP umožňuje posílat požadavky ve formátu XML s PHP, SOAP přidává další vrstvu zabezpečení žádostem API.
Naše JSON API vám umožňuje odesílat požadavky ve formátu JSON s PHP, navíc toto API přidává do ověřování protokol oAuth 2.0, který vám umožňuje přidat další vrstvu zabezpečení.
Abyste měli přístup k API, musíte být klientem Afilnetu. Registrace zabere několik minut.
Naše společnost vám nabídne zkušební zůstatek, který vám umožní testovat s API, které potřebujete.
Proveďte integraci API pomocí programovacího jazyka dle vašeho výběru. Pokud máte nějaké dotazy nebo návrhy ohledně API, kontaktujte nás
Vše připraveno !, se podařilo zlepšit komunikaci s Afilnet. Jsme tu, abychom podporovali naše API, když to potřebujete
V případě dotazů kontaktujte náš tým prostřednictvím kontaktních metod, které nabízíme. Náš tým se vám pokusí nabídnout okamžité řešení a pomůže vám s integrací našeho API do vašeho softwaru.
Zaregistrujte se zdarma a vyzkoušejte Afilnet! Nabízíme vám bezplatnou zkušební verzi našich služeb. *
Společnost *
název *
E-mailem *
Telefonní číslo *
(*) Akce platí pouze pro společnosti, které nikdy předtím službu Afilnet nevyužívaly. Při žádosti o bezplatný zůstatek může Afilnet požádat o ověření informací o vaší společnosti