Create Task Event
Triggered when a new Task has been added to matteroTM
POST https://my.mattero.com.au/public/api/v1/webhooks
Parameters
Name |
Location |
Type |
Description |
eventName |
Body |
string |
The value must be "CreateTaskEvent" |
callbackUrl |
Body |
string |
The RESTful callback to be invoked when the event is trigger, this
callback must accept a POST request.
|
Example data sent to the Webhook call back URL
{
"entityId": "296-A",
"entityType": "CreateTaskEvent",
"currentValue": {
"id": "296-A",
"description": "Ring client to confirm details",
"status": "ToDo",
"priority": "Normal",
"dueDate": "2022-08-13",
"associatedContactId": "321-A",
"assignedToId": "221-A"
}
}
{
"entityId": "297-A",
"entityType": "CreateTaskEvent",
"currentValue": {
"id": "297-A",
"description": "Review court documents",
"status": "ToDo",
"priority": "High",
"dueDate": "2022-08-13",
"associatedMatterId": "6771-A",
"assignedToId": "221-A"
}
}
Sent object
Name |
Type |
Description |
entityId |
string |
The unique identifier of the created task. |
entityType |
string |
"CreateTaskEvent" |
currentValue |
Task |
All information of created task |
Task
Name |
Type |
Description |
id |
string |
The unique identifier associated with a Task. |
description |
string |
A descriptor or name used to describe or identify a Task.
|
status |
string |
The status of a Task, expected values are [Todo |
InProgress | Done]
|
priority |
string |
The priority of a Task, expected values are [Low | Normal |
High]
|
dueDate |
Date |
The date a task is due. |
associatedContactId |
string |
The unique identifier of a task associated with the Task.
|
associatedMatterId |
string |
The unique identifier of a matter associated with the Task.
|
assignedToId |
string |
The unique identifier of a user task assigned to the Task.
|
Response
Code |
Summary |
Description |
200 |
Ok |
The request was successful with a body in the response.
|
400 |
Bad Request |
The request failed validation checks. |
401 |
Unauthorized |
Failed authentication check. |
403 |
Forbidden |
Failed authorization check. |