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": "0dcd2d8f-87ee-40e7-b752-358d5713f803",
"Asset": {
"AssetId": "81bd54f7-8eb7-49a8-ab81-8aebf5038445",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8021239d-a656-4921-abca-e496cb73cc22",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "37e7a005-b5c8-4aed-9132-683f4e440660",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7213d24e-7048-440b-ae48-c53ba9b98fb8",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "dfb0f887-a8d7-4340-9db5-2965741d6f58",
"Name": "sample string 1",
"CompanyId": "4c0e1b5a-d227-4ed9-ba04-d744041cfa5e"
},
"TaskCategory": {
"TaskCategoryId": "e42599e7-eccc-4554-8432-a8f084c30347",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "695cf59a-fd31-4e9e-a1a9-75950debacf1",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "3341cea7-4190-4df7-99b9-1b48b66a5484",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d1d3db7e-66db-42dc-9db0-9759b8fe0cdd",
"Section": {
"TaskTypeSectionId": "263978ad-5ead-4b80-838e-e5c18e8ae1fd",
"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": "d13f2c94-1d9e-48bf-bb29-930d205788b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a4276043-e169-4093-a33f-16613911bae2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d491ff70-3456-4ef6-8065-988143f47ebc",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-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": "d1d3db7e-66db-42dc-9db0-9759b8fe0cdd",
"Section": {
"TaskTypeSectionId": "263978ad-5ead-4b80-838e-e5c18e8ae1fd",
"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": "d13f2c94-1d9e-48bf-bb29-930d205788b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a4276043-e169-4093-a33f-16613911bae2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d491ff70-3456-4ef6-8065-988143f47ebc",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-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": "80ca86f2-e8b9-4e76-aa1f-f2e302365a6c",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2025-11-15T19:28:55.6418188-08:00",
"AssignedToUser": {
"UserId": "ff74f60f-0d98-417a-a059-126cc502930f",
"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": "621f1b80-6f4a-48d2-92d6-24cd61e15e60",
"Teams": [
{
"TeamId": "a514c734-b4f0-4260-b9af-c887038e259e",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "2fb5a638-fa8a-4907-8f24-9a7c3a0d0cc2",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "a514c734-b4f0-4260-b9af-c887038e259e",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "2fb5a638-fa8a-4907-8f24-9a7c3a0d0cc2",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "ff74f60f-0d98-417a-a059-126cc502930f",
"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": "621f1b80-6f4a-48d2-92d6-24cd61e15e60",
"Teams": [
{
"TeamId": "a514c734-b4f0-4260-b9af-c887038e259e",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "2fb5a638-fa8a-4907-8f24-9a7c3a0d0cc2",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "a514c734-b4f0-4260-b9af-c887038e259e",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0993569c-0f3d-4047-9bb8-d6c8099781cd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"MeasurementValueNeededDate": "2025-11-15T19:28:55.6418188-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f5a8aa15-2da4-4b05-a455-d2f5924b8d8b",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "2fb5a638-fa8a-4907-8f24-9a7c3a0d0cc2",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2025-11-15T19:28:55.6418188-08:00",
"CompletedDate": "2025-11-15T19:28:55.6418188-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "c90c2a8d-0ae6-4a5d-a210-572dc87f6e3c",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "c90c2a8d-0ae6-4a5d-a210-572dc87f6e3c",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "51146a04-3d3a-4e99-b71a-1ffd23178efc",
"TaskTypeField": {
"TaskTypeFieldId": "d1d3db7e-66db-42dc-9db0-9759b8fe0cdd",
"Section": {
"TaskTypeSectionId": "263978ad-5ead-4b80-838e-e5c18e8ae1fd",
"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": "d13f2c94-1d9e-48bf-bb29-930d205788b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a4276043-e169-4093-a33f-16613911bae2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d491ff70-3456-4ef6-8065-988143f47ebc",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-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": "51146a04-3d3a-4e99-b71a-1ffd23178efc",
"TaskTypeField": {
"TaskTypeFieldId": "d1d3db7e-66db-42dc-9db0-9759b8fe0cdd",
"Section": {
"TaskTypeSectionId": "263978ad-5ead-4b80-838e-e5c18e8ae1fd",
"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": "d13f2c94-1d9e-48bf-bb29-930d205788b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a4276043-e169-4093-a33f-16613911bae2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d491ff70-3456-4ef6-8065-988143f47ebc",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-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": "b018be51-6a1c-4b19-8645-c9cab9d07716",
"CreateDate": "2025-11-15T19:28:55.6418188-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T19:28:55.6418188-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"
}