The
DelContactSubObjs method deletes all phone number, address and e-mail/web address entries from a contact record.
The
DelContactSubObjs method is invoked using the
MethodOperation.
Parameters
Examples
The following example deletes all phone numbers, addresses and e-mail/web addresses from a contact. The response displays a count of the number of each record type deleted.
Request XML
<request version='1.0'>
<header>
<office>myoffice</office>
<user>jdoe</user>
<password>password</password>
</header>
<method>
<DelContactSubObjs>
<ContactID>Contact.1.18</ContactID>
</DelContactSubObjs>
</method>
</request>
Response XML
<response version="1.0">
<header>
<sessionClosed/>
</header>
<method>
<DelContactSubObjs>
<DeletionResult Addresses="2" Phones="2" Webaddresses="0"/>
</DelContactSubObjs>
</method>
<_status>OK</_status>
<_systime>2015-10-12T18:32:35</_systime>
<!--Cost 69 mill seconds.-->
</response>