DELETE Tasks
Deletes the given task.
Request Information
URI Parameters
None.
Body Parameters
The task to delete.
Task| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | globally unique identifier |
None. |
|
| Asset | Asset |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| TaskStatusType | TaskStatusType |
None. |
|
| TaskCategory | TaskCategory |
None. |
|
| TaskType | TaskType |
None. |
|
| AssignedOnDate | date |
None. |
|
| AssignedToUser | User |
None. |
|
| AssignedByUser | User |
None. |
|
| DueDate | date |
None. |
|
| CompletedDate | date |
None. |
|
| Priority | TaskPriority |
None. |
|
| HasAttachments | boolean |
None. |
|
| Attachments | Collection of TaskAttachment |
None. |
|
| Values | Collection of TaskFieldValue |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TaskId": "b2147421-c7c8-4aa9-8d45-4145fb8225c1",
"Asset": {
"AssetId": "970d954a-4f49-46d7-b784-1a8f39673f07",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7ac39995-1a99-48a8-aadc-0e3dc3f0021a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "47b7be2f-f948-4f84-a381-721c892f88c2",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "67e636d9-fcca-4b76-8a87-24f651e28114",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "14d722e8-6eb1-48d6-ad3f-83cd6858ce4e",
"Name": "sample string 1",
"CompanyId": "d08076f0-be77-425a-85cc-c9c499f8d2ae"
},
"TaskCategory": {
"TaskCategoryId": "08c39978-5f62-49b5-976d-d1abc7ede50a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e5fcbe08-e014-4885-9306-5c7135661ca9",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "da863f8a-899a-4329-a53e-ae637f2aa87d",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "711b5b29-c6b0-4c4e-96f4-31d5d2d06a08",
"Section": {
"TaskTypeSectionId": "aa28077c-a958-4148-9215-7624da36349c",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "6fc8733f-53b4-4f17-bf1b-32426b665e3f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "918245d3-c5e0-42ee-a5d3-30a7df4b2fee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5fc022b8-c951-4a4a-8999-8ee56a4f6071",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 11",
"SourceSystemId": "sample string 12"
},
{
"TaskTypeFieldId": "711b5b29-c6b0-4c4e-96f4-31d5d2d06a08",
"Section": {
"TaskTypeSectionId": "aa28077c-a958-4148-9215-7624da36349c",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "6fc8733f-53b4-4f17-bf1b-32426b665e3f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "918245d3-c5e0-42ee-a5d3-30a7df4b2fee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5fc022b8-c951-4a4a-8999-8ee56a4f6071",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 11",
"SourceSystemId": "sample string 12"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4b06aa78-8ed3-4f10-97e0-72c146a2456c",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-09-21T16:59:13.520378-07:00",
"AssignedToUser": {
"UserId": "3f8bcafa-35d7-400c-9f73-9c4b0872649c",
"UserName": "sample string 1",
"FullName": "sample string 2",
"PhoneNumber": "sample string 3",
"Email": "sample string 4",
"IsLockedOut": true,
"IsApproved": true,
"Role": {
"Name": "sample string 1",
"Description": "sample string 2"
},
"CompanyId": "0952b4ff-dba1-415a-b1d4-44d36d03f574",
"Teams": [
{
"TeamId": "20393eac-dec5-40f7-afc8-8ac8f000c108",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54e2052d-c1ab-4ec2-a0a4-c32d8956328f",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "20393eac-dec5-40f7-afc8-8ac8f000c108",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54e2052d-c1ab-4ec2-a0a4-c32d8956328f",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "3f8bcafa-35d7-400c-9f73-9c4b0872649c",
"UserName": "sample string 1",
"FullName": "sample string 2",
"PhoneNumber": "sample string 3",
"Email": "sample string 4",
"IsLockedOut": true,
"IsApproved": true,
"Role": {
"Name": "sample string 1",
"Description": "sample string 2"
},
"CompanyId": "0952b4ff-dba1-415a-b1d4-44d36d03f574",
"Teams": [
{
"TeamId": "20393eac-dec5-40f7-afc8-8ac8f000c108",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54e2052d-c1ab-4ec2-a0a4-c32d8956328f",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "20393eac-dec5-40f7-afc8-8ac8f000c108",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "81c85a5d-26fe-4f48-a337-96c5e21afa4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"MeasurementValueNeededDate": "2026-09-21T16:59:13.520378-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9cec0c27-b18b-426e-8cec-fa221e54db4d",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54e2052d-c1ab-4ec2-a0a4-c32d8956328f",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-09-21T16:59:13.520378-07:00",
"CompletedDate": "2026-09-21T16:59:13.520378-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "6e168f85-57ce-406e-bdf6-35257ceacf31",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "6e168f85-57ce-406e-bdf6-35257ceacf31",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "6997b625-7e1b-4864-ba0f-de57587e33d3",
"TaskTypeField": {
"TaskTypeFieldId": "711b5b29-c6b0-4c4e-96f4-31d5d2d06a08",
"Section": {
"TaskTypeSectionId": "aa28077c-a958-4148-9215-7624da36349c",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "6fc8733f-53b4-4f17-bf1b-32426b665e3f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "918245d3-c5e0-42ee-a5d3-30a7df4b2fee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5fc022b8-c951-4a4a-8999-8ee56a4f6071",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 11",
"SourceSystemId": "sample string 12"
},
"SectionIndex": 1,
"FieldIndex": 1,
"FileName": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"FileContent": "QEA=",
"ValueText": "sample string 3",
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6"
},
{
"TaskFieldValueId": "6997b625-7e1b-4864-ba0f-de57587e33d3",
"TaskTypeField": {
"TaskTypeFieldId": "711b5b29-c6b0-4c4e-96f4-31d5d2d06a08",
"Section": {
"TaskTypeSectionId": "aa28077c-a958-4148-9215-7624da36349c",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "6fc8733f-53b4-4f17-bf1b-32426b665e3f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "918245d3-c5e0-42ee-a5d3-30a7df4b2fee",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5fc022b8-c951-4a4a-8999-8ee56a4f6071",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 11",
"SourceSystemId": "sample string 12"
},
"SectionIndex": 1,
"FieldIndex": 1,
"FileName": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"FileContent": "QEA=",
"ValueText": "sample string 3",
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d14c76bb-2038-4172-a9bf-3f815a28c51b",
"CreateDate": "2026-09-21T16:59:13.520378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T16:59:13.520378-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"Total": 1,
"Message": "sample string 2"
}