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": "bf28a269-7972-4383-91b5-75ec2072256e", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "194f0c8a-5267-4744-a6e9-a8e5a595accb", "Section": { "TaskTypeSectionId": "64221a40-9567-4359-a521-49df75da8602", "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": "dd2fcab6-f7c1-4206-a205-7c8e3f3722e1", "Name": "sample string 1" }, "Unit": { "UnitId": "a8d6438d-50ec-4cb1-bded-ec8ebdaf8dbb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "38783084-f958-46bc-bd5c-b2e8990ddf93", "CreateDate": "2025-04-03T15:16:16.1056605-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:16.1056605-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f9078bf7-9272-4775-8463-9daa70b033ef", "FieldId": "964396cd-7e1a-41e2-ad1a-ce618ef047a9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f9078bf7-9272-4775-8463-9daa70b033ef", "FieldId": "964396cd-7e1a-41e2-ad1a-ce618ef047a9", "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": "194f0c8a-5267-4744-a6e9-a8e5a595accb", "Section": { "TaskTypeSectionId": "64221a40-9567-4359-a521-49df75da8602", "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": "dd2fcab6-f7c1-4206-a205-7c8e3f3722e1", "Name": "sample string 1" }, "Unit": { "UnitId": "a8d6438d-50ec-4cb1-bded-ec8ebdaf8dbb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "38783084-f958-46bc-bd5c-b2e8990ddf93", "CreateDate": "2025-04-03T15:16:16.1056605-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:16:16.1056605-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f9078bf7-9272-4775-8463-9daa70b033ef", "FieldId": "964396cd-7e1a-41e2-ad1a-ce618ef047a9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f9078bf7-9272-4775-8463-9daa70b033ef", "FieldId": "964396cd-7e1a-41e2-ad1a-ce618ef047a9", "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": "c141581c-2665-46c6-9ea8-64495aa5d1bb", "CreateDate": "2025-04-03T15:16:16.1056605-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:16:16.1056605-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" }