require_once APPPATH.'third_party/infusionsoft_api/iSDK/src/isdk.php';
class Infusion
{
$app = new iSDK;
if($app->cfgCon("infusionapi",$app_name, $api_key)) {
$conDat = array(
'FirstName' => 'ss',
'LastName' => 'aa',
'Email' => 'sachin.patil@gmail.com',
'StreetAddress1' => '11'
);
$conId = $app->addCon("Contact", $conDat);
echo "sss".$conId;
exit;
}
}
答案 0 :(得分:0)
Sachin,您是否正在检查是否生成了错误?如果抛出错误,您将不会返回任何返回数据,但错误将等待结果faultString()中的查看和结果faultCode()