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": "387178a7-2e8d-4635-9c13-d859d79d6ff4",
"Asset": {
"AssetId": "2838cd59-b77c-4d2b-9206-437df647d778",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f2538998-5d49-4d88-bf52-93297f83eba5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f559f05d-3241-4f15-bc8a-b6581f9b8f81",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d7a934b8-9e52-462d-aa41-11a5c67b55e0",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "3fc9abfa-9179-4412-995a-c05323e7a630",
"Name": "sample string 1",
"CompanyId": "15b7e73d-7b4c-4764-a6cc-7662cc26f100"
},
"TaskCategory": {
"TaskCategoryId": "85546000-3cdc-4bcc-a1e4-d68834203a52",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2bdd8767-cb12-4968-bef0-32af35841ee9",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "0668ff98-090b-4bde-a793-86e57fabee74",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "751187d6-d99f-46f7-bc6a-562c5934c097",
"Section": {
"TaskTypeSectionId": "0586bfcb-0bf7-42ef-95e7-0cf8bda750e5",
"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": "c84ef8b2-00fa-4a8f-a469-cc640fbd8bff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1bfa4283-9238-4682-879b-751063868632",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69353f3d-fb56-48e0-a8ea-e2d8d3b3bb2b",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-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": "751187d6-d99f-46f7-bc6a-562c5934c097",
"Section": {
"TaskTypeSectionId": "0586bfcb-0bf7-42ef-95e7-0cf8bda750e5",
"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": "c84ef8b2-00fa-4a8f-a469-cc640fbd8bff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1bfa4283-9238-4682-879b-751063868632",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69353f3d-fb56-48e0-a8ea-e2d8d3b3bb2b",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-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": "6d0a68c9-52ba-45a9-8477-be961cfae434",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-09-15T16:24:26.0867774-07:00",
"AssignedToUser": {
"UserId": "5532835a-5bd6-407e-8ef4-d906b5c126de",
"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": "91ca1465-237c-4d91-a679-115ddcb5ac06",
"Teams": [
{
"TeamId": "1334fbcb-7993-4caa-8075-d17355ab9990",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "195fa344-11f3-49f3-ba06-a01ce8460e9d",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "1334fbcb-7993-4caa-8075-d17355ab9990",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "195fa344-11f3-49f3-ba06-a01ce8460e9d",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "5532835a-5bd6-407e-8ef4-d906b5c126de",
"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": "91ca1465-237c-4d91-a679-115ddcb5ac06",
"Teams": [
{
"TeamId": "1334fbcb-7993-4caa-8075-d17355ab9990",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "195fa344-11f3-49f3-ba06-a01ce8460e9d",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "1334fbcb-7993-4caa-8075-d17355ab9990",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "c0932c58-ebcc-46e1-ba66-9899e5b79a74",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"MeasurementValueNeededDate": "2026-09-15T16:24:26.0867774-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "24e0399e-08ab-4340-bdfe-df3d94a4d7cc",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "195fa344-11f3-49f3-ba06-a01ce8460e9d",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-09-15T16:24:26.0867774-07:00",
"CompletedDate": "2026-09-15T16:24:26.0867774-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "77d59a4b-556e-4e59-991a-284a6430cf7a",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "77d59a4b-556e-4e59-991a-284a6430cf7a",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "7a036652-9c29-41fe-a8c9-d06146e7f764",
"TaskTypeField": {
"TaskTypeFieldId": "751187d6-d99f-46f7-bc6a-562c5934c097",
"Section": {
"TaskTypeSectionId": "0586bfcb-0bf7-42ef-95e7-0cf8bda750e5",
"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": "c84ef8b2-00fa-4a8f-a469-cc640fbd8bff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1bfa4283-9238-4682-879b-751063868632",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69353f3d-fb56-48e0-a8ea-e2d8d3b3bb2b",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-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": "7a036652-9c29-41fe-a8c9-d06146e7f764",
"TaskTypeField": {
"TaskTypeFieldId": "751187d6-d99f-46f7-bc6a-562c5934c097",
"Section": {
"TaskTypeSectionId": "0586bfcb-0bf7-42ef-95e7-0cf8bda750e5",
"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": "c84ef8b2-00fa-4a8f-a469-cc640fbd8bff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1bfa4283-9238-4682-879b-751063868632",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69353f3d-fb56-48e0-a8ea-e2d8d3b3bb2b",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-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": "180ab8a3-f33b-44cc-af4d-e7154e108890",
"CreateDate": "2026-09-15T16:24:26.0867774-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T16:24:26.0867774-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"
}