TOP

AddUpdateTask()

Part Of: Task Webservice 3.0

WSDL:

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

Australian URL:

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

Description:

Use the AddUpdateTask() function to either add a new task or update a current task. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
WebsiteID* UUID   Only required for Enterprise Webservices
UUID of the Vin65 Website
TaskID UUID   UUID of the Vin65 Note 
AssignToID* UUID    
Subject* String 255    
DueDate* Date    
Comments String    
RelatedTo* Enumerated
("Contact", "Order", "Product")
   
KeyCodeID* UUID   UUID of either the Contact, Order or Product in Vin65
SendEmailNotification Boolean False  
EmailTo* String 255   Required if SendEmailNotification is True
IsComplete 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>
  <AddUpdateTask>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <Task>
        <WebsiteID>71e67a5c-2264-112b-b1f4-a6d602ad8bb4</WebsiteID>
        <TaskID>43e15e63-2264-112b-b157-70b1cc864227</TaskID>
        <AssignToID>5EA8FE81-CAF1-906E-9C5F-E6A6FCAECFE2</AssignToID>
        <Subject>This is a sample subject</Subject>
        <DueDate>2011-09-12T00:00:00</DueDate>
        <Comments>This is a sample note</Comments>
        <RelatedTo>Contact</RelatedTo>
        <KeyCodeID>33ad141d-99d8-82ce-f297-76 e93ca8f5d9</KeyCodeID>
        <SendEmailNotification>true</SendEmailNotification>
        <EmailTo>john@vin65.com</EmailTo>
        <IsComplete>true</IsComplete>
      </Task>
      <Mode>Strict</Mode>
    </Request>
</AddUpdateTask>
</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/XMLSche ma" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <AddUpdateTaskResponse>
    <AddUpdateTaskReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <TaskID>43e15e63-2264-112b-b157-70b1cc864227</TaskID>
      <RecordCount>1</RecordCount>
    </AddUpdateTaskReturn>
  </AddUpdateTaskResponse>
</soapenv:Body>
</soapenv:Envelope> 

Page Top