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": "5421d1d6-466c-434b-9461-09edb2170fe5",
"Asset": {
"AssetId": "a1f3cbde-6677-4b11-be0c-4f998801b8e4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "36efdb28-eeaa-4ed8-a026-6e4bd29c1948",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "85a917bd-185f-44d4-bb8a-a4cc4e7f9a66",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "481c9aec-a360-4252-9e09-505615a65c41",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "e17d0ccb-a1ea-4246-81b4-5d98e5bce33b",
"Name": "sample string 1",
"CompanyId": "a6dc68bf-005a-4726-8fd8-412823a7623c"
},
"TaskCategory": {
"TaskCategoryId": "ca61195f-571e-46f5-b2e5-4c7ecfd34aa9",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "f7359a52-3e6f-439d-ada1-dbdf57f1bb30",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "08a85972-a2f4-4b9e-91b4-a85ad6ee751a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "737f9220-9911-4df3-9f7d-e8942054dc23",
"Section": {
"TaskTypeSectionId": "6b83aef4-202b-4fc7-bce5-46f07e64e9e0",
"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": "1900d18c-bcb7-444f-87d9-7ac57ab73ec7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dee7a389-9cee-4cc6-8f53-d9d3f92cd30e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4db8e0e8-0ee8-4037-8c67-8d05dd2c5b41",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-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": "737f9220-9911-4df3-9f7d-e8942054dc23",
"Section": {
"TaskTypeSectionId": "6b83aef4-202b-4fc7-bce5-46f07e64e9e0",
"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": "1900d18c-bcb7-444f-87d9-7ac57ab73ec7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dee7a389-9cee-4cc6-8f53-d9d3f92cd30e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4db8e0e8-0ee8-4037-8c67-8d05dd2c5b41",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-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": "54cedb37-f7fe-4cc3-a34e-d7ddd39567ce",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-06-22T15:58:07.7710679-07:00",
"AssignedToUser": {
"UserId": "13efc315-be1d-4ab1-8d24-dc9644e885dc",
"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": "daa8de53-2423-4810-9c86-b370d087e480",
"Teams": [
{
"TeamId": "41151399-daff-43c5-ae2d-43556bcf0a04",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "222f94a7-7709-47c0-a10a-92691d870d4d",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "41151399-daff-43c5-ae2d-43556bcf0a04",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "222f94a7-7709-47c0-a10a-92691d870d4d",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "13efc315-be1d-4ab1-8d24-dc9644e885dc",
"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": "daa8de53-2423-4810-9c86-b370d087e480",
"Teams": [
{
"TeamId": "41151399-daff-43c5-ae2d-43556bcf0a04",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "222f94a7-7709-47c0-a10a-92691d870d4d",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "41151399-daff-43c5-ae2d-43556bcf0a04",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "874a4d31-8ad1-45f4-afb7-49b28a3d4e46",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"MeasurementValueNeededDate": "2026-06-22T15:58:07.7710679-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2022a9c0-155f-4663-b27a-d3e09b925b31",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "222f94a7-7709-47c0-a10a-92691d870d4d",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-06-22T15:58:07.7710679-07:00",
"CompletedDate": "2026-06-22T15:58:07.7710679-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "531f3064-5d56-45b8-a366-65751edb9992",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "531f3064-5d56-45b8-a366-65751edb9992",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "34cc977a-322c-4046-86c7-37c2fafdb459",
"TaskTypeField": {
"TaskTypeFieldId": "737f9220-9911-4df3-9f7d-e8942054dc23",
"Section": {
"TaskTypeSectionId": "6b83aef4-202b-4fc7-bce5-46f07e64e9e0",
"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": "1900d18c-bcb7-444f-87d9-7ac57ab73ec7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dee7a389-9cee-4cc6-8f53-d9d3f92cd30e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4db8e0e8-0ee8-4037-8c67-8d05dd2c5b41",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-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": "34cc977a-322c-4046-86c7-37c2fafdb459",
"TaskTypeField": {
"TaskTypeFieldId": "737f9220-9911-4df3-9f7d-e8942054dc23",
"Section": {
"TaskTypeSectionId": "6b83aef4-202b-4fc7-bce5-46f07e64e9e0",
"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": "1900d18c-bcb7-444f-87d9-7ac57ab73ec7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dee7a389-9cee-4cc6-8f53-d9d3f92cd30e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4db8e0e8-0ee8-4037-8c67-8d05dd2c5b41",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-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": "2487b5bb-a893-4176-811b-fae7c6dd219e",
"CreateDate": "2026-06-22T15:58:07.7710679-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T15:58:07.7710679-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"
}