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": "cfb240ef-bd63-4db1-a675-c10ba8cbae2f", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "5c6949aa-8b8a-42eb-8c37-c7b75fec0d8b", "Section": { "TaskTypeSectionId": "922c655e-38dd-4d65-83f5-8ee104a7bede", "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": "a18d8480-d5df-420c-9d46-593d907f5918", "Name": "sample string 1" }, "Unit": { "UnitId": "7b35bf51-73a9-4d8b-bbac-35fad215de1e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7a0f80fa-5646-4f21-af8d-603a8b5b3d29", "CreateDate": "2025-08-29T17:13:55.8571808-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.8571808-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5d73a10a-2119-4979-93f0-06a7fc32f323", "FieldId": "8ebe7b0f-5f02-4b79-94d6-a2cc0139026b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5d73a10a-2119-4979-93f0-06a7fc32f323", "FieldId": "8ebe7b0f-5f02-4b79-94d6-a2cc0139026b", "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": "5c6949aa-8b8a-42eb-8c37-c7b75fec0d8b", "Section": { "TaskTypeSectionId": "922c655e-38dd-4d65-83f5-8ee104a7bede", "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": "a18d8480-d5df-420c-9d46-593d907f5918", "Name": "sample string 1" }, "Unit": { "UnitId": "7b35bf51-73a9-4d8b-bbac-35fad215de1e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7a0f80fa-5646-4f21-af8d-603a8b5b3d29", "CreateDate": "2025-08-29T17:13:55.8571808-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:55.8571808-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5d73a10a-2119-4979-93f0-06a7fc32f323", "FieldId": "8ebe7b0f-5f02-4b79-94d6-a2cc0139026b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5d73a10a-2119-4979-93f0-06a7fc32f323", "FieldId": "8ebe7b0f-5f02-4b79-94d6-a2cc0139026b", "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": "42312cbc-ad86-4b9e-bf7d-10f5cc21be89", "CreateDate": "2025-08-29T17:13:55.8571808-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:13:55.8571808-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" }