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": "1b44ffa8-6d2c-42a2-baf1-8f2719d0bd30", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "68e25312-475b-49ca-9f8d-b88dbb043b74", "Section": { "TaskTypeSectionId": "650bfbd5-303e-4427-8417-28d8b1328f27", "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": "40db0183-b377-41d0-99b5-05701ed001f0", "Name": "sample string 1" }, "Unit": { "UnitId": "5f9eb13a-af4e-41ca-a1e3-e8636e2b15f4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5255a599-65e9-4c8c-9b2b-3eac7d8377c6", "CreateDate": "2025-06-27T06:51:13.9376017-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T06:51:13.9376017-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "60692c65-0808-4323-939b-d5abefd13ad2", "FieldId": "dc9f2a92-01a8-4921-a480-f3f8436f44c4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "60692c65-0808-4323-939b-d5abefd13ad2", "FieldId": "dc9f2a92-01a8-4921-a480-f3f8436f44c4", "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": "68e25312-475b-49ca-9f8d-b88dbb043b74", "Section": { "TaskTypeSectionId": "650bfbd5-303e-4427-8417-28d8b1328f27", "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": "40db0183-b377-41d0-99b5-05701ed001f0", "Name": "sample string 1" }, "Unit": { "UnitId": "5f9eb13a-af4e-41ca-a1e3-e8636e2b15f4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5255a599-65e9-4c8c-9b2b-3eac7d8377c6", "CreateDate": "2025-06-27T06:51:13.9376017-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T06:51:13.9376017-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "60692c65-0808-4323-939b-d5abefd13ad2", "FieldId": "dc9f2a92-01a8-4921-a480-f3f8436f44c4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "60692c65-0808-4323-939b-d5abefd13ad2", "FieldId": "dc9f2a92-01a8-4921-a480-f3f8436f44c4", "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": "ec71c291-417a-449b-b74e-d36ea14e9f64", "CreateDate": "2025-06-27T06:51:13.9376017-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T06:51:13.9376017-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" }