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": "fcfccc00-4fae-4d43-aac8-1a2e9ba5bc20", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "b7c1f672-d504-42fa-a060-f03a8724718c", "Section": { "TaskTypeSectionId": "6be3be55-2467-4b92-abc8-87cb6a8c462d", "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": "c4189b8e-f16f-4ff7-9bdc-9139941d924b", "Name": "sample string 1" }, "Unit": { "UnitId": "f63e066e-ebd4-4c26-8db6-29b73e8aa9d5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "af2b8682-ce3e-4231-86ae-681210c5a49d", "CreateDate": "2025-09-13T18:39:35.8999889-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:39:35.8999889-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "32f6136e-6479-4323-9cb9-ca519339111f", "FieldId": "47b3e45f-c192-47dd-a602-829e6aab7b34", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "32f6136e-6479-4323-9cb9-ca519339111f", "FieldId": "47b3e45f-c192-47dd-a602-829e6aab7b34", "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": "b7c1f672-d504-42fa-a060-f03a8724718c", "Section": { "TaskTypeSectionId": "6be3be55-2467-4b92-abc8-87cb6a8c462d", "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": "c4189b8e-f16f-4ff7-9bdc-9139941d924b", "Name": "sample string 1" }, "Unit": { "UnitId": "f63e066e-ebd4-4c26-8db6-29b73e8aa9d5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "af2b8682-ce3e-4231-86ae-681210c5a49d", "CreateDate": "2025-09-13T18:39:35.8999889-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:39:35.8999889-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "32f6136e-6479-4323-9cb9-ca519339111f", "FieldId": "47b3e45f-c192-47dd-a602-829e6aab7b34", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "32f6136e-6479-4323-9cb9-ca519339111f", "FieldId": "47b3e45f-c192-47dd-a602-829e6aab7b34", "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": "24e9b5cb-60fa-41ef-8cba-f4627a79c678", "CreateDate": "2025-09-13T18:39:35.8999889-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T18:39:35.8999889-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" }