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": "9f43b93a-da7f-422b-a04c-047e052126b8",
"Asset": {
"AssetId": "fb65aea2-9d32-48d5-adf1-a0d02049267b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ef447312-0207-4b1f-a4b6-25d3f92fad8e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5447d2c2-46e2-4b4f-8e10-c391e29ded10",
"CreateDate": "2026-09-03T12:12:18.7698878-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-03T12:12:18.7698878-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "38c2f923-9349-4e1d-8c9a-bb469fad837c",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 8"
},
"Title": "sample string 1",
"Description": "sample string 2",
"TaskStatusType": {
"TaskStatusTypeId": "01607031-3f3c-49e3-b5b7-48b47bbf0e29",
"Name": "sample string 1",
"CompanyId": "7270629f-f9aa-4d64-a8f5-3161ed14cfc6"
},
"TaskCategory": {
"TaskCategoryId": "1fef0b68-5e70-4522-b9dc-000a2f33f51b",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a84358b4-77db-4515-8052-c62dff4fcddd",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 5"
},
"TaskType": {
"TaskTypeId": "ef5c0246-16a3-4a16-8101-6b6ee46739cd",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "874a1a53-8854-4fd0-9d00-4db883736beb",
"Section": {
"TaskTypeSectionId": "eb6fab97-1e48-431a-b06b-0f90e2d6cf44",
"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": "3e77ba3c-151f-44c9-b0eb-6b068e74d7fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4e9c050-2123-407d-a1df-a15660b62ad8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27fe93e2-f3b1-4d64-a7e4-54103933f1fc",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-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": "874a1a53-8854-4fd0-9d00-4db883736beb",
"Section": {
"TaskTypeSectionId": "eb6fab97-1e48-431a-b06b-0f90e2d6cf44",
"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": "3e77ba3c-151f-44c9-b0eb-6b068e74d7fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4e9c050-2123-407d-a1df-a15660b62ad8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27fe93e2-f3b1-4d64-a7e4-54103933f1fc",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-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": "b973f215-e9ef-457d-a666-0f64d2169c6b",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 7"
},
"AssignedOnDate": "2026-09-03T12:12:18.7855698-07:00",
"AssignedToUser": {
"UserId": "d82ee399-07e5-4cd6-bbf7-55f2de3a84ca",
"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": "b98661ea-44e9-4084-840e-0e0f9c0f3c81",
"Teams": [
{
"TeamId": "01af7460-ed52-46ee-ad8d-bc2753995607",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c1aacf14-437b-48d7-963f-29ab63f90bd9",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "01af7460-ed52-46ee-ad8d-bc2753995607",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c1aacf14-437b-48d7-963f-29ab63f90bd9",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"AssignedByUser": {
"UserId": "d82ee399-07e5-4cd6-bbf7-55f2de3a84ca",
"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": "b98661ea-44e9-4084-840e-0e0f9c0f3c81",
"Teams": [
{
"TeamId": "01af7460-ed52-46ee-ad8d-bc2753995607",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c1aacf14-437b-48d7-963f-29ab63f90bd9",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
{
"TeamId": "01af7460-ed52-46ee-ad8d-bc2753995607",
"Name": "sample string 1",
"Description": "sample string 2",
"Users": [],
"AssetGroups": [
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
},
{
"AssetGroupId": "9a611732-957c-4cb9-bdae-104387711f14",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"MeasurementValueNeededDate": "2026-09-03T12:12:18.7855698-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d3e94360-1d89-4da4-bc95-36b0b9588fbf",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "c1aacf14-437b-48d7-963f-29ab63f90bd9",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-07:00",
"LastModifiedUser": "sample string 6"
}
]
},
"DueDate": "2026-09-03T12:12:18.7855698-07:00",
"CompletedDate": "2026-09-03T12:12:18.7855698-07:00",
"Priority": 1,
"HasAttachments": true,
"Attachments": [
{
"TaskAttachmentId": "d5ab4327-98a6-4393-a08e-79b7ca35379f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
},
{
"TaskAttachmentId": "d5ab4327-98a6-4393-a08e-79b7ca35379f",
"Name": "sample string 1",
"FileType": "sample string 2",
"FileSize": 1,
"Content": "QEA=",
"SourceSystemId": "sample string 3"
}
],
"Values": [
{
"TaskFieldValueId": "f129e29b-1284-4232-b792-449177aaaa01",
"TaskTypeField": {
"TaskTypeFieldId": "874a1a53-8854-4fd0-9d00-4db883736beb",
"Section": {
"TaskTypeSectionId": "eb6fab97-1e48-431a-b06b-0f90e2d6cf44",
"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": "3e77ba3c-151f-44c9-b0eb-6b068e74d7fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4e9c050-2123-407d-a1df-a15660b62ad8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27fe93e2-f3b1-4d64-a7e4-54103933f1fc",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-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": "f129e29b-1284-4232-b792-449177aaaa01",
"TaskTypeField": {
"TaskTypeFieldId": "874a1a53-8854-4fd0-9d00-4db883736beb",
"Section": {
"TaskTypeSectionId": "eb6fab97-1e48-431a-b06b-0f90e2d6cf44",
"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": "3e77ba3c-151f-44c9-b0eb-6b068e74d7fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4e9c050-2123-407d-a1df-a15660b62ad8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27fe93e2-f3b1-4d64-a7e4-54103933f1fc",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-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": "f1e6a6e1-459b-43cb-8483-58caeb74f59f",
"CreateDate": "2026-09-03T12:12:18.7855698-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-03T12:12:18.7855698-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"
}