1
내 있는데 CreateContact WSDL 방법은 다음과 같습니다마이크로 소프트 CRM 2011 - 엔티티 ID가 업데이트 (PHP)을 지정해야합니다
try {
$options = array(
'soap_version'=>SOAP_1_2,
'exceptions'=>true,
'trace'=>1,
'cache_wsdl'=>WSDL_CACHE_NONE
);
$client = new SoapClient('', $options);
} catch (Exception $e) {
echo $e->getMessage();
}
try {
$response=$client->CreateContact(array(
'_contactid'=>"",
'_firstname'=>"$_firstname",
'_lastname'=>"$_lastname"));
}
catch (Exception $e)
{
echo 'Caught exception: ', $e->getMessage(), "\n";
}
: 잘 작동하는 새 연락처를 만들 PHP를 사용하고
<CreateContact xmlns="">
<_contactId>string</_contactId>
<_firstname>string</_firstname>
<_lastname>string</_lastname>
</CreateContact>
(연락처를 업데이트하기 위해) 기존 "_contactid"를 지정하면 "Entity Id가 Update에 지정되어야합니다"라는 메시지가 나타납니다.