DELETE Tasks
Deletes the given task.
Request Information
URI Parameters
None.
Body Parameters
The task to delete.
TaskName | 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": "c2028d31-3fab-4f4c-a48e-466f9d0c381d", "Asset": { "AssetId": "979d5dff-ba0f-4129-9c73-8a01bd002373", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a5cffbbc-8aa3-4595-9a7a-f99679c3b5bb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b40a46b6-3da0-4b7b-8241-7189e8fd97d6", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b115d171-0f9c-45af-ae90-8ada7270368c", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 8" }, "Title": "sample string 1", "Description": "sample string 2", "TaskStatusType": { "TaskStatusTypeId": "c7a4ae50-1eb3-4abc-bdb1-8d2e57d44a32", "Name": "sample string 1", "CompanyId": "692ecaf6-6dea-454d-a1dc-ed6b226e12e7" }, "TaskCategory": { "TaskCategoryId": "15995ac4-9a28-453f-8f8d-e93ca54f1e61", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "4c10ab5f-1fda-489b-886c-a5298eafeb6e", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 5" }, "TaskType": { "TaskTypeId": "27a049b7-97de-425a-b2af-b31e5d85bbaa", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "b2f4381a-de5f-4157-aaaa-4a2a10a9d47f", "Section": { "TaskTypeSectionId": "c739403a-20aa-46c9-b6ac-ff1ba053f9ca", "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": "fdb2fa71-8b5c-460f-bd32-548460d9e491", "Name": "sample string 1" }, "Unit": { "UnitId": "54bbabde-eeff-4b7a-9a3a-7f7cdc3a0e1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "891adaaf-1e9f-474e-8c0d-c2c380ac2f20", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-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": "b2f4381a-de5f-4157-aaaa-4a2a10a9d47f", "Section": { "TaskTypeSectionId": "c739403a-20aa-46c9-b6ac-ff1ba053f9ca", "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": "fdb2fa71-8b5c-460f-bd32-548460d9e491", "Name": "sample string 1" }, "Unit": { "UnitId": "54bbabde-eeff-4b7a-9a3a-7f7cdc3a0e1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "891adaaf-1e9f-474e-8c0d-c2c380ac2f20", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-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": "f0850496-84b0-4f73-a0ee-05d986128596", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 7" }, "AssignedOnDate": "2025-02-05T07:44:42.7259929-08:00", "AssignedToUser": { "UserId": "0e20c1d9-4ac3-4cea-980c-9af6cc13d966", "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": "e865d2e8-440f-4eec-8d52-6b150746814f", "Teams": [ { "TeamId": "0a94d306-7c59-4b6b-86f4-98e7bc45e3dd", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8ef9185e-5f67-4031-a452-b12c6e7fa438", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "0a94d306-7c59-4b6b-86f4-98e7bc45e3dd", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8ef9185e-5f67-4031-a452-b12c6e7fa438", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" } ] }, "AssignedByUser": { "UserId": "0e20c1d9-4ac3-4cea-980c-9af6cc13d966", "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": "e865d2e8-440f-4eec-8d52-6b150746814f", "Teams": [ { "TeamId": "0a94d306-7c59-4b6b-86f4-98e7bc45e3dd", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8ef9185e-5f67-4031-a452-b12c6e7fa438", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "0a94d306-7c59-4b6b-86f4-98e7bc45e3dd", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "80797d75-2f55-47cb-a761-3899462b1a39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "MeasurementValueNeededDate": "2025-02-05T07:44:42.7259929-08:00", "SourceSystemId": "sample string 3", "CompanyId": "dce928b4-5b60-4f29-b7bb-94a0e97d75a4", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "8ef9185e-5f67-4031-a452-b12c6e7fa438", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-08:00", "LastModifiedUser": "sample string 6" } ] }, "DueDate": "2025-02-05T07:44:42.7259929-08:00", "CompletedDate": "2025-02-05T07:44:42.7259929-08:00", "Priority": 1, "HasAttachments": true, "Attachments": [ { "TaskAttachmentId": "e04e2fbc-7011-45fe-80cf-f173adbffe58", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" }, { "TaskAttachmentId": "e04e2fbc-7011-45fe-80cf-f173adbffe58", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" } ], "Values": [ { "TaskFieldValueId": "d3268fe3-7414-4e5c-a1d7-546a714c8e16", "TaskTypeField": { "TaskTypeFieldId": "b2f4381a-de5f-4157-aaaa-4a2a10a9d47f", "Section": { "TaskTypeSectionId": "c739403a-20aa-46c9-b6ac-ff1ba053f9ca", "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": "fdb2fa71-8b5c-460f-bd32-548460d9e491", "Name": "sample string 1" }, "Unit": { "UnitId": "54bbabde-eeff-4b7a-9a3a-7f7cdc3a0e1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "891adaaf-1e9f-474e-8c0d-c2c380ac2f20", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-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": "d3268fe3-7414-4e5c-a1d7-546a714c8e16", "TaskTypeField": { "TaskTypeFieldId": "b2f4381a-de5f-4157-aaaa-4a2a10a9d47f", "Section": { "TaskTypeSectionId": "c739403a-20aa-46c9-b6ac-ff1ba053f9ca", "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": "fdb2fa71-8b5c-460f-bd32-548460d9e491", "Name": "sample string 1" }, "Unit": { "UnitId": "54bbabde-eeff-4b7a-9a3a-7f7cdc3a0e1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "891adaaf-1e9f-474e-8c0d-c2c380ac2f20", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T07:44:42.7259929-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": "2bc6f39a-0ee3-4759-8649-8fcae9de8660", "CreateDate": "2025-02-05T07:44:42.7259929-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T07:44:42.7259929-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" }