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": "1e0965eb-0453-4ced-b6a7-252be732d0b6", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c3d168ec-1028-457b-bd23-21b084f2a57f", "Section": { "TaskTypeSectionId": "a624a459-23c5-4dbe-b909-b43489466f2d", "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": "93917756-45e9-4ec7-81ff-a9e46c566683", "Name": "sample string 1" }, "Unit": { "UnitId": "cd34506c-2a5f-40b3-89c9-9a72720205c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bfc70016-9987-46db-bdd4-83568daa8b16", "CreateDate": "2025-06-02T07:02:50.1605477-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:02:50.1605477-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b5dadba4-de80-45a8-89be-61b9f990393d", "FieldId": "7661e042-dc01-4b29-961f-285a5d03efac", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b5dadba4-de80-45a8-89be-61b9f990393d", "FieldId": "7661e042-dc01-4b29-961f-285a5d03efac", "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": "c3d168ec-1028-457b-bd23-21b084f2a57f", "Section": { "TaskTypeSectionId": "a624a459-23c5-4dbe-b909-b43489466f2d", "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": "93917756-45e9-4ec7-81ff-a9e46c566683", "Name": "sample string 1" }, "Unit": { "UnitId": "cd34506c-2a5f-40b3-89c9-9a72720205c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bfc70016-9987-46db-bdd4-83568daa8b16", "CreateDate": "2025-06-02T07:02:50.1605477-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T07:02:50.1605477-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b5dadba4-de80-45a8-89be-61b9f990393d", "FieldId": "7661e042-dc01-4b29-961f-285a5d03efac", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b5dadba4-de80-45a8-89be-61b9f990393d", "FieldId": "7661e042-dc01-4b29-961f-285a5d03efac", "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": "79bd21fe-3c35-45c8-8463-cc48da3d91fc", "CreateDate": "2025-06-02T07:02:50.1605477-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T07:02:50.1605477-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" }