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": "1b208eb0-385d-404e-9b77-64a52fd2fd37",
"Asset": {
"AssetId": "33857de2-eb0c-4140-a1aa-874809d28683",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4b37871c-e356-4869-9a4e-0944fb18cecc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "270ee7fd-f2fe-4560-b567-ea74a95504ba",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9a2fd665-605f-4337-87c8-1966b8e22b5f",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "ec548c40-d9e3-4f27-9767-66f870055e5e",
"Name": "sample string 1",
"CompanyId": "022b7732-9687-42a1-ba82-66f463b33b77"
},
"TaskCategory": {
"TaskCategoryId": "c9856dff-63d2-4553-ae6e-f45c3649c9f7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "1866d06d-43c7-47da-9a63-74b4e4681c4f",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "a0bb815f-05a2-4ea3-8e1d-ffdfff25430a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a33cda3d-14de-4e0b-9d4b-fbe19e932b1c",
"Section": {
"TaskTypeSectionId": "54d8e510-c4c1-4efa-971a-f9325559cbe3",
"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": "3f037e02-d5aa-410b-80df-ee3ee6a74dc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a64b8ee7-3895-41ce-bd41-ecdb62a67d6e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7ce7c5ee-dfc4-41c2-85cc-e415b2d8de68",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-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": "a33cda3d-14de-4e0b-9d4b-fbe19e932b1c",
"Section": {
"TaskTypeSectionId": "54d8e510-c4c1-4efa-971a-f9325559cbe3",
"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": "3f037e02-d5aa-410b-80df-ee3ee6a74dc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a64b8ee7-3895-41ce-bd41-ecdb62a67d6e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7ce7c5ee-dfc4-41c2-85cc-e415b2d8de68",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-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": "083344ca-a08b-495a-9d43-4e803e15ffea",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-02-11T02:12:27.0785963-08:00",
"AssignedToUser": {
"UserId": "d8c9c3a1-bfc2-4191-b134-c3b6243caf52",
"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": "41bed0d0-f96c-47fb-ab3e-54556654b01e",
"Teams": [
{
"TeamId": "26c4a5df-bb23-4757-b851-f6207f42361f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "989d6245-f355-4f98-b4db-38d777c60675",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "26c4a5df-bb23-4757-b851-f6207f42361f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "989d6245-f355-4f98-b4db-38d777c60675",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "d8c9c3a1-bfc2-4191-b134-c3b6243caf52",
"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": "41bed0d0-f96c-47fb-ab3e-54556654b01e",
"Teams": [
{
"TeamId": "26c4a5df-bb23-4757-b851-f6207f42361f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "989d6245-f355-4f98-b4db-38d777c60675",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "26c4a5df-bb23-4757-b851-f6207f42361f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "b30b10a5-76ad-4cd4-acef-7426b13e3f76",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"MeasurementValueNeededDate": "2026-02-11T02:12:27.0785963-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "37649b5c-16ef-449a-b18b-30365b76eaf9",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "989d6245-f355-4f98-b4db-38d777c60675",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-02-11T02:12:27.0785963-08:00",
"CompletedDate": "2026-02-11T02:12:27.0785963-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "cbef4f47-1d41-4f66-a38a-8009ec8e6d14",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "cbef4f47-1d41-4f66-a38a-8009ec8e6d14",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "8152674a-dc4b-46d0-9113-d6e14ecbbe1f",
"TaskTypeField": {
"TaskTypeFieldId": "a33cda3d-14de-4e0b-9d4b-fbe19e932b1c",
"Section": {
"TaskTypeSectionId": "54d8e510-c4c1-4efa-971a-f9325559cbe3",
"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": "3f037e02-d5aa-410b-80df-ee3ee6a74dc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a64b8ee7-3895-41ce-bd41-ecdb62a67d6e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7ce7c5ee-dfc4-41c2-85cc-e415b2d8de68",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-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": "8152674a-dc4b-46d0-9113-d6e14ecbbe1f",
"TaskTypeField": {
"TaskTypeFieldId": "a33cda3d-14de-4e0b-9d4b-fbe19e932b1c",
"Section": {
"TaskTypeSectionId": "54d8e510-c4c1-4efa-971a-f9325559cbe3",
"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": "3f037e02-d5aa-410b-80df-ee3ee6a74dc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a64b8ee7-3895-41ce-bd41-ecdb62a67d6e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7ce7c5ee-dfc4-41c2-85cc-e415b2d8de68",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-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": "dcc07dd7-e629-4dca-a678-5d2b215aef05",
"CreateDate": "2026-02-11T02:12:27.0785963-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T02:12:27.0785963-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"
}