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": "adf68e55-fbb1-4d34-a208-e1baa9de5e25",
"Asset": {
"AssetId": "3bfb0bab-f157-4766-ac66-05ae54844b9b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a617b798-6da2-4c2c-840b-7b137ab525b3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "eadf6aa4-046b-46ef-b5dc-473607591740",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c442ef46-29d5-4b81-baf5-a15e435c5645",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "1833296f-e3dc-47fd-b75a-e1b696118694",
"Name": "sample string 1",
"CompanyId": "82965e83-f2f1-4d38-94f5-744fbfc3c7bf"
},
"TaskCategory": {
"TaskCategoryId": "c75c2fcb-46ae-4e17-8a7b-37e85e98ab2a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "732b63ed-7de2-452e-93b2-30e687a829b3",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "01a044af-bad7-4bca-8682-8b62e0ad248e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "21c98583-f66e-466e-bc26-1361b582f444",
"Section": {
"TaskTypeSectionId": "8f8fc1b4-540d-4aa0-b013-f39d750f8c96",
"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": "d6145d18-b583-4466-a3a0-f91b5c85d9ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16b0c52a-bb00-42fc-a15f-2d95fc0c88f6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "14ac1c5d-3933-459b-bbc4-e6aed577c7cb",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-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": "21c98583-f66e-466e-bc26-1361b582f444",
"Section": {
"TaskTypeSectionId": "8f8fc1b4-540d-4aa0-b013-f39d750f8c96",
"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": "d6145d18-b583-4466-a3a0-f91b5c85d9ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16b0c52a-bb00-42fc-a15f-2d95fc0c88f6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "14ac1c5d-3933-459b-bbc4-e6aed577c7cb",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-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": "f5683073-816d-4ed5-a420-ac01d8b30b6e",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-05-24T03:42:15.5375543-07:00",
"AssignedToUser": {
"UserId": "ffe2ed1b-293d-4bfa-a34f-8037137b010d",
"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": "9a2ce0c2-8ab6-4c54-a830-2efce21102f8",
"Teams": [
{
"TeamId": "1bd94028-7a8f-43b3-a207-66ea72ce149a",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3aa79a90-40a8-463f-8441-96dc89c241c5",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "1bd94028-7a8f-43b3-a207-66ea72ce149a",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3aa79a90-40a8-463f-8441-96dc89c241c5",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "ffe2ed1b-293d-4bfa-a34f-8037137b010d",
"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": "9a2ce0c2-8ab6-4c54-a830-2efce21102f8",
"Teams": [
{
"TeamId": "1bd94028-7a8f-43b3-a207-66ea72ce149a",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3aa79a90-40a8-463f-8441-96dc89c241c5",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "1bd94028-7a8f-43b3-a207-66ea72ce149a",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2c93d8de-9eb0-4f70-a5e7-1685727c5934",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"MeasurementValueNeededDate": "2026-05-24T03:42:15.5375543-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cc3c27f8-3b23-448b-98ac-8181a34f6c17",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "3aa79a90-40a8-463f-8441-96dc89c241c5",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-05-24T03:42:15.5375543-07:00",
"CompletedDate": "2026-05-24T03:42:15.5375543-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "6670524a-4fc4-4f71-967c-44702ca8c702",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "6670524a-4fc4-4f71-967c-44702ca8c702",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "42eb08cf-4563-4bd5-a90f-f6bd841180fb",
"TaskTypeField": {
"TaskTypeFieldId": "21c98583-f66e-466e-bc26-1361b582f444",
"Section": {
"TaskTypeSectionId": "8f8fc1b4-540d-4aa0-b013-f39d750f8c96",
"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": "d6145d18-b583-4466-a3a0-f91b5c85d9ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16b0c52a-bb00-42fc-a15f-2d95fc0c88f6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "14ac1c5d-3933-459b-bbc4-e6aed577c7cb",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-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": "42eb08cf-4563-4bd5-a90f-f6bd841180fb",
"TaskTypeField": {
"TaskTypeFieldId": "21c98583-f66e-466e-bc26-1361b582f444",
"Section": {
"TaskTypeSectionId": "8f8fc1b4-540d-4aa0-b013-f39d750f8c96",
"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": "d6145d18-b583-4466-a3a0-f91b5c85d9ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16b0c52a-bb00-42fc-a15f-2d95fc0c88f6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "14ac1c5d-3933-459b-bbc4-e6aed577c7cb",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-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": "cd4446ad-d2d8-4740-8b96-db8928c0efaa",
"CreateDate": "2026-05-24T03:42:15.5375543-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-24T03:42:15.5375543-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"
}