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": "f0be67ce-6679-4d3a-93bf-58085cc73d68", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "96b4bedd-8a8e-4a6a-abc0-7434796b9b02", "Section": { "TaskTypeSectionId": "b966bad4-1541-4db1-a5fd-80b8032cc9ca", "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": "441693b8-bc80-4f16-b0f2-3211d7b45d79", "Name": "sample string 1" }, "Unit": { "UnitId": "4e15abaa-4a49-4690-b93f-65c56ee557c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9a4687db-9d32-4250-b54b-2081ddec3bf2", "CreateDate": "2025-10-13T15:20:22.3447697-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:20:22.3447697-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f9ffde66-775d-4bd9-bf1b-b48e28899b1b", "FieldId": "ec227fa3-fa26-4f32-aa07-8f259d0d18c9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f9ffde66-775d-4bd9-bf1b-b48e28899b1b", "FieldId": "ec227fa3-fa26-4f32-aa07-8f259d0d18c9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "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": "96b4bedd-8a8e-4a6a-abc0-7434796b9b02", "Section": { "TaskTypeSectionId": "b966bad4-1541-4db1-a5fd-80b8032cc9ca", "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": "441693b8-bc80-4f16-b0f2-3211d7b45d79", "Name": "sample string 1" }, "Unit": { "UnitId": "4e15abaa-4a49-4690-b93f-65c56ee557c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9a4687db-9d32-4250-b54b-2081ddec3bf2", "CreateDate": "2025-10-13T15:20:22.3447697-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:20:22.3447697-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f9ffde66-775d-4bd9-bf1b-b48e28899b1b", "FieldId": "ec227fa3-fa26-4f32-aa07-8f259d0d18c9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f9ffde66-775d-4bd9-bf1b-b48e28899b1b", "FieldId": "ec227fa3-fa26-4f32-aa07-8f259d0d18c9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "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": "6d54470d-d31e-43f0-b73b-d826c9fdf21b", "CreateDate": "2025-10-13T15:20:22.3447697-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:20:22.3447697-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" }