TOP

MergeContact()

Part Of: Contact Webservice 3.0

WSDL:

https://webservices.vin65.com/V300/ContactService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V300/ContactService.cfc?wsdl

Description:

Use the MergeContact() function to get a merge one contact into another. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
WebsiteID UUID   Available For Enterprise Webservices
UUID of the Vin65 Website
Not necessary if ContactID is present
Useful if searching by AltContactID or CustomerNumber
and AltContactID or CustomerNumber is not unique across Enterprise
 
ContactID UUID   UUID of the Vin65 Contact
AltContactID String 50    
CustomerNumber Integer    
MergeIntoContactID UUID   UUID of the Vin65 Contact
MergeIntoAltContactID String 50    
MergeIntoCustomerNumber Integer    

Sample Request:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<soap:Body>
  <GetContact>
    <Request>
      <Security>
        <Username>//Your Usernam e//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
      <ContactID></ContactID>
      <AltContactID></AltContactID>
      <CustomerNumber>1234</CustomerNumber>
      <MergeIntoContactID></MergeIntoContactID>
      <MergeIntoAltContactID></MergeIntoAltContactID>
      <MergeIntoCustomerNumber>1235</MergeIntoCustomerNumber>     
    </Request>
  </GetContact>
</soap:Body> 
</soap:Envelope> 

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://sche mas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <MergeContactResponse>
    <MergeContactReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <ContactID>89eab9c7-a2c9-bfd7-e9e9-421b924a56f0</ContactID>
      <MergeIntoContactID>9b0971bd-bab6-f888-9cfc-ab6ba035b9c3</MergeIntoContactID>      
      <RecordCount>1</RecordCount>
    </MergeContactReturn>
  </MergeContactResponse>
</soapenv:Body>
</soapenv:Envelope>   

Page Top