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": "4b5434b6-442e-4855-96f5-3b3a025bd670",
"Asset": {
"AssetId": "65dc8c5a-cd37-423b-9b06-567763dcb5a6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9619656c-5cd9-421f-8355-a503471e88d0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4d8d118e-d7e9-411a-8cdf-917de0ed05b4",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e4c717d0-40f8-4189-a198-e058af798b86",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "a51f5105-26e3-44ec-a37f-d9087762ebf4",
"Name": "sample string 1",
"CompanyId": "7610d4b3-602f-4c48-ac1b-0ee67c9a5fc5"
},
"TaskCategory": {
"TaskCategoryId": "a2d92510-95cd-40fb-b96f-f57033f4cac7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "135f8710-f2c9-4e4b-83bd-0f2e5fea6905",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "125f8761-4b75-4b28-af04-ef96896e6b3d",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "0042662c-5c43-4b23-a180-23febc1bb371",
"Section": {
"TaskTypeSectionId": "e93ce54e-fc10-4d26-bc14-4279c958ba02",
"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": "a6cafddc-c7bd-4177-bd7e-fa2b9629490f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ce48efa3-e648-4a25-a44e-e239aeb2ef46",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50b279a3-0cab-4644-ada2-e91767071605",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08: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": "0042662c-5c43-4b23-a180-23febc1bb371",
"Section": {
"TaskTypeSectionId": "e93ce54e-fc10-4d26-bc14-4279c958ba02",
"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": "a6cafddc-c7bd-4177-bd7e-fa2b9629490f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ce48efa3-e648-4a25-a44e-e239aeb2ef46",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50b279a3-0cab-4644-ada2-e91767071605",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08: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": "73ae9191-9405-4c19-8e4c-80a89d57ca95",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-11-18T19:02:50.7680985-08:00",
"AssignedToUser": {
"UserId": "627737ef-5553-4d12-a233-5c907e635576",
"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": "122f48a8-683b-410d-8aa7-5e5fd9687c42",
"Teams": [
{
"TeamId": "9c2240b7-98ee-41a9-acf1-3fa3e3b3eb2f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "b0974940-7059-4866-8ecb-93a610ca961d",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "9c2240b7-98ee-41a9-acf1-3fa3e3b3eb2f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "b0974940-7059-4866-8ecb-93a610ca961d",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "627737ef-5553-4d12-a233-5c907e635576",
"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": "122f48a8-683b-410d-8aa7-5e5fd9687c42",
"Teams": [
{
"TeamId": "9c2240b7-98ee-41a9-acf1-3fa3e3b3eb2f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "b0974940-7059-4866-8ecb-93a610ca961d",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "9c2240b7-98ee-41a9-acf1-3fa3e3b3eb2f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "4053db57-3326-48cd-a4e8-4dbc5849da10",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"MeasurementValueNeededDate": "2026-11-18T19:02:50.7524744-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f69bd215-04ab-4049-aacb-90b4ebfbf812",
"CreateDate": "2026-11-18T19:02:50.7524744-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7524744-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "b0974940-7059-4866-8ecb-93a610ca961d",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-11-18T19:02:50.7680985-08:00",
"CompletedDate": "2026-11-18T19:02:50.7680985-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "2d3a0cf7-efff-4c25-9380-603c60f8e7c1",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "2d3a0cf7-efff-4c25-9380-603c60f8e7c1",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "bad2cd98-4db4-4611-a495-39734a9addb0",
"TaskTypeField": {
"TaskTypeFieldId": "0042662c-5c43-4b23-a180-23febc1bb371",
"Section": {
"TaskTypeSectionId": "e93ce54e-fc10-4d26-bc14-4279c958ba02",
"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": "a6cafddc-c7bd-4177-bd7e-fa2b9629490f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ce48efa3-e648-4a25-a44e-e239aeb2ef46",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50b279a3-0cab-4644-ada2-e91767071605",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08: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": "bad2cd98-4db4-4611-a495-39734a9addb0",
"TaskTypeField": {
"TaskTypeFieldId": "0042662c-5c43-4b23-a180-23febc1bb371",
"Section": {
"TaskTypeSectionId": "e93ce54e-fc10-4d26-bc14-4279c958ba02",
"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": "a6cafddc-c7bd-4177-bd7e-fa2b9629490f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ce48efa3-e648-4a25-a44e-e239aeb2ef46",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50b279a3-0cab-4644-ada2-e91767071605",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08: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": "ba8f875c-81aa-4bed-a586-e884a15a87a6",
"CreateDate": "2026-11-18T19:02:50.7680985-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-18T19:02:50.7680985-08: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"
}