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": "b3933af0-adf9-4366-a097-cac00618e800",
"Asset": {
"AssetId": "316eb2ea-23d0-496d-a734-5f7ba05a8670",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a8275ca7-fa13-4593-b84d-18a011a8b024",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3481e479-d924-4e1d-ad07-9b4d8d96adae",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "05b3579c-fbe9-4240-a8aa-b7b01ba12021",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "bef618ea-25d6-429e-ae19-813084fbbe17",
"Name": "sample string 1",
"CompanyId": "0be065ad-74b0-409c-b726-f2af130fd6c1"
},
"TaskCategory": {
"TaskCategoryId": "188a0961-85fb-4167-abac-ff5535934fe9",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cfa4dbec-4e1c-42a8-8fb8-adbdfd6a6e34",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "568e91eb-18a0-4d14-ba4e-a65c192da3f7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "acdb6ad5-1c94-41dc-bc57-b45ddb7fec9b",
"Section": {
"TaskTypeSectionId": "386b7a77-f197-482c-b8f5-9e14d19808fb",
"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": "abdbf3a0-7fdf-44aa-bfa8-af7ef67d7e88",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "edfc1847-5597-40b3-a8f5-a71eec392a6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b1cc4c3-d115-4234-99c0-91701a8c63cf",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08: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": "acdb6ad5-1c94-41dc-bc57-b45ddb7fec9b",
"Section": {
"TaskTypeSectionId": "386b7a77-f197-482c-b8f5-9e14d19808fb",
"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": "abdbf3a0-7fdf-44aa-bfa8-af7ef67d7e88",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "edfc1847-5597-40b3-a8f5-a71eec392a6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b1cc4c3-d115-4234-99c0-91701a8c63cf",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08: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": "aaf89fba-5c1d-4724-97f0-e4b09e6ea70a",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2025-11-05T02:11:50.2419515-08:00",
"AssignedToUser": {
"UserId": "3db18ad4-912c-4164-834b-a311c50a3bdc",
"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": "6229e736-2290-4544-a27b-103edc23530a",
"Teams": [
{
"TeamId": "02f5efa3-cf29-448d-b516-91067e1386e7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1ab0ea8b-48b1-4dcc-8a16-5cc3f5d32d06",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "02f5efa3-cf29-448d-b516-91067e1386e7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1ab0ea8b-48b1-4dcc-8a16-5cc3f5d32d06",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "3db18ad4-912c-4164-834b-a311c50a3bdc",
"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": "6229e736-2290-4544-a27b-103edc23530a",
"Teams": [
{
"TeamId": "02f5efa3-cf29-448d-b516-91067e1386e7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1ab0ea8b-48b1-4dcc-8a16-5cc3f5d32d06",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "02f5efa3-cf29-448d-b516-91067e1386e7",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "2cecb36f-1863-4df8-96c6-2584eb818066",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"MeasurementValueNeededDate": "2025-11-05T02:11:50.2419515-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2e8e2676-f368-415b-bcec-b6291c33fc67",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "1ab0ea8b-48b1-4dcc-8a16-5cc3f5d32d06",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2025-11-05T02:11:50.2419515-08:00",
"CompletedDate": "2025-11-05T02:11:50.2419515-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "6d7dc0fc-78cc-42ae-b602-6c0a63e6d06f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "6d7dc0fc-78cc-42ae-b602-6c0a63e6d06f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "9358c6b8-24db-410c-8a7b-2d80797e0cbb",
"TaskTypeField": {
"TaskTypeFieldId": "acdb6ad5-1c94-41dc-bc57-b45ddb7fec9b",
"Section": {
"TaskTypeSectionId": "386b7a77-f197-482c-b8f5-9e14d19808fb",
"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": "abdbf3a0-7fdf-44aa-bfa8-af7ef67d7e88",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "edfc1847-5597-40b3-a8f5-a71eec392a6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b1cc4c3-d115-4234-99c0-91701a8c63cf",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08: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": "9358c6b8-24db-410c-8a7b-2d80797e0cbb",
"TaskTypeField": {
"TaskTypeFieldId": "acdb6ad5-1c94-41dc-bc57-b45ddb7fec9b",
"Section": {
"TaskTypeSectionId": "386b7a77-f197-482c-b8f5-9e14d19808fb",
"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": "abdbf3a0-7fdf-44aa-bfa8-af7ef67d7e88",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "edfc1847-5597-40b3-a8f5-a71eec392a6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b1cc4c3-d115-4234-99c0-91701a8c63cf",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08: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": "a7ef0ffa-9e72-44c7-9e25-ff682e641b4b",
"CreateDate": "2025-11-05T02:11:50.2419515-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T02:11:50.2419515-08: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"
}