Php Can';t从DisputeSuite连接到CRM API

Php Can';t从DisputeSuite连接到CRM API,php,vb.net,api,soap,Php,Vb.net,Api,Soap,我正在尝试使用CRM中名为DisputeSuite的API。我得到的错误是“进程名无效”。我有正确的进程名值,所以我的问题似乎是把它放在哪里 以下是我的代码: $compKey = 'xxxx'; $apiKey = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; $soapURL = "https://www.securecrmsite.com/Modules/System/API.asmx?wsdl"; $soapCredentials = array('Cr

我正在尝试使用CRM中名为DisputeSuite的API。我得到的错误是“进程名无效”。我有正确的进程名值,所以我的问题似乎是把它放在哪里

以下是我的代码:

$compKey = 'xxxx';
$apiKey = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx';
$soapURL = "https://www.securecrmsite.com/Modules/System/API.asmx?wsdl";
$soapCredentials = array('Credentials'=>array('CompanyKey' => $compKey, 'APIKey' => $apiKey));
$soapFunctionParameters = array('FirstName' => "From", 'LastName' => "API");
$client = new SoapClient($soapURL, array('trace' => true));
$client->Process($soapCredentials, "CustomerInsert", $soapFunctionParameters);
echo $client->__getLastResponse();
这是API文档。(它们只有VB版本。)

如果您能提供任何帮助,我们将不胜感激,谢谢

您可以将其用作:

$client = new SoapClient('https://www.securecrmsite.com/Modules/System/API.asmx?WSDL');
$response = $client->Process(array('Credentials' => (array('CompanyKey' => '0000','APIKey' => 'KEY' )),'ProcessName' => 'UsersSearch','Parameters' => (array('Name' => 'a' )) ));

print_r($response);
$client = new SoapClient('https://www.securecrmsite.com/Modules/System/API.asmx?WSDL');
$response = $client->Process(array('Credentials' => (array('CompanyKey' => '0000','APIKey' => 'KEY' )),'ProcessName' => 'UsersSearch','Parameters' => (array('Name' => 'a' )) ));

print_r($response);