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": "f787feab-2cae-4b04-a495-88eb22101d27",
"Asset": {
"AssetId": "5396c20b-3090-4426-9df8-93fb59351486",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f51a936b-c816-479c-99b0-7e333af00ecb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b801a364-1bd1-4313-9510-17734b3851c5",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "903b351a-73f8-4ce9-8372-b38588017d5b",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "6435cda8-583f-4098-b4a5-de771e5da563",
"Name": "sample string 1",
"CompanyId": "d07995da-37d8-48fe-a682-f264ed95a5ce"
},
"TaskCategory": {
"TaskCategoryId": "8fafd482-0d73-44f3-b540-57a39285aaac",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "fa6146e7-bde3-4b5d-a58c-4c5e3fb21ef9",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "5ca8fe02-e85b-4105-b4c2-39ca51916969",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "86227e1b-cf57-4d47-827a-892b32df0e85",
"Section": {
"TaskTypeSectionId": "bc51e941-ff5c-4496-965a-c331aeb59893",
"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": "a2ea2eef-0954-47bc-8121-d7be2d5cbc4a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "286099ee-9503-4ab1-bbe1-f9dab461ab6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91fa4555-813e-4ce2-889a-cf5570612e5d",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-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": "86227e1b-cf57-4d47-827a-892b32df0e85",
"Section": {
"TaskTypeSectionId": "bc51e941-ff5c-4496-965a-c331aeb59893",
"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": "a2ea2eef-0954-47bc-8121-d7be2d5cbc4a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "286099ee-9503-4ab1-bbe1-f9dab461ab6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91fa4555-813e-4ce2-889a-cf5570612e5d",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-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": "cc8108af-102a-457e-8b47-d3a19767ae7a",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-07-01T19:16:13.8986168-07:00",
"AssignedToUser": {
"UserId": "d531e0d3-c101-4988-82b1-4329e31680c3",
"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": "304b6f42-70a9-446c-aebf-72bf73c9a6fb",
"Teams": [
{
"TeamId": "d754d9fe-a5b7-4818-9cba-771bb259738d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "359441c6-3a23-4531-8b7b-deb8b8a1b6c9",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "d754d9fe-a5b7-4818-9cba-771bb259738d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "359441c6-3a23-4531-8b7b-deb8b8a1b6c9",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "d531e0d3-c101-4988-82b1-4329e31680c3",
"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": "304b6f42-70a9-446c-aebf-72bf73c9a6fb",
"Teams": [
{
"TeamId": "d754d9fe-a5b7-4818-9cba-771bb259738d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "359441c6-3a23-4531-8b7b-deb8b8a1b6c9",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "d754d9fe-a5b7-4818-9cba-771bb259738d",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a939afd-bb9f-4a81-b8ee-fadc9afa682d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"MeasurementValueNeededDate": "2026-07-01T19:16:13.8986168-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "67b4e72f-c293-4b2e-a77f-70a0fdccabcb",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "359441c6-3a23-4531-8b7b-deb8b8a1b6c9",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-07-01T19:16:13.8986168-07:00",
"CompletedDate": "2026-07-01T19:16:13.8986168-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "3c872490-f93b-4065-bb24-b2f12e80047b",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "3c872490-f93b-4065-bb24-b2f12e80047b",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "7de46293-9053-41e5-84ee-2dcf80ed7913",
"TaskTypeField": {
"TaskTypeFieldId": "86227e1b-cf57-4d47-827a-892b32df0e85",
"Section": {
"TaskTypeSectionId": "bc51e941-ff5c-4496-965a-c331aeb59893",
"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": "a2ea2eef-0954-47bc-8121-d7be2d5cbc4a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "286099ee-9503-4ab1-bbe1-f9dab461ab6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91fa4555-813e-4ce2-889a-cf5570612e5d",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-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": "7de46293-9053-41e5-84ee-2dcf80ed7913",
"TaskTypeField": {
"TaskTypeFieldId": "86227e1b-cf57-4d47-827a-892b32df0e85",
"Section": {
"TaskTypeSectionId": "bc51e941-ff5c-4496-965a-c331aeb59893",
"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": "a2ea2eef-0954-47bc-8121-d7be2d5cbc4a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "286099ee-9503-4ab1-bbe1-f9dab461ab6a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91fa4555-813e-4ce2-889a-cf5570612e5d",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-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": "66e5d8da-0ca9-4a30-9b90-bc1bff112478",
"CreateDate": "2026-07-01T19:16:13.8986168-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-01T19:16:13.8986168-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"
}