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": "17204700-9b61-4d53-a77f-a2acb745a1d9",
"Asset": {
"AssetId": "44180103-1bfb-4c27-8d10-c4a7b1a731e9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "34c4f710-ffdc-4b02-ab45-512d09c7bf49",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3d45e857-b095-4f04-b87d-75fc54afc96c",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d8b91fe1-1ca7-4dbf-b09b-c9a239e7973b",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "1a77b8e9-3848-4502-a5e9-c2342b184d28",
"Name": "sample string 1",
"CompanyId": "894fb958-e24f-4625-a313-4506b8d3831b"
},
"TaskCategory": {
"TaskCategoryId": "97c689d2-ec01-4481-b559-2bdcec004f52",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a91fb210-6f44-4bb2-a4fb-0774ab0dfebc",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "346ce358-62bf-4613-b424-fcfc9e7ca038",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "59c6aa9c-a102-45a3-ac2c-052db4e4725b",
"Section": {
"TaskTypeSectionId": "e0608b02-d352-40ae-9cc7-3112dc2f007a",
"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": "a06bdede-897a-496e-b5cb-a79aac3a82b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1992319b-9c3a-4c96-b321-bdce25bf19ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e58d9bd7-ce8b-4058-8921-83028c629b11",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-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": "59c6aa9c-a102-45a3-ac2c-052db4e4725b",
"Section": {
"TaskTypeSectionId": "e0608b02-d352-40ae-9cc7-3112dc2f007a",
"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": "a06bdede-897a-496e-b5cb-a79aac3a82b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1992319b-9c3a-4c96-b321-bdce25bf19ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e58d9bd7-ce8b-4058-8921-83028c629b11",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-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": "a287db43-b136-4d89-a703-cfc6138c09c2",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-03-13T04:21:11.9450468-07:00",
"AssignedToUser": {
"UserId": "971fa542-8cab-410a-8262-33fbdcc95054",
"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": "5f0e4b3f-d8fe-4e41-bd8e-433ff1af7151",
"Teams": [
{
"TeamId": "a7e1bc1b-8126-4457-ab84-d10f7a35105d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "cdec05b2-336a-45b1-b8aa-63b247d06fb9",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "a7e1bc1b-8126-4457-ab84-d10f7a35105d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "cdec05b2-336a-45b1-b8aa-63b247d06fb9",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "971fa542-8cab-410a-8262-33fbdcc95054",
"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": "5f0e4b3f-d8fe-4e41-bd8e-433ff1af7151",
"Teams": [
{
"TeamId": "a7e1bc1b-8126-4457-ab84-d10f7a35105d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "cdec05b2-336a-45b1-b8aa-63b247d06fb9",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "a7e1bc1b-8126-4457-ab84-d10f7a35105d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "5b9d6584-f183-4cff-abba-31481578e8c7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"MeasurementValueNeededDate": "2026-03-13T04:21:11.9450468-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9726a878-57e3-4d8e-9335-2d05b0633786",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "cdec05b2-336a-45b1-b8aa-63b247d06fb9",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-03-13T04:21:11.9450468-07:00",
"CompletedDate": "2026-03-13T04:21:11.9450468-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "0f1a1a96-cec7-4d3d-9853-79ed5221f8d9",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "0f1a1a96-cec7-4d3d-9853-79ed5221f8d9",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "3aff1a20-566b-49ea-ad90-3064fe826ab3",
"TaskTypeField": {
"TaskTypeFieldId": "59c6aa9c-a102-45a3-ac2c-052db4e4725b",
"Section": {
"TaskTypeSectionId": "e0608b02-d352-40ae-9cc7-3112dc2f007a",
"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": "a06bdede-897a-496e-b5cb-a79aac3a82b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1992319b-9c3a-4c96-b321-bdce25bf19ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e58d9bd7-ce8b-4058-8921-83028c629b11",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-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": "3aff1a20-566b-49ea-ad90-3064fe826ab3",
"TaskTypeField": {
"TaskTypeFieldId": "59c6aa9c-a102-45a3-ac2c-052db4e4725b",
"Section": {
"TaskTypeSectionId": "e0608b02-d352-40ae-9cc7-3112dc2f007a",
"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": "a06bdede-897a-496e-b5cb-a79aac3a82b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1992319b-9c3a-4c96-b321-bdce25bf19ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e58d9bd7-ce8b-4058-8921-83028c629b11",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-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": "d633a208-5987-4d2d-b828-42039bd44ebe",
"CreateDate": "2026-03-13T04:21:11.9450468-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T04:21:11.9450468-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"
}