DESCRIPTION
This endpoint marks a task as complete.
URL STRUCTURE
https://[hostname]/task/complete
METHOD
POST
HEADERS
**Authorization:**
string Base64 [email]:[key]
PARAMETERS
Name | Type | Description |
---|---|---|
taskId | int | Task ID to mark as complete |
RETURNS
Returns the task before it gets set to complete.
{
"parentTask": null,
"id": "472",
"description": "Send Correspondence - NewContentJosh",
"doneDate": {
"date": "-0001-11-30 00:00:00.000000",
"timezone_type": 3,
"timezone": "Europe/London"
},
"matterId": "307",
"matterCode": "D000025GB",
"clientId": null,
"client": "Seraphis Guitars",
"presetItemId": "0",
"dueDate": {
"date": "2019-10-16 00:00:00.000000",
"timezone_type": 3,
"timezone": "Europe/London"
},
"status": "0",
"statusName": "Live",
"importance": "0",
"importanceName": "Standard",
"formallyExtended": "0",
"user": {
"id": "1776",
"oldId": null,
"subscriberId": null,
"username": "Josh",
"email": null,
"secondaryEmail": [],
"firstName": null,
"secondName": null,
"subscriberRef": null,
"clientSQL": null,
"loginCount": null,
"lastLogin": null,
"notes": null,
"gender": null,
"initials": null,
"legalEntity": null
},
"type": "0",
"typeName": null,
"notes": "notes",
"parentTaskId": null,
"components": null,
"workFlowLogId": null,
"attachedTemplate": "81",
"setupDate": null,
"linkedDocuments": null,
"outgoingDiscarded": "0",
"recipientId": null,
"deliveryMethodOverride": "0",
"workflowPromptId": "0",
"originalDueDate": null,
"invoiceId": null
}