Skip to main content

Last updated: 2024-06-07


GetDeletedContacts Method


In this topic:


Overview


The GetDeletedContacts method returns the object IDs of all contacts that exist in the Deleted Records area of SmartOffice.


The GetDeletedContacts method is invoked using the method operation.


Parameters


This method takes no parameters.


Example


Here is how the request is sent:


XML
<request version='1.0'>
  <header>...</header>
    <method>
      <GetDeletedContacts/>
    </method>
</request>

The response returns the deleted contacts' object IDs:


XML
<response version="1.0">
  <header>
    <sessionClosed />
  </header>
  <method>
    <GetDeletedContacts>
      <Contact id="Contact.1.88" _type="obj" />
      <Contact id="Contact.1.90" _type="obj" />
    </GetDeletedContacts>
  </method>
  <_status>OK</_status>
  <_systime>2016-04-28T22:34:08</_systime>
  <!-- Cost 16 mill seconds. -->
</response>