Skip to main content

Last updated: 2024-06-07


GetDeletedPolicies Method


In this topic:


Overview


The GetDeletedPolicies method returns the object IDs of all insurance policies that exist in the Deleted Records area of SmartOffice.


The GetDeletedPolicies 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>
      <GetDeletedPolicies/>
    </method>
</request>

The response returns the deleted policies' object IDs:


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