DelContactSubObjs Method

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

Name Type Description
ContactID String Required. This is the object ID of the contact record.

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>
Topic revision: 12 Oct 2015, DinosLambropoulos
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback