CheckDuplicateContact Method

The CheckDuplicateContact method checks the contact information submitted in the request XML against existing contacts in the SmartOffice database. The method returns a value of true or false to indicate whether a matching contact exists. You can check for duplicates by first name, last name, Tax ID and birth date.

The CheckDuplicateContact method is invoked using the MethodOperation.

Parameters

Name Type
LastName String
FirstName String
TaxID String
Dob String
LastName and FirstName are required.

Examples

Request XML
<request version='1.0'>
  <header>
    <office>myoffice</office>
    <user>jdoe</user>
    <password>password</password>
  </header>
  <method>
    <CheckDuplicateContact>
      <LastName>Bates</LastName>
      <FirstName>Genevieve</FirstName>
      <TaxID>111111111</TaxID>
      <Dob>09-08-1968</Dob>
    </CheckDuplicateContact>
  </method>
</request>

Response XML
<response version="1.0">
  <header>
    <sessionClosed/>
  </header>
  <method>
    <CheckDuplicateContact>true</CheckDuplicateContact>
  </method>
  <_status>OK</_status>
  <_systime>2015-06-09T18:30:22</_systime>
  <!--Cost 25 mill seconds.-->
</response>

-- DinosLambropoulos - 09 Jun 2015
Topic revision: 12 Jun 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