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": "0221d4a6-b121-4594-b66d-67d271734ed0", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "d35842e2-b901-4d4a-86a5-3c52c3b30752", "Section": { "TaskTypeSectionId": "84aac75b-9873-4cad-a415-64d4f5490e0a", "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": "5254951b-3c69-477b-abbe-eac4d5cb5f9a", "Name": "sample string 1" }, "Unit": { "UnitId": "11204110-e5d6-4856-97e5-781fa2b786bf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c2dcf985-1257-406f-a1f9-9bc04c8eb83e", "CreateDate": "2025-09-15T20:12:10.2197022-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-15T20:12:10.2197022-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8b4a561c-5dec-448e-8ef6-135d7aac9e17", "FieldId": "9b9dd3d3-245d-4afe-b28e-a75533016adf", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8b4a561c-5dec-448e-8ef6-135d7aac9e17", "FieldId": "9b9dd3d3-245d-4afe-b28e-a75533016adf", "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": "d35842e2-b901-4d4a-86a5-3c52c3b30752", "Section": { "TaskTypeSectionId": "84aac75b-9873-4cad-a415-64d4f5490e0a", "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": "5254951b-3c69-477b-abbe-eac4d5cb5f9a", "Name": "sample string 1" }, "Unit": { "UnitId": "11204110-e5d6-4856-97e5-781fa2b786bf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c2dcf985-1257-406f-a1f9-9bc04c8eb83e", "CreateDate": "2025-09-15T20:12:10.2197022-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-15T20:12:10.2197022-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8b4a561c-5dec-448e-8ef6-135d7aac9e17", "FieldId": "9b9dd3d3-245d-4afe-b28e-a75533016adf", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8b4a561c-5dec-448e-8ef6-135d7aac9e17", "FieldId": "9b9dd3d3-245d-4afe-b28e-a75533016adf", "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": "b4c4e1ad-21bc-475c-8166-e424514b0325", "CreateDate": "2025-09-15T20:12:10.2197022-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-15T20:12:10.2197022-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" }