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": "e6881321-106e-477d-bf10-4c58fdb4b7e5",
"Asset": {
"AssetId": "f3c982fa-9dc2-4c3e-a9fe-6e6dbec3cb1b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "860c9d97-46da-41fc-91bf-8d4c1a1f30fa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "02bc1505-087d-4338-aac9-08e86a3dc125",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1b760cce-8556-40fa-9b11-089526429532",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "1214c9c3-1924-44a0-8592-d217dd08c8fa",
"Name": "sample string 1",
"CompanyId": "8952d46f-e675-43bb-b834-7bf1ce702368"
},
"TaskCategory": {
"TaskCategoryId": "5355050f-f6bf-46fb-865d-d1d7eeb8803d",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "57a610cb-ab25-4cbf-92ec-fafef9d73d27",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "1a316b8f-667c-44a0-bc4c-5745b31a9619",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "fc3db097-92c2-4aa0-b80c-1f9957c300b8",
"Section": {
"TaskTypeSectionId": "588e60a3-52a9-428f-b5b4-ef3d389e182b",
"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": "611dbd08-2e81-4f7c-95bd-f09dadb7493e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7399241c-634d-41f7-8868-1c5e7eddbb3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e51deed4-c37b-4ed6-9430-c6e6598c6379",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-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": "fc3db097-92c2-4aa0-b80c-1f9957c300b8",
"Section": {
"TaskTypeSectionId": "588e60a3-52a9-428f-b5b4-ef3d389e182b",
"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": "611dbd08-2e81-4f7c-95bd-f09dadb7493e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7399241c-634d-41f7-8868-1c5e7eddbb3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e51deed4-c37b-4ed6-9430-c6e6598c6379",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-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": "099dd7af-4326-4853-8807-4958588b8eda",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-10-16T10:25:06.5523029-07:00",
"AssignedToUser": {
"UserId": "d7ec0767-21a9-42f5-9cc4-03479ac52b99",
"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": "be06d1aa-5c14-4e1c-95ff-8bf900c3cf66",
"Teams": [
{
"TeamId": "bead7695-14b2-4e8f-be18-f4073a7ab132",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3d914fa3-0378-4c31-810c-8da02ea05c1d",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "bead7695-14b2-4e8f-be18-f4073a7ab132",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3d914fa3-0378-4c31-810c-8da02ea05c1d",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "d7ec0767-21a9-42f5-9cc4-03479ac52b99",
"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": "be06d1aa-5c14-4e1c-95ff-8bf900c3cf66",
"Teams": [
{
"TeamId": "bead7695-14b2-4e8f-be18-f4073a7ab132",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3d914fa3-0378-4c31-810c-8da02ea05c1d",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "bead7695-14b2-4e8f-be18-f4073a7ab132",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1e10e894-0ae1-49cb-a667-9745fccc6cd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"MeasurementValueNeededDate": "2026-10-16T10:25:06.5523029-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "915a5cd5-6de6-4e92-82fc-94fd7ecdf983",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3d914fa3-0378-4c31-810c-8da02ea05c1d",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-10-16T10:25:06.5523029-07:00",
"CompletedDate": "2026-10-16T10:25:06.5523029-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "16c5fd42-ccd1-4f71-b2cc-f82ab6d8f27e",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "16c5fd42-ccd1-4f71-b2cc-f82ab6d8f27e",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "3317fc79-91d5-4af3-a3fd-a37e56d3d5cf",
"TaskTypeField": {
"TaskTypeFieldId": "fc3db097-92c2-4aa0-b80c-1f9957c300b8",
"Section": {
"TaskTypeSectionId": "588e60a3-52a9-428f-b5b4-ef3d389e182b",
"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": "611dbd08-2e81-4f7c-95bd-f09dadb7493e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7399241c-634d-41f7-8868-1c5e7eddbb3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e51deed4-c37b-4ed6-9430-c6e6598c6379",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-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": "3317fc79-91d5-4af3-a3fd-a37e56d3d5cf",
"TaskTypeField": {
"TaskTypeFieldId": "fc3db097-92c2-4aa0-b80c-1f9957c300b8",
"Section": {
"TaskTypeSectionId": "588e60a3-52a9-428f-b5b4-ef3d389e182b",
"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": "611dbd08-2e81-4f7c-95bd-f09dadb7493e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7399241c-634d-41f7-8868-1c5e7eddbb3f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e51deed4-c37b-4ed6-9430-c6e6598c6379",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-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": "9e75e400-8e96-40c0-bf35-82ec758bc7c4",
"CreateDate": "2026-10-16T10:25:06.5523029-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-16T10:25:06.5523029-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"
}