TOP

GetTask()

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 GetTask() function to get a single task for either a customer, order or product. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
 TaskID* UUID   UUID of the Vin65 Task

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>
  <GetTask>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</P assword>
      </Security>
      <TaskID>6a190d48-2264-112b-b16f-3e694cf48fbc</TaskID>
    </Request>
  </GetTask>
</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>
  <GetTaskResponse> 
    <GetTaskReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <Task>
        <TaskID>6a190d48-2264-112b-b16f-3e694cf48fbc</TaskID>
        <WebsiteID>71e67a5c-2264-112b-b1f4-a6d602ad8bb4</WebsiteID>
        <AssignToID>0d16e928-7b7e-4786-b7dd-22f364863ce4</AssignToID>
        <DueDate>2011-02-18T00:00:00</DueDate>
        <Subject>This is a sample subject</Subject>
        <Comments>This is a sample task</Comments>
        <RelatedTo>Contact</RelatedTo>
        <KeyCodeID>33ad141d-99d8-82ce-f297-76e93ca8f5d9</KeyCodeID>
        <SendEmailNotification">true</SendEmailNotification>
        <EmailTo>john@vin65.com</EmailTo>
        <IsComplete>true</IsComplete>
        <DateAdded>2010-07-20T17:59:27.517Z</DateAdded>
        <DateModified>2011-04-05T16:00:18.527Z</DateModified>
       </Task>
      <RecordCount>1</RecordCount>
    </GetTaskReturn>
  </GetTaskResponse>
</soapenv:Body>
</soapenv:Envelope> 

Page Top