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": "15ed30f2-0041-4832-af56-ae8e7cb0224d",
"Asset": {
"AssetId": "951d58e8-75e4-4e2d-856c-693a372f3816",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "371e14cf-47d5-4952-8ba1-6d7e6ee8d98f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2d73c878-515d-4897-a7cb-64ca49fed12a",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b6e5c3ca-2545-4e78-b8cf-f0a9ce70da38",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "82c984fe-1eb2-4679-a7e2-957016591a49",
"Name": "sample string 1",
"CompanyId": "1429559e-b451-4142-bff3-379e72927207"
},
"TaskCategory": {
"TaskCategoryId": "1e532e13-cf8e-47f5-bc2a-dee046151de7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "af26e668-38ba-4317-b2af-a69f0e0c29b8",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "ec346ea6-9422-4dfb-bb97-66f1d3498570",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "100ee93d-a2dd-4edb-956f-ef08ec5bc527",
"Section": {
"TaskTypeSectionId": "26de1272-07c7-4722-bc34-d6afae59d90d",
"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": "6228b10f-f575-410d-9e58-8b55cce3c2aa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "72099e8e-6623-4572-9c03-47d21747aa61",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a4682e9d-0fc5-4539-9a32-e3a870f755e7",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-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": "100ee93d-a2dd-4edb-956f-ef08ec5bc527",
"Section": {
"TaskTypeSectionId": "26de1272-07c7-4722-bc34-d6afae59d90d",
"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": "6228b10f-f575-410d-9e58-8b55cce3c2aa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "72099e8e-6623-4572-9c03-47d21747aa61",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a4682e9d-0fc5-4539-9a32-e3a870f755e7",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-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": "e08ef459-7e52-496d-9c6a-8ecd016bb028",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-11-27T21:14:24.5443219-08:00",
"AssignedToUser": {
"UserId": "05d566f9-92be-4e4b-970c-77054221af9f",
"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": "84812db3-c5ad-4d82-95aa-2550ca013439",
"Teams": [
{
"TeamId": "22d2cc8a-6995-4bf5-8e64-680274d48f48",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "83f54601-f619-487b-b4c8-0681c666c2a0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "22d2cc8a-6995-4bf5-8e64-680274d48f48",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "83f54601-f619-487b-b4c8-0681c666c2a0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "05d566f9-92be-4e4b-970c-77054221af9f",
"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": "84812db3-c5ad-4d82-95aa-2550ca013439",
"Teams": [
{
"TeamId": "22d2cc8a-6995-4bf5-8e64-680274d48f48",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "83f54601-f619-487b-b4c8-0681c666c2a0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "22d2cc8a-6995-4bf5-8e64-680274d48f48",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "ae85e9fe-4c15-45ea-ab9d-622c62b2657c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"MeasurementValueNeededDate": "2026-11-27T21:14:24.5443219-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7150d155-15cb-4751-84e5-7986070596b0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "83f54601-f619-487b-b4c8-0681c666c2a0",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-08:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-11-27T21:14:24.5443219-08:00",
"CompletedDate": "2026-11-27T21:14:24.5443219-08:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "e54ddd17-9db8-491d-a401-96384d874558",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "e54ddd17-9db8-491d-a401-96384d874558",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "ea2702ee-c75b-45c8-bdf6-71a993e1b306",
"TaskTypeField": {
"TaskTypeFieldId": "100ee93d-a2dd-4edb-956f-ef08ec5bc527",
"Section": {
"TaskTypeSectionId": "26de1272-07c7-4722-bc34-d6afae59d90d",
"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": "6228b10f-f575-410d-9e58-8b55cce3c2aa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "72099e8e-6623-4572-9c03-47d21747aa61",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a4682e9d-0fc5-4539-9a32-e3a870f755e7",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-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": "ea2702ee-c75b-45c8-bdf6-71a993e1b306",
"TaskTypeField": {
"TaskTypeFieldId": "100ee93d-a2dd-4edb-956f-ef08ec5bc527",
"Section": {
"TaskTypeSectionId": "26de1272-07c7-4722-bc34-d6afae59d90d",
"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": "6228b10f-f575-410d-9e58-8b55cce3c2aa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "72099e8e-6623-4572-9c03-47d21747aa61",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a4682e9d-0fc5-4539-9a32-e3a870f755e7",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-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": "9e2f48f3-4948-4ef5-9606-e00bf3fbab5b",
"CreateDate": "2026-11-27T21:14:24.5443219-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T21:14:24.5443219-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"
}