DelContact Method

The DelContact method removes a contact from a set.

The DelContact method is invoked using the MethodOperation.

Note that this method deletes only the contact's set membership, not the contact record itself.

Parameters

Name Type Description
ContactID String Required. This is the object ID of the contact that will be removed from the set.
SetOfficeID String Required. Use the office identifier only, not the full object ID (e.g., 1 instead of Office.1).
SetID String Required. Use the set identifier only, not the full object ID (e.g., 20 instead of Set.1.20).

Examples

Request XML
<request version='1.0'>
    <header>
        <office>myoffice</office>
        <user>jdoe</user>
        <password>password</password>
    </header>
    <method>
        <DelContact>
            <ContactID>Contact.1.14</ContactID>
            <SetOfficeID>1</SetOfficeID>
            <SetID>20</SetID>
        </DelContact>
    </method>
</request>

Response XML
<response version="1.0">
    <header>
        <sessionClosed/>
    </header>
    <method>
        <DelContact>
            <DeletionResult Contact="1"/>
        </DelContact>
    </method>
    <_status>OK</_status>
    <_systime>2015-10-12T18:05:24</_systime>
    <!--Cost 26 mill seconds.-->
</response>

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