doumei2023 2013-07-11 08:03
浏览 10
已采纳

iContact使用API​​2.2中的电子邮件进行搜索

I have faced an issue while integrating the iContact API 2.2 The problem is i cannot search a contact details with email. the result is null nothing return .

what i did is :

$res = $oiContact->getContactWithEmail("myemail@gmail.com");//not working
echo "<pre/>";
print_r($res);

In the API library :

public function getContactWithEmail($Email) {
        // Make the call and return the data
        $this->aSearchParameters['status'] = 'total';
        $this->aSearchParameters['email'] = $Email;
        //$this->aSearchParameters['mytermSearchType'] = 'eq';
        return $this->makeCall("/a/{$this->setAccountId()}/c/{$this->setClientFolderId()}/contacts", 'GET', null, 'contact');
    }

When i try to search with contact Id I got full details of the contact but email is not working how ?

is that not possible with this icontact API.2.2

But i found something similar in C# .NET here

Any solution is available with php ?

  • 写回答

1条回答 默认 最新

  • du3932066 2013-08-31 10:10
    关注

    Finally I found solution for this problem.

    Also i found 2 more additional methods for iContact API using php. If any one face the same issue or some one will works on iContact api it will help them, click here to view in details.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?