TOP

AddUpdateContactType()

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 AddUpdateContactType() function to either add a new contact type or update a current contact type. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
WebsiteID UUID*   Only required for Enterprise Webservices
UUID of the Vin65 Website
ContactTypeID UUID   UUID of the Vin65 Contact Type 
ContactType String 50*    
IsPublic Boolean False  
DateAdded DateTime   Controlled by Vin65 System
DateModified DateTime   Controlled by Vin65 System

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>
  <AddUpdateContactType>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <ContactType>
        <WebsiteID>71e67a5c-2264-112b-b1f4-a6d602ad8bb4</WebsiteID>
        <ContactTypeID>43e15e63-2264-112b-b157-70b1cc864227</ContactTypeID>
        <ContactType>Employee</ContactType>
        <IsPublic>False</IsPublic>
      </ContactType>
      <Mode>Strict</Mode> 
    </Request>
</AddUpdateContactType>
</soap:Body>
</soap:Envelope>  

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <AddUpdateContactTypeResponse>
    <AddUpdateContactTypeReturn>
      <Errors></Errors> 
      <IsSuccessful>true</IsSuccessful>
      <ContactTypeID>43e15e63-2264-112b-b157-70b1cc864227</ContactTypeID>
      <RecordCount>1</RecordCount>
    </AddUpdateContactTypeReturn>
  </AddUpdateContactTypeResponse>
</soapenv:Body>
</soapenv:Envelope> 

Page Top