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": "6b42fdd8-215a-4db4-983c-0f39fcdbfaa0",
"Asset": {
"AssetId": "4044dd29-bedd-4e23-ba71-864ec64fec2a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "39e27b1e-6918-4511-8a9c-8ca7f86cae82",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5d1178f2-1423-47bc-bc91-4d90b034d973",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "870e9769-7282-442e-b9e6-6eb4520bb103",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "e95e9c9a-af05-4e09-8309-00ee59d4df5c",
"Name": "sample string 1",
"CompanyId": "1e949145-ad98-45b7-a452-672051d2b00f"
},
"TaskCategory": {
"TaskCategoryId": "c1de50a4-63f1-428c-95b1-34b00c7cb4d2",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fe7939b7-d888-4b82-996c-a4e6fb757092",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "7034b3fa-739f-41db-834c-c8640eab22bc",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c5e5c9b4-9d1e-474c-a44d-f4eff3fbf2cb",
"Section": {
"TaskTypeSectionId": "173a2d92-4628-4c48-a551-cbf4969edab6",
"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": "0590baf0-63a4-4387-9126-cc217e53e139",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6d3af08a-7ce7-4b8c-b46c-06fb707b932c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8c524727-dae2-43da-84b6-a3b42d3d1ae6",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-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": "c5e5c9b4-9d1e-474c-a44d-f4eff3fbf2cb",
"Section": {
"TaskTypeSectionId": "173a2d92-4628-4c48-a551-cbf4969edab6",
"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": "0590baf0-63a4-4387-9126-cc217e53e139",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6d3af08a-7ce7-4b8c-b46c-06fb707b932c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8c524727-dae2-43da-84b6-a3b42d3d1ae6",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-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": "aa40ec06-ea1f-499f-a556-251ed10f1c27",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-11-22T18:25:18.4651687-08:00",
"AssignedToUser": {
"UserId": "cf6e6534-d1e7-4448-a9e2-0fbbb8527963",
"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": "17cf4c75-bd76-46e8-8222-03e1ed6e908a",
"Teams": [
{
"TeamId": "5871949d-f767-4d5f-8004-3569d6c66d85",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "bdfac676-aed2-4916-9f50-c28d6d370b09",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "5871949d-f767-4d5f-8004-3569d6c66d85",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "bdfac676-aed2-4916-9f50-c28d6d370b09",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "cf6e6534-d1e7-4448-a9e2-0fbbb8527963",
"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": "17cf4c75-bd76-46e8-8222-03e1ed6e908a",
"Teams": [
{
"TeamId": "5871949d-f767-4d5f-8004-3569d6c66d85",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "bdfac676-aed2-4916-9f50-c28d6d370b09",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "5871949d-f767-4d5f-8004-3569d6c66d85",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "0232740d-520a-4343-998b-c8b052bd21fd",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"MeasurementValueNeededDate": "2026-11-22T18:25:18.4651687-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eabf63cb-4702-432d-83da-0eea279f2f7b",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "bdfac676-aed2-4916-9f50-c28d6d370b09",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-11-22T18:25:18.4651687-08:00",
"CompletedDate": "2026-11-22T18:25:18.4651687-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "4ee420ce-cd82-4d06-9aa7-a3097ba6b11b",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "4ee420ce-cd82-4d06-9aa7-a3097ba6b11b",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "045fa10c-9643-4975-bc01-eb0210c0fba7",
"TaskTypeField": {
"TaskTypeFieldId": "c5e5c9b4-9d1e-474c-a44d-f4eff3fbf2cb",
"Section": {
"TaskTypeSectionId": "173a2d92-4628-4c48-a551-cbf4969edab6",
"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": "0590baf0-63a4-4387-9126-cc217e53e139",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6d3af08a-7ce7-4b8c-b46c-06fb707b932c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8c524727-dae2-43da-84b6-a3b42d3d1ae6",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-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": "045fa10c-9643-4975-bc01-eb0210c0fba7",
"TaskTypeField": {
"TaskTypeFieldId": "c5e5c9b4-9d1e-474c-a44d-f4eff3fbf2cb",
"Section": {
"TaskTypeSectionId": "173a2d92-4628-4c48-a551-cbf4969edab6",
"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": "0590baf0-63a4-4387-9126-cc217e53e139",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6d3af08a-7ce7-4b8c-b46c-06fb707b932c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8c524727-dae2-43da-84b6-a3b42d3d1ae6",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-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": "6b587107-62ad-46dc-ad98-96e6de3cc6dc",
"CreateDate": "2026-11-22T18:25:18.4651687-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-22T18:25:18.4651687-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"
}