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": "19c95cd8-176e-44b5-9bc0-46b297ee8167",
"Asset": {
"AssetId": "71edab54-ab65-4aee-b513-d405c069e489",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9fc23573-3956-4aa5-8c32-efc1fac85945",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8f4045ec-1dc4-4f18-9454-4d6badb7ece6",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0afbcca8-bd6d-4940-9414-03219aead645",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "ccf18b00-41b6-4679-bc02-88a2589d3934",
"Name": "sample string 1",
"CompanyId": "55955435-239c-475b-a162-530300f02748"
},
"TaskCategory": {
"TaskCategoryId": "3dae64f8-7b6e-4b03-9876-6b617b52c0ae",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cc8d3e44-39ec-4b35-ad07-971ac187e42a",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "96426c20-278c-4214-9ecd-291c733d8b95",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "698f9e58-83ee-49de-90c9-3b78d35c5091",
"Section": {
"TaskTypeSectionId": "d013086c-a1e0-452f-94e3-6207eadff0da",
"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": "7db06aa6-9c70-4ef6-aef5-1e497db63b23",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e2b355b-8294-4cfc-9604-e64794bcbc4b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6cb4f8c0-6b7a-46a2-873c-77b847484221",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-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": "698f9e58-83ee-49de-90c9-3b78d35c5091",
"Section": {
"TaskTypeSectionId": "d013086c-a1e0-452f-94e3-6207eadff0da",
"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": "7db06aa6-9c70-4ef6-aef5-1e497db63b23",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e2b355b-8294-4cfc-9604-e64794bcbc4b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6cb4f8c0-6b7a-46a2-873c-77b847484221",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-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": "916a3f38-c7ca-46a3-b241-f1cb86df198b",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-10-10T08:58:51.0644012-07:00",
"AssignedToUser": {
"UserId": "3fdbee1c-fb36-4cf1-b4e1-c1fa9796b735",
"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": "d75c4d30-3ade-4d3e-8ae0-60fc238465ef",
"Teams": [
{
"TeamId": "5226f334-da1f-4df2-9f1b-3d7c2851ca1f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "578276da-23fb-4443-a5ac-790849afdac6",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "5226f334-da1f-4df2-9f1b-3d7c2851ca1f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "578276da-23fb-4443-a5ac-790849afdac6",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "3fdbee1c-fb36-4cf1-b4e1-c1fa9796b735",
"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": "d75c4d30-3ade-4d3e-8ae0-60fc238465ef",
"Teams": [
{
"TeamId": "5226f334-da1f-4df2-9f1b-3d7c2851ca1f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "578276da-23fb-4443-a5ac-790849afdac6",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "5226f334-da1f-4df2-9f1b-3d7c2851ca1f",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "3f76db11-7447-4ea1-be88-3ae653dcaf5f",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"MeasurementValueNeededDate": "2026-10-10T08:58:51.0644012-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2bbfb0f8-375e-41ef-b4ac-bc8117d97f9c",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "578276da-23fb-4443-a5ac-790849afdac6",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-10-10T08:58:51.0644012-07:00",
"CompletedDate": "2026-10-10T08:58:51.0644012-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "9e79dcaf-c704-4c96-acec-4f2b70774b8f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "9e79dcaf-c704-4c96-acec-4f2b70774b8f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "70e01e0e-05fd-4b4a-a659-d469db8f70df",
"TaskTypeField": {
"TaskTypeFieldId": "698f9e58-83ee-49de-90c9-3b78d35c5091",
"Section": {
"TaskTypeSectionId": "d013086c-a1e0-452f-94e3-6207eadff0da",
"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": "7db06aa6-9c70-4ef6-aef5-1e497db63b23",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e2b355b-8294-4cfc-9604-e64794bcbc4b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6cb4f8c0-6b7a-46a2-873c-77b847484221",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-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": "70e01e0e-05fd-4b4a-a659-d469db8f70df",
"TaskTypeField": {
"TaskTypeFieldId": "698f9e58-83ee-49de-90c9-3b78d35c5091",
"Section": {
"TaskTypeSectionId": "d013086c-a1e0-452f-94e3-6207eadff0da",
"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": "7db06aa6-9c70-4ef6-aef5-1e497db63b23",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e2b355b-8294-4cfc-9604-e64794bcbc4b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6cb4f8c0-6b7a-46a2-873c-77b847484221",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-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": "f740f631-9c8c-44c8-968f-257819b21b92",
"CreateDate": "2026-10-10T08:58:51.0644012-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-10T08:58:51.0644012-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"
}