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": "bbacebae-85d5-40b5-aa27-f96877a07a23", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "460c5f67-5668-4618-b37f-e3d565ce7969", "Section": { "TaskTypeSectionId": "1eb77d20-5a1f-4078-96a5-496918f1486b", "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": "a49b155a-782c-4997-87ec-c077d2c6fcca", "Name": "sample string 1" }, "Unit": { "UnitId": "b0b95c90-8303-4df5-951e-e0c4c788e3b2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7f912ff9-8a44-487d-bfba-d836b00fec60", "CreateDate": "2025-08-23T22:46:50.7029267-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:46:50.7029267-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "680807e8-4952-4785-a2ec-ce0d249d026d", "FieldId": "37cb9a32-37a1-424f-ba02-e2db78d8431d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "680807e8-4952-4785-a2ec-ce0d249d026d", "FieldId": "37cb9a32-37a1-424f-ba02-e2db78d8431d", "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": "460c5f67-5668-4618-b37f-e3d565ce7969", "Section": { "TaskTypeSectionId": "1eb77d20-5a1f-4078-96a5-496918f1486b", "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": "a49b155a-782c-4997-87ec-c077d2c6fcca", "Name": "sample string 1" }, "Unit": { "UnitId": "b0b95c90-8303-4df5-951e-e0c4c788e3b2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7f912ff9-8a44-487d-bfba-d836b00fec60", "CreateDate": "2025-08-23T22:46:50.7029267-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:46:50.7029267-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "680807e8-4952-4785-a2ec-ce0d249d026d", "FieldId": "37cb9a32-37a1-424f-ba02-e2db78d8431d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "680807e8-4952-4785-a2ec-ce0d249d026d", "FieldId": "37cb9a32-37a1-424f-ba02-e2db78d8431d", "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": "7b66ea47-32ac-43bf-9eef-f7d46ecd0d1a", "CreateDate": "2025-08-23T22:46:50.7029267-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:46:50.7029267-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" }