News

Backend Integration with exZact

Couple days ago we received an email from a consulting firm in Mexico asking how to use our JSON feed to integrate data into their CRM system. We send back the following PHP script:

<?
function jsonFeed($username, $password, $tableName, $nvp = ”)
{
$url = “https://www.iformbuilder.com/exzact“;
echo $url;
$jsonEndpoint = “$url/dataJSON.php”;
if ($nvp!=”) $nvpStr = “&$nvp”;
else $nvpStr = ”;
$nvpreq = “USERNAME=$username&PASSWORD=$password&TABLE_NAME=$tableName$nvpStr”;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $jsonEndpoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $nvpreq);
$httpResponse = curl_exec($ch);
if(!$httpResponse) {
echo ‘Error: ‘.curl_error($ch).’(‘.curl_errno($ch).’)';
}
$dataFeed = json_decode($httpResponse, true);

return $dataFeed;
}

$d = jsonFeed(“demo”, “demoPassword”, “demoTableName”);

print_r($d);
?>

Here is what Anton had to say after implementing it:

I’m very exciting about this platform, it is the first that I try for iPhone and I can say its the best I’ve seen so far (website wise) and the most usable one plus it allows me to develop around it using any coding language to integrate to  my legacy CRM systems. Integration was key to us and this platform demonstrated to be the perfect choice for us. ExZact was a no brainer!.

Anton Krall
Director General
Intruder Consulting

Wish you all the best Anton!

iFormBuilder Mobile Platform: Free Your Data, Get Mobile Data Collection Today