---
title: "Task Webservice"
slug: "task-webservice"
updated: 2024-04-08T16:14:48Z
published: 2024-04-08T16:14:48Z
canonical: "docs.winedirect.com/task-webservice"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.winedirect.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Task Webservice
### WSDL:
[https://webservices.vin65.com/V300/TaskService.cfc?wsdl](https://webservices.vin65.com/V300/TaskService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/TaskService.cfc?wsdl](https://webservices.aus.vin65.com/V300/TaskService.cfc?wsdl)
### Methods:
**SearchTasks()** Search across notes (including order tasks, customer tasks, and product tasks).
**GetTask()** Get a single task.
**AddUpdateTask()** Add or update a task.
# SearchTasks()
### Part Of: Task Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/TaskService.cfc?wsdl](https://webservices.vin65.com/V300/TaskService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/TaskService.cfc?wsdl](https://webservices.aus.vin65.com/V300/TaskService.cfc?wsdl)
### Description:
Use the SearchTasks() function to get the tasks for a single customer, order, or search across all of the tasks by date/time, etc. Required fields are indicated by a '*'
### Parameters:
| Attribute | Data Type | Default | Description |
| --- | --- | --- | --- |
| WebsiteIDs | UUID List | | Available for Enterprise Webservices Comma seperated list of WebsiteIDs in Enterprise Leave blank for all Websites |
| TaskID | UUID | | UUID of the Vin65 Task |
| AssignToID | UUID | | UUID of the Vin65 User the Task is Assigned To |
| DueDateFrom | Date | | |
| DueDateTo | Date | | |
| RelatedTo | Enumerated ("Order","Contact", "Product") | | |
| KeyCodeID | UUID | | UUID of either the Order, Contact, or Product the Task is attached to. |
| IsComplete | Boolean | | |
| DateModifiedFrom | DateTime | | |
| DateModifiedTo | DateTime | | |
| MaxRows | Integer | 100 | |
| Page | Integer | 1 | |
### Sample Request:
```
//Your Username//
//Your Password//
2011-01-01T00:00:00
2011-04-01T00:00:00
2011-01-01T12:21:43
2011-09-12T12:21:43
100
1
```
### Sample Response:
```
true
6a190d48-2264-112b-b16f-3e694cf48fbc
71e67a5c-2264-112b-b1f4-a6d602ad8bb4
0d16e928-7b7e-4786-b7dd-22f364863ce4
2011-02-18T00:00:00
This is a sample subject
This is a sample task
Contact
33ad141d-99d8-82ce-f297-76e93ca8f5d9
true
john@vin65.com
true
2010-07-20T17:59:27.517Z
2011-04-05T16:00:18.527Z
43e15e63-2264-112b-b157-70b1cc864227
71e67a5c-2264-112b-b1f4-a6d602ad8bb4
0d16e928-7b7e-4786-b7dd-22f364863ce4
2011-02-18T00:00:00
This is a sample subject
This is a sample task
Contact
33ad141d-99d8-82ce-f297-76e93ca8f5d9
true
john@vin65.com
true
2010-07-20T17:59:27.517Z
2011-04-05T16:00:18.527Z
2
```
---
# GetTask()
### Part Of: Task Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/TaskService.cfc?wsdl](https://webservices.vin65.com/V300/TaskService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/TaskService.cfc?wsdl](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:
```
//Your Username//
//Your Password//
6a190d48-2264-112b-b16f-3e694cf48fbc
```
### Sample Response:
```
true
6a190d48-2264-112b-b16f-3e694cf48fbc
71e67a5c-2264-112b-b1f4-a6d602ad8bb4
0d16e928-7b7e-4786-b7dd-22f364863ce4
2011-02-18T00:00:00
This is a sample subject
This is a sample task
Contact
33ad141d-99d8-82ce-f297-76e93ca8f5d9
true
john@vin65.com
true
2010-07-20T17:59:27.517Z
2011-04-05T16:00:18.527Z
1
```
---
# AddUpdateTask()
### Part Of: Task Webservice 3.0
### WSDL:
[https://webservices.vin65.com/V300/TaskService.cfc?wsdl](https://webservices.vin65.com/V300/TaskService.cfc?wsdl)
#### Australian URL:
[https://webservices.aus.vin65.com/V300/TaskService.cfc?wsdl](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:
```
//Your Username//
//Your Password//
71e67a5c-2264-112b-b1f4-a6d602ad8bb4
43e15e63-2264-112b-b157-70b1cc864227
5EA8FE81-CAF1-906E-9C5F-E6A6FCAECFE2
This is a sample subject
2011-09-12T00:00:00
This is a sample note
Contact
33ad141d-99d8-82ce-f297-76 e93ca8f5d9
true
john@vin65.com
true
Strict
```
### Sample Response:
```
true
43e15e63-2264-112b-b157-70b1cc864227
1
```