DELETE TaskTypes
Deletes the given task type, including all tasks of that type.
Request Information
URI Parameters
None.
Body Parameters
Task type to delete
TaskTypeName | Description | Type | Additional information |
---|---|---|---|
TaskTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
CustomStatuses | boolean |
None. |
|
Fields | Collection of TaskTypeField |
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:
{ "TaskTypeId": "b973cd34-416e-407b-9a35-955815d9114a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "90c3ff8f-ee5f-4539-bf58-dccc211a0f79", "Section": { "TaskTypeSectionId": "ed00adca-47bd-43ab-8593-cf1a9ee01e28", "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": "8109515a-041a-4d65-bd4b-114c7c702df7", "Name": "sample string 1" }, "Unit": { "UnitId": "63b88321-1a7f-49af-ac68-ea4bb24edb54", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4d7a251b-1388-4640-83f1-7e7207a96ed5", "CreateDate": "2025-08-30T12:59:04.8297645-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.8297645-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": "90c3ff8f-ee5f-4539-bf58-dccc211a0f79", "Section": { "TaskTypeSectionId": "ed00adca-47bd-43ab-8593-cf1a9ee01e28", "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": "8109515a-041a-4d65-bd4b-114c7c702df7", "Name": "sample string 1" }, "Unit": { "UnitId": "63b88321-1a7f-49af-ac68-ea4bb24edb54", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4d7a251b-1388-4640-83f1-7e7207a96ed5", "CreateDate": "2025-08-30T12:59:04.8297645-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.8297645-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": "25753a9f-d673-42cc-b4b1-0be37d100108", "CreateDate": "2025-08-30T12:59:04.8297645-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:59:04.8297645-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" }