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": "0d98f8cc-cc48-4d67-9b16-7c579029f64d",
"Asset": {
"AssetId": "7293c468-96f4-4ac0-a571-70e3e6e433ca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "96b60009-07b1-4905-a1f2-7590e5a65217",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "86e79fdf-3fce-445a-9f2e-9c92dca955e2",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2915b484-56a3-444a-bf4b-bd1a0d6b3b04",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "a6a71663-889b-432b-9043-c9c616fdf787",
"Name": "sample string 1",
"CompanyId": "a6195c57-28c3-4ee7-9953-6bf23225cabe"
},
"TaskCategory": {
"TaskCategoryId": "596b55a2-c3ab-4e2a-b39a-95960240e70d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "6fa3e64f-e6b9-4f38-b0eb-7d95dfceeeb3",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "742a8c70-d90a-4a8a-bd2a-ee9e04539bd9",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "579972b2-6ef7-4b24-bdf2-cbe637e64a6b",
"Section": {
"TaskTypeSectionId": "7b69bd6c-8b3b-4d7d-ae49-897c39db1440",
"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": "6be600d6-4a24-4d3c-b598-1084e3557e91",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b8c00a47-3e1c-4a55-ac56-d0b8e12d1dce",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b6d3244-931f-4ad7-8b22-973c80abaf9a",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-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": "579972b2-6ef7-4b24-bdf2-cbe637e64a6b",
"Section": {
"TaskTypeSectionId": "7b69bd6c-8b3b-4d7d-ae49-897c39db1440",
"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": "6be600d6-4a24-4d3c-b598-1084e3557e91",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b8c00a47-3e1c-4a55-ac56-d0b8e12d1dce",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b6d3244-931f-4ad7-8b22-973c80abaf9a",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-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": "37bff3d7-bc7e-4986-826f-ca38d1850ef0",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-07-04T20:08:36.4585696-07:00",
"AssignedToUser": {
"UserId": "a22d34ab-aa76-40c6-a6cd-896b8e1d174b",
"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": "da61178d-6211-4c20-950d-1f5b2161aa3b",
"Teams": [
{
"TeamId": "37ad630a-3d3a-422e-ac68-473228464e05",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1f8a1f70-5ffb-4dd3-bd4c-e7355e508901",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "37ad630a-3d3a-422e-ac68-473228464e05",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1f8a1f70-5ffb-4dd3-bd4c-e7355e508901",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "a22d34ab-aa76-40c6-a6cd-896b8e1d174b",
"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": "da61178d-6211-4c20-950d-1f5b2161aa3b",
"Teams": [
{
"TeamId": "37ad630a-3d3a-422e-ac68-473228464e05",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1f8a1f70-5ffb-4dd3-bd4c-e7355e508901",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "37ad630a-3d3a-422e-ac68-473228464e05",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9edd92d0-8847-4b68-81b5-a635351578d2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"MeasurementValueNeededDate": "2026-07-04T20:08:36.4585696-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8e138ea6-4d1d-4bd0-b67b-6c60358ddce5",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1f8a1f70-5ffb-4dd3-bd4c-e7355e508901",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-07-04T20:08:36.4585696-07:00",
"CompletedDate": "2026-07-04T20:08:36.4585696-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "a18d137c-50c8-4de7-8b5a-f74dc55cdf2f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "a18d137c-50c8-4de7-8b5a-f74dc55cdf2f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "88c30e92-1109-4136-8999-64ae4e23228c",
"TaskTypeField": {
"TaskTypeFieldId": "579972b2-6ef7-4b24-bdf2-cbe637e64a6b",
"Section": {
"TaskTypeSectionId": "7b69bd6c-8b3b-4d7d-ae49-897c39db1440",
"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": "6be600d6-4a24-4d3c-b598-1084e3557e91",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b8c00a47-3e1c-4a55-ac56-d0b8e12d1dce",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b6d3244-931f-4ad7-8b22-973c80abaf9a",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-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": "88c30e92-1109-4136-8999-64ae4e23228c",
"TaskTypeField": {
"TaskTypeFieldId": "579972b2-6ef7-4b24-bdf2-cbe637e64a6b",
"Section": {
"TaskTypeSectionId": "7b69bd6c-8b3b-4d7d-ae49-897c39db1440",
"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": "6be600d6-4a24-4d3c-b598-1084e3557e91",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b8c00a47-3e1c-4a55-ac56-d0b8e12d1dce",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b6d3244-931f-4ad7-8b22-973c80abaf9a",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-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": "3356ed7d-108a-4e8f-ad37-2da1c778dd67",
"CreateDate": "2026-07-04T20:08:36.4585696-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-04T20:08:36.4585696-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"
}