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": "d049e839-9ea7-4871-a098-a69b17c23b61",
"Asset": {
"AssetId": "0e41a06b-125b-4320-bf76-e35f65ed6b07",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c3f93663-4c08-49de-bdce-03c1faa424c5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8ae7be0c-1047-4959-8396-1cf2ad370959",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f59d5420-9ed4-46b3-a15d-16d049ab0666",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "23fd9a14-c484-44ee-9bdd-9d84086f76b2",
"Name": "sample string 1",
"CompanyId": "d76479f2-46e2-4e9b-a969-8a85dfd29867"
},
"TaskCategory": {
"TaskCategoryId": "0db78533-f9c7-4192-b577-ba72a94ddb8f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "deb57eed-ccb1-4ed2-9ab4-ea85240590f9",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "9125ac87-9664-4cec-8e9b-94a58e11f1f2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "b3c15acb-5e23-414d-830d-d2bfc985af3f",
"Section": {
"TaskTypeSectionId": "70a162a4-1c49-475a-9640-388699c04b52",
"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": "5d70bacf-528c-4ed6-91b4-d500ba8ccee4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24697d01-eb3c-4366-bf5d-01556d3a2d50",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "901f144e-ced4-4848-aed2-4eab8f4602f1",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-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": "b3c15acb-5e23-414d-830d-d2bfc985af3f",
"Section": {
"TaskTypeSectionId": "70a162a4-1c49-475a-9640-388699c04b52",
"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": "5d70bacf-528c-4ed6-91b4-d500ba8ccee4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24697d01-eb3c-4366-bf5d-01556d3a2d50",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "901f144e-ced4-4848-aed2-4eab8f4602f1",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-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": "c0625add-bdc9-4313-a0e1-ae423c8f84e5",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-04-25T19:16:15.6640564-07:00",
"AssignedToUser": {
"UserId": "4643a34c-bf56-498a-9c66-e252706323eb",
"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": "4ca23825-50d1-4dc5-9aa9-c280b7ca7745",
"Teams": [
{
"TeamId": "017f7c3c-6a04-42b9-ae4d-da14b4c09959",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "47a9a2e6-2d05-42b7-aacb-00dd49862575",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "017f7c3c-6a04-42b9-ae4d-da14b4c09959",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "47a9a2e6-2d05-42b7-aacb-00dd49862575",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "4643a34c-bf56-498a-9c66-e252706323eb",
"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": "4ca23825-50d1-4dc5-9aa9-c280b7ca7745",
"Teams": [
{
"TeamId": "017f7c3c-6a04-42b9-ae4d-da14b4c09959",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "47a9a2e6-2d05-42b7-aacb-00dd49862575",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "017f7c3c-6a04-42b9-ae4d-da14b4c09959",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "f97d0205-756f-4455-8dfe-7e3c7ad8861b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"MeasurementValueNeededDate": "2026-04-25T19:16:15.6640564-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c03c7033-0aeb-4d79-9b84-1b993b133598",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "47a9a2e6-2d05-42b7-aacb-00dd49862575",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-04-25T19:16:15.6640564-07:00",
"CompletedDate": "2026-04-25T19:16:15.6640564-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "e38393a5-cfa7-4639-b73f-0b929e2f0739",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "e38393a5-cfa7-4639-b73f-0b929e2f0739",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "17797f4b-ad36-4c3c-bd0e-3df017da285c",
"TaskTypeField": {
"TaskTypeFieldId": "b3c15acb-5e23-414d-830d-d2bfc985af3f",
"Section": {
"TaskTypeSectionId": "70a162a4-1c49-475a-9640-388699c04b52",
"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": "5d70bacf-528c-4ed6-91b4-d500ba8ccee4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24697d01-eb3c-4366-bf5d-01556d3a2d50",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "901f144e-ced4-4848-aed2-4eab8f4602f1",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-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": "17797f4b-ad36-4c3c-bd0e-3df017da285c",
"TaskTypeField": {
"TaskTypeFieldId": "b3c15acb-5e23-414d-830d-d2bfc985af3f",
"Section": {
"TaskTypeSectionId": "70a162a4-1c49-475a-9640-388699c04b52",
"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": "5d70bacf-528c-4ed6-91b4-d500ba8ccee4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24697d01-eb3c-4366-bf5d-01556d3a2d50",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "901f144e-ced4-4848-aed2-4eab8f4602f1",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-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": "1ffdc7d7-235e-4575-9b69-dd2477968460",
"CreateDate": "2026-04-25T19:16:15.6640564-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-25T19:16:15.6640564-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"
}