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": "6212ab78-3d5e-4ba5-a003-10d58d918fa0", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "4aedd0c4-c5b7-48bb-b79a-f8bcc7b1f234", "Section": { "TaskTypeSectionId": "480b42d8-3d42-4881-9bc0-df86723827a7", "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": "12da3123-42ca-4fe6-83ff-6fcce2de634d", "Name": "sample string 1" }, "Unit": { "UnitId": "b2b30913-429b-4bdf-a5c2-e505bcb3bd91", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c89a30bc-7b9c-40f9-868c-eb0a09c90004", "CreateDate": "2025-10-10T14:43:22.0061579-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T14:43:22.0061579-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a0085e0a-9312-4ce8-a4f7-e1b0d97f8984", "FieldId": "c48f59f6-cc10-43b7-9593-8c28b232f75d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a0085e0a-9312-4ce8-a4f7-e1b0d97f8984", "FieldId": "c48f59f6-cc10-43b7-9593-8c28b232f75d", "FieldName": "sample string 1", "FieldLabel": "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": "4aedd0c4-c5b7-48bb-b79a-f8bcc7b1f234", "Section": { "TaskTypeSectionId": "480b42d8-3d42-4881-9bc0-df86723827a7", "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": "12da3123-42ca-4fe6-83ff-6fcce2de634d", "Name": "sample string 1" }, "Unit": { "UnitId": "b2b30913-429b-4bdf-a5c2-e505bcb3bd91", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c89a30bc-7b9c-40f9-868c-eb0a09c90004", "CreateDate": "2025-10-10T14:43:22.0061579-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T14:43:22.0061579-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a0085e0a-9312-4ce8-a4f7-e1b0d97f8984", "FieldId": "c48f59f6-cc10-43b7-9593-8c28b232f75d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a0085e0a-9312-4ce8-a4f7-e1b0d97f8984", "FieldId": "c48f59f6-cc10-43b7-9593-8c28b232f75d", "FieldName": "sample string 1", "FieldLabel": "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": "9ef9c8ee-abf9-427a-b5ee-bce931af275a", "CreateDate": "2025-10-10T14:43:22.0061579-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:43:22.0061579-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" }