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": "d8fa5942-4127-4afa-8d3a-a3a858294a72", "Asset": { "AssetId": "6e86ef29-c57d-4eed-a515-70688692d435", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "187efa45-8d98-4aae-aa22-86210a6100a7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "605376d2-632a-437e-91ea-7f0680c7fa1c", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2d159137-e751-479c-b1de-3b0e98914d90", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 8" }, "Title": "sample string 1", "Description": "sample string 2", "TaskStatusType": { "TaskStatusTypeId": "dedcdcb0-a417-4c93-a577-373469005755", "Name": "sample string 1", "CompanyId": "231c4906-b58c-4f6d-b1e4-fc108cd8e348" }, "TaskCategory": { "TaskCategoryId": "ee13d828-9f43-40bd-ae6e-ad2f002c19bd", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b70084ef-e499-493e-b655-e7fa506d1d8c", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 5" }, "TaskType": { "TaskTypeId": "b2efaccf-5a3d-4d26-957c-53aa88e3ccf5", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "faa44983-a051-4869-9ab9-a12cc3ad8b74", "Section": { "TaskTypeSectionId": "00eebe67-f0d5-45ff-baad-24b8a915928d", "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": "efed590d-0239-4868-acaa-30e8249b3595", "Name": "sample string 1" }, "Unit": { "UnitId": "8302b358-8163-4760-9246-b1be0c2f1169", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d2e0dbd9-b1d7-444c-99ed-5d9826e1c30a", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-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": "faa44983-a051-4869-9ab9-a12cc3ad8b74", "Section": { "TaskTypeSectionId": "00eebe67-f0d5-45ff-baad-24b8a915928d", "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": "efed590d-0239-4868-acaa-30e8249b3595", "Name": "sample string 1" }, "Unit": { "UnitId": "8302b358-8163-4760-9246-b1be0c2f1169", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d2e0dbd9-b1d7-444c-99ed-5d9826e1c30a", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-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": "988bbc2d-f95b-4637-bb8e-3cd7d1b63698", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 7" }, "AssignedOnDate": "2024-10-09T22:39:35.8265663-07:00", "AssignedToUser": { "UserId": "6ec65f50-0f9d-4582-aa87-e2ed0cc3ab18", "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": "5ca0c46c-e4ca-4486-a276-350088f06fcf", "Teams": [ { "TeamId": "f8fdf211-bed9-45d5-97f8-4a6006c4b77b", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "1d1dc3be-182a-44b2-b374-51f01771366d", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "f8fdf211-bed9-45d5-97f8-4a6006c4b77b", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "1d1dc3be-182a-44b2-b374-51f01771366d", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" } ] }, "AssignedByUser": { "UserId": "6ec65f50-0f9d-4582-aa87-e2ed0cc3ab18", "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": "5ca0c46c-e4ca-4486-a276-350088f06fcf", "Teams": [ { "TeamId": "f8fdf211-bed9-45d5-97f8-4a6006c4b77b", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "1d1dc3be-182a-44b2-b374-51f01771366d", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "f8fdf211-bed9-45d5-97f8-4a6006c4b77b", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "3088c1ab-6f58-4535-9f39-99ad7b6dd558", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "MeasurementValueNeededDate": "2024-10-09T22:39:35.8265663-07:00", "SourceSystemId": "sample string 3", "CompanyId": "92c6ec88-8c93-42fa-8c8a-62635962b6f7", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "1d1dc3be-182a-44b2-b374-51f01771366d", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-07:00", "LastModifiedUser": "sample string 6" } ] }, "DueDate": "2024-10-09T22:39:35.8265663-07:00", "CompletedDate": "2024-10-09T22:39:35.8265663-07:00", "Priority": 1, "HasAttachments": true, "Attachments": [ { "TaskAttachmentId": "6a1e8a89-f3ff-4fea-b1f2-43a875f18965", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" }, { "TaskAttachmentId": "6a1e8a89-f3ff-4fea-b1f2-43a875f18965", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" } ], "Values": [ { "TaskFieldValueId": "cedcdccd-c17e-42d8-af76-629b97a63545", "TaskTypeField": { "TaskTypeFieldId": "faa44983-a051-4869-9ab9-a12cc3ad8b74", "Section": { "TaskTypeSectionId": "00eebe67-f0d5-45ff-baad-24b8a915928d", "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": "efed590d-0239-4868-acaa-30e8249b3595", "Name": "sample string 1" }, "Unit": { "UnitId": "8302b358-8163-4760-9246-b1be0c2f1169", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d2e0dbd9-b1d7-444c-99ed-5d9826e1c30a", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-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": "cedcdccd-c17e-42d8-af76-629b97a63545", "TaskTypeField": { "TaskTypeFieldId": "faa44983-a051-4869-9ab9-a12cc3ad8b74", "Section": { "TaskTypeSectionId": "00eebe67-f0d5-45ff-baad-24b8a915928d", "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": "efed590d-0239-4868-acaa-30e8249b3595", "Name": "sample string 1" }, "Unit": { "UnitId": "8302b358-8163-4760-9246-b1be0c2f1169", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d2e0dbd9-b1d7-444c-99ed-5d9826e1c30a", "CreateDate": "2024-10-09T22:39:35.8265663-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-09T22:39:35.8265663-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": "2fc5b361-88ca-4dfa-b89f-8ac000022b52", "CreateDate": "2024-10-09T22:39:35.8422026-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-09T22:39:35.8422026-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" }