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": "f7622398-a716-4b45-9d50-7ac76879645f",
"Asset": {
"AssetId": "5b8fed28-de93-4c15-a5ef-cd9f2bc3d641",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "575aec2f-a88c-4696-913f-aa811b8f0971",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1f0703d4-7d51-43d4-8bc1-8993322cd6b4",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "404772ab-fb39-48de-9174-097b1bb0dc7d",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "1c5ce865-e7d5-4d26-b7e3-075f470d774d",
"Name": "sample string 1",
"CompanyId": "be77ee07-8ba7-4c6a-9c2b-26d292f5361b"
},
"TaskCategory": {
"TaskCategoryId": "383d2a99-3103-4be3-b171-92e18fed01eb",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5b01ea67-0cc7-4033-8200-994dbe264c77",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "9495619e-8d51-4f48-a078-5dbf9caf918c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "224fbc53-e946-4035-9afd-6611abee141d",
"Section": {
"TaskTypeSectionId": "7118c0a5-b23d-4601-9a20-0c26fd5a1546",
"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": "165af827-14cb-42c6-96be-6013c8c3471e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "21d6dcdf-826d-4496-96db-50d878b84add",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d9b863a-2721-4f43-b80e-ade29f47c515",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-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": "224fbc53-e946-4035-9afd-6611abee141d",
"Section": {
"TaskTypeSectionId": "7118c0a5-b23d-4601-9a20-0c26fd5a1546",
"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": "165af827-14cb-42c6-96be-6013c8c3471e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "21d6dcdf-826d-4496-96db-50d878b84add",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d9b863a-2721-4f43-b80e-ade29f47c515",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-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": "09b01145-44ba-4c34-8e38-3660e6717681",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-06-01T09:25:58.1595192-07:00",
"AssignedToUser": {
"UserId": "e1e218ce-bdbc-4682-9956-309322897555",
"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": "76d2659f-69ee-45bd-83eb-9f75f7caabc0",
"Teams": [
{
"TeamId": "520b8533-771d-4ac7-8ada-10f31fbf480c",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "31e5514c-5969-46b4-aa29-853c48e40e07",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "520b8533-771d-4ac7-8ada-10f31fbf480c",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "31e5514c-5969-46b4-aa29-853c48e40e07",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "e1e218ce-bdbc-4682-9956-309322897555",
"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": "76d2659f-69ee-45bd-83eb-9f75f7caabc0",
"Teams": [
{
"TeamId": "520b8533-771d-4ac7-8ada-10f31fbf480c",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "31e5514c-5969-46b4-aa29-853c48e40e07",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "520b8533-771d-4ac7-8ada-10f31fbf480c",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "d1d9ffd6-459a-4909-8626-b1cdd079c274",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"MeasurementValueNeededDate": "2026-06-01T09:25:58.1595192-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c66a3142-b97d-4b96-bd7c-1c962751eecd",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "31e5514c-5969-46b4-aa29-853c48e40e07",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-06-01T09:25:58.1595192-07:00",
"CompletedDate": "2026-06-01T09:25:58.1595192-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "b1ccedee-ef90-47e5-b03f-b64f711048ca",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "b1ccedee-ef90-47e5-b03f-b64f711048ca",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "3eeb21e8-c753-46c3-93a9-542e9a3b598d",
"TaskTypeField": {
"TaskTypeFieldId": "224fbc53-e946-4035-9afd-6611abee141d",
"Section": {
"TaskTypeSectionId": "7118c0a5-b23d-4601-9a20-0c26fd5a1546",
"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": "165af827-14cb-42c6-96be-6013c8c3471e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "21d6dcdf-826d-4496-96db-50d878b84add",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d9b863a-2721-4f43-b80e-ade29f47c515",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-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": "3eeb21e8-c753-46c3-93a9-542e9a3b598d",
"TaskTypeField": {
"TaskTypeFieldId": "224fbc53-e946-4035-9afd-6611abee141d",
"Section": {
"TaskTypeSectionId": "7118c0a5-b23d-4601-9a20-0c26fd5a1546",
"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": "165af827-14cb-42c6-96be-6013c8c3471e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "21d6dcdf-826d-4496-96db-50d878b84add",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d9b863a-2721-4f43-b80e-ade29f47c515",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-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": "23cefb2e-69e8-4b5f-ab6b-a24b284c3f9b",
"CreateDate": "2026-06-01T09:25:58.1595192-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T09:25:58.1595192-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"
}