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": "a289f105-d578-4551-a9a8-de46e43f61ea",
"Asset": {
"AssetId": "e6db54e6-3da8-4d10-ba1f-1532898e6090",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "52d6f023-2091-4a38-b1a8-f4c63d2bfdcc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "aa9f1bbb-57e3-4118-8f7c-d646e6eb7003",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7845e5fc-1619-4646-a04d-66d7c854bdd9",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "cbd8be68-080c-4e8f-a319-94c8b1e43a0b",
"Name": "sample string 1",
"CompanyId": "9ddae5de-91ed-46df-ac6e-bfbc31b342a8"
},
"TaskCategory": {
"TaskCategoryId": "65b2b8ae-6d90-47ab-90bc-47ff05261c2f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e23da904-82fa-4a5b-b6a6-a6c32e0c3cd0",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "afab8f1b-d354-478f-a8e5-d1066e63fa33",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ec48cbba-3b4f-417a-ae4a-8dfc5796dd1f",
"Section": {
"TaskTypeSectionId": "9691b8c4-7d5d-4a4a-b2d3-68b539a0f35f",
"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": "cdeb7e7f-4172-4566-801e-c9da68bea5f3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "74f6e440-955f-4177-b2e2-7107d48ffb09",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e144ee7b-0a6f-4b71-9101-9b47b4289723",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-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": "ec48cbba-3b4f-417a-ae4a-8dfc5796dd1f",
"Section": {
"TaskTypeSectionId": "9691b8c4-7d5d-4a4a-b2d3-68b539a0f35f",
"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": "cdeb7e7f-4172-4566-801e-c9da68bea5f3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "74f6e440-955f-4177-b2e2-7107d48ffb09",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e144ee7b-0a6f-4b71-9101-9b47b4289723",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-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": "3610b995-87e4-4ccb-a0ba-4b5d1878e2a9",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-08-01T02:09:36.777548-07:00",
"AssignedToUser": {
"UserId": "a1d3ce8d-243f-4082-9176-8b2dbd0daf82",
"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": "f5954fc0-a724-4d2e-995c-f67f14f33565",
"Teams": [
{
"TeamId": "320cd234-5908-41dc-a211-f14d32c88b76",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "11b95c70-c66c-4614-b3a0-9e2f864733ca",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "320cd234-5908-41dc-a211-f14d32c88b76",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "11b95c70-c66c-4614-b3a0-9e2f864733ca",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "a1d3ce8d-243f-4082-9176-8b2dbd0daf82",
"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": "f5954fc0-a724-4d2e-995c-f67f14f33565",
"Teams": [
{
"TeamId": "320cd234-5908-41dc-a211-f14d32c88b76",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "11b95c70-c66c-4614-b3a0-9e2f864733ca",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "320cd234-5908-41dc-a211-f14d32c88b76",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "da5060ca-3d9f-43a1-8c54-c1b2b3f3ff0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"MeasurementValueNeededDate": "2026-08-01T02:09:36.777548-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2708612-67a5-4d76-b134-8b6a7aac5792",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "11b95c70-c66c-4614-b3a0-9e2f864733ca",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-08-01T02:09:36.777548-07:00",
"CompletedDate": "2026-08-01T02:09:36.777548-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "820f8fd1-5083-4b4e-a795-921765cffd8d",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "820f8fd1-5083-4b4e-a795-921765cffd8d",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "b6768876-718e-4f5c-b681-7925c06b5f6f",
"TaskTypeField": {
"TaskTypeFieldId": "ec48cbba-3b4f-417a-ae4a-8dfc5796dd1f",
"Section": {
"TaskTypeSectionId": "9691b8c4-7d5d-4a4a-b2d3-68b539a0f35f",
"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": "cdeb7e7f-4172-4566-801e-c9da68bea5f3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "74f6e440-955f-4177-b2e2-7107d48ffb09",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e144ee7b-0a6f-4b71-9101-9b47b4289723",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-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": "b6768876-718e-4f5c-b681-7925c06b5f6f",
"TaskTypeField": {
"TaskTypeFieldId": "ec48cbba-3b4f-417a-ae4a-8dfc5796dd1f",
"Section": {
"TaskTypeSectionId": "9691b8c4-7d5d-4a4a-b2d3-68b539a0f35f",
"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": "cdeb7e7f-4172-4566-801e-c9da68bea5f3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "74f6e440-955f-4177-b2e2-7107d48ffb09",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e144ee7b-0a6f-4b71-9101-9b47b4289723",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-01T02:09:36.777548-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": "2bb503e0-546f-4f0d-9f9d-2cef7f12d416",
"CreateDate": "2026-08-01T02:09:36.777548-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-01T02:09:36.777548-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"
}