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": "0509246c-0a4f-430b-8ab0-6b3792867a7a",
"Asset": {
"AssetId": "728a5e51-a894-451a-926d-7d1542d78cf9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b7f2bc27-f540-4a8b-abdd-032589b3310d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5651bdfc-0a84-45a4-879d-5440b2bd0c58",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "acf5722b-c051-4439-8c54-ff6376988076",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "73b521da-ccb4-4cb9-8a17-f04ab9a35e27",
"Name": "sample string 1",
"CompanyId": "c7e9b1a2-2177-4612-9e28-d1e351f01671"
},
"TaskCategory": {
"TaskCategoryId": "51de6f64-9efe-4727-9d85-6ca8a1ed49f5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0238dead-31df-4022-954a-6e2622230d42",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "475f87f6-5e1b-43be-906f-908600433a62",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "8a7f05fe-ee2f-4ed4-b557-747294ef5018",
"Section": {
"TaskTypeSectionId": "7cc1313a-2f17-4563-a6c0-6bbbf15c0776",
"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": "ee217f62-a46d-41ea-8b9d-c0d6573679b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4bf1b50a-1b16-4927-a98b-5010ca6b6584",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d3153700-93ab-428c-a582-0b212780fb1e",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-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": "8a7f05fe-ee2f-4ed4-b557-747294ef5018",
"Section": {
"TaskTypeSectionId": "7cc1313a-2f17-4563-a6c0-6bbbf15c0776",
"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": "ee217f62-a46d-41ea-8b9d-c0d6573679b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4bf1b50a-1b16-4927-a98b-5010ca6b6584",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d3153700-93ab-428c-a582-0b212780fb1e",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-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": "9b544d3b-ccda-4c31-852c-f3780119b6f0",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-09-06T13:31:11.3834039-07:00",
"AssignedToUser": {
"UserId": "af57544e-fdaa-4f6b-8ae1-94b8943a363d",
"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": "a68c8951-35fc-48da-97a3-d320819a110f",
"Teams": [
{
"TeamId": "c6b4a8e0-ff19-485c-9c19-4cc1b3ec6fd7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54fccdce-14ee-403f-88a0-f738d7f9fb20",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "c6b4a8e0-ff19-485c-9c19-4cc1b3ec6fd7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54fccdce-14ee-403f-88a0-f738d7f9fb20",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "af57544e-fdaa-4f6b-8ae1-94b8943a363d",
"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": "a68c8951-35fc-48da-97a3-d320819a110f",
"Teams": [
{
"TeamId": "c6b4a8e0-ff19-485c-9c19-4cc1b3ec6fd7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54fccdce-14ee-403f-88a0-f738d7f9fb20",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "c6b4a8e0-ff19-485c-9c19-4cc1b3ec6fd7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "bd460a25-856d-4a94-bce7-cacdfc595e77",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"MeasurementValueNeededDate": "2026-09-06T13:31:11.3834039-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2c37fd89-9c79-48b9-9667-53762bcda381",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "54fccdce-14ee-403f-88a0-f738d7f9fb20",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-09-06T13:31:11.3834039-07:00",
"CompletedDate": "2026-09-06T13:31:11.3834039-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "0d03141b-9887-4e86-8c0d-f84d8c9428b6",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "0d03141b-9887-4e86-8c0d-f84d8c9428b6",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "84dccb8c-3f0e-472d-9f7e-7bab905594a1",
"TaskTypeField": {
"TaskTypeFieldId": "8a7f05fe-ee2f-4ed4-b557-747294ef5018",
"Section": {
"TaskTypeSectionId": "7cc1313a-2f17-4563-a6c0-6bbbf15c0776",
"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": "ee217f62-a46d-41ea-8b9d-c0d6573679b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4bf1b50a-1b16-4927-a98b-5010ca6b6584",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d3153700-93ab-428c-a582-0b212780fb1e",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-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": "84dccb8c-3f0e-472d-9f7e-7bab905594a1",
"TaskTypeField": {
"TaskTypeFieldId": "8a7f05fe-ee2f-4ed4-b557-747294ef5018",
"Section": {
"TaskTypeSectionId": "7cc1313a-2f17-4563-a6c0-6bbbf15c0776",
"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": "ee217f62-a46d-41ea-8b9d-c0d6573679b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4bf1b50a-1b16-4927-a98b-5010ca6b6584",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d3153700-93ab-428c-a582-0b212780fb1e",
"CreateDate": "2026-09-06T13:31:11.3834039-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T13:31:11.3834039-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": "ff2c6263-20ad-4204-903a-da32476cd73d",
"CreateDate": "2026-09-06T13:31:11.3990275-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-06T13:31:11.3990275-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"
}