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": "465c5d4c-7a96-472a-861a-8490a924d0b9",
"Asset": {
"AssetId": "2aa8ec75-52fa-4e26-b3a9-2b150668b891",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "da8edacc-7393-445d-ac0e-09b7f624dc38",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6f5620eb-7b19-4c30-993e-6c9ca0cdf9f4",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6f8bcb1e-2d93-44d4-ac42-9feba40ea61c",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "4cdd400e-aac5-4dc6-91b2-f2875f9f5461",
"Name": "sample string 1",
"CompanyId": "a1a6a4cc-eb55-4d3a-a9a7-490136f54bb5"
},
"TaskCategory": {
"TaskCategoryId": "57caab0b-b8e8-4101-90fb-3bc2336c62e2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "b223d888-467d-4126-96e7-250e4238c136",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "637ca28a-ddd5-4dcf-a088-18fc0bfab7c0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "9f34e117-f0f6-493c-b0da-a14ca94cb91d",
"Section": {
"TaskTypeSectionId": "466c397d-902a-4f01-89f5-f7c39529f1a0",
"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": "f8fea71a-5d03-43c6-988c-b79e1e6ae55b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "148ecc36-17de-4697-8b22-e940d0f495a2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2c2222a9-7561-4011-a50a-8d446d67eecf",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-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": "9f34e117-f0f6-493c-b0da-a14ca94cb91d",
"Section": {
"TaskTypeSectionId": "466c397d-902a-4f01-89f5-f7c39529f1a0",
"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": "f8fea71a-5d03-43c6-988c-b79e1e6ae55b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "148ecc36-17de-4697-8b22-e940d0f495a2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2c2222a9-7561-4011-a50a-8d446d67eecf",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-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": "10bd7721-e586-4e4c-8828-dca1517965fb",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-01-27T01:46:37.4706066-08:00",
"AssignedToUser": {
"UserId": "37a9d257-6f60-4936-9660-2151d421006d",
"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": "b927b80d-aae0-4315-8ac7-77afa445d557",
"Teams": [
{
"TeamId": "8bf1c61c-bfed-4bf2-9e16-2096916489af",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c218407a-1364-4d1b-a721-10584f7394aa",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "8bf1c61c-bfed-4bf2-9e16-2096916489af",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c218407a-1364-4d1b-a721-10584f7394aa",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "37a9d257-6f60-4936-9660-2151d421006d",
"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": "b927b80d-aae0-4315-8ac7-77afa445d557",
"Teams": [
{
"TeamId": "8bf1c61c-bfed-4bf2-9e16-2096916489af",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c218407a-1364-4d1b-a721-10584f7394aa",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "8bf1c61c-bfed-4bf2-9e16-2096916489af",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "41e4b7f5-3106-481d-8b08-87e6db44a4ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"MeasurementValueNeededDate": "2026-01-27T01:46:37.4706066-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a4db1e2a-bff8-4ce3-9a9d-85b6b1ba806a",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c218407a-1364-4d1b-a721-10584f7394aa",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-01-27T01:46:37.4706066-08:00",
"CompletedDate": "2026-01-27T01:46:37.4706066-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "6fcaad1a-b8bb-4644-8bcd-d94acb6425b7",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "6fcaad1a-b8bb-4644-8bcd-d94acb6425b7",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "d8f302a9-61be-49be-a4d4-da08c2f2918f",
"TaskTypeField": {
"TaskTypeFieldId": "9f34e117-f0f6-493c-b0da-a14ca94cb91d",
"Section": {
"TaskTypeSectionId": "466c397d-902a-4f01-89f5-f7c39529f1a0",
"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": "f8fea71a-5d03-43c6-988c-b79e1e6ae55b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "148ecc36-17de-4697-8b22-e940d0f495a2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2c2222a9-7561-4011-a50a-8d446d67eecf",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-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": "d8f302a9-61be-49be-a4d4-da08c2f2918f",
"TaskTypeField": {
"TaskTypeFieldId": "9f34e117-f0f6-493c-b0da-a14ca94cb91d",
"Section": {
"TaskTypeSectionId": "466c397d-902a-4f01-89f5-f7c39529f1a0",
"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": "f8fea71a-5d03-43c6-988c-b79e1e6ae55b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "148ecc36-17de-4697-8b22-e940d0f495a2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2c2222a9-7561-4011-a50a-8d446d67eecf",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-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": "ae426e96-554d-4fe7-9231-fa370b5cac47",
"CreateDate": "2026-01-27T01:46:37.4706066-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-27T01:46:37.4706066-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"
}