从Nutshell API检索潜在客户信息时出错

时间:2016-03-14 15:12:10

标签: php api

我有这个错误:

  

服务器错误。 500.网站在检索本地主机时遇到错误:8888 / mars / examples / retrieve.php。它可能已关闭以进行维护或配置不正确。

我当前的Retrieve.php文件,编辑身份验证密钥和用户名:

#!/usr/bin/env php
<?php

// Configuration:
$apiKey   = 'AUTH KEY';
$username = 'AUTH USERNAME';
// End of configuration

require_once('../NutshellApi.php');
$api = new NutshellApi($username, $apiKey);



$params = array(
    'findLeads' => array('Status' =>0),
);

$result = $api->findLeads ($params);
var_dump($result);


echo "\n";

我已放置the file system on dropbox

0 个答案:

没有答案
相关问题