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": "0908b8f5-abda-4ebe-98b2-7230d880e3fc",
"Asset": {
"AssetId": "7e74c712-3705-4ff7-b4d8-fc533ca9d0bc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c4adc0fb-30d7-483e-8440-2b6ba084716f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ea70b874-ee01-4911-be1f-947f8fd8db32",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "324dbce9-6e2b-4a38-b7a7-24f885ff5d58",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "2b6f9762-aa7d-4dc0-ac29-c59cc264d299",
"Name": "sample string 1",
"CompanyId": "14e0e328-554a-4d99-b8a4-fbc4f066ab21"
},
"TaskCategory": {
"TaskCategoryId": "9486259f-918c-4285-b9e5-4e98241ee4bc",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "7472a47e-4d0e-472a-a4ce-ca5d17cdcc90",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "75e3c15b-64f4-46a3-a82a-938583dc2ab2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "740fc73c-4a15-4aea-a981-25510fb5cdf2",
"Section": {
"TaskTypeSectionId": "fc80a228-3174-4f8e-a3d7-1b86e5fd0978",
"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": "981e7192-bb23-4be7-b915-d7be2b026a11",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e80ba299-944e-47b6-9e04-6391ba2b9733",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db9e71fd-bfc9-4a10-a7df-b32d75c71f32",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-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": "740fc73c-4a15-4aea-a981-25510fb5cdf2",
"Section": {
"TaskTypeSectionId": "fc80a228-3174-4f8e-a3d7-1b86e5fd0978",
"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": "981e7192-bb23-4be7-b915-d7be2b026a11",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e80ba299-944e-47b6-9e04-6391ba2b9733",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db9e71fd-bfc9-4a10-a7df-b32d75c71f32",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-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": "a2b7e4d2-11eb-4c74-a039-120808db16c3",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-08-31T11:40:02.2175091-07:00",
"AssignedToUser": {
"UserId": "2b84fb14-49ca-4bb6-9110-86b490e0ab9f",
"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": "81e6cb3e-77e8-41ed-8186-6242ea3c2696",
"Teams": [
{
"TeamId": "ac09c384-b9bf-4570-8b19-0282300f2d42",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "7a693179-29dc-45c1-929e-218706012d9d",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "ac09c384-b9bf-4570-8b19-0282300f2d42",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "7a693179-29dc-45c1-929e-218706012d9d",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "2b84fb14-49ca-4bb6-9110-86b490e0ab9f",
"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": "81e6cb3e-77e8-41ed-8186-6242ea3c2696",
"Teams": [
{
"TeamId": "ac09c384-b9bf-4570-8b19-0282300f2d42",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "7a693179-29dc-45c1-929e-218706012d9d",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "ac09c384-b9bf-4570-8b19-0282300f2d42",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "1df7c4f1-9f7f-4534-b143-3766e00b3835",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"MeasurementValueNeededDate": "2026-08-31T11:40:02.2175091-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "43b5f88d-ec3b-4204-94bd-371088d74dcd",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "7a693179-29dc-45c1-929e-218706012d9d",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-08-31T11:40:02.2175091-07:00",
"CompletedDate": "2026-08-31T11:40:02.2175091-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "729482df-e574-4bca-a937-04afb90ba6fd",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "729482df-e574-4bca-a937-04afb90ba6fd",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "6f00e92b-128c-4d3c-bb27-6390163b29b2",
"TaskTypeField": {
"TaskTypeFieldId": "740fc73c-4a15-4aea-a981-25510fb5cdf2",
"Section": {
"TaskTypeSectionId": "fc80a228-3174-4f8e-a3d7-1b86e5fd0978",
"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": "981e7192-bb23-4be7-b915-d7be2b026a11",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e80ba299-944e-47b6-9e04-6391ba2b9733",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db9e71fd-bfc9-4a10-a7df-b32d75c71f32",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-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": "6f00e92b-128c-4d3c-bb27-6390163b29b2",
"TaskTypeField": {
"TaskTypeFieldId": "740fc73c-4a15-4aea-a981-25510fb5cdf2",
"Section": {
"TaskTypeSectionId": "fc80a228-3174-4f8e-a3d7-1b86e5fd0978",
"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": "981e7192-bb23-4be7-b915-d7be2b026a11",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e80ba299-944e-47b6-9e04-6391ba2b9733",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db9e71fd-bfc9-4a10-a7df-b32d75c71f32",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-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": "fc434462-dd3f-4bcf-8948-345a3c65bcaf",
"CreateDate": "2026-08-31T11:40:02.2175091-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T11:40:02.2175091-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"
}