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": "3e1bc7cf-a710-401a-a8f1-91261e6d96a2", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "07362d0d-a803-4e31-9f7a-c833fc3103c5", "Section": { "TaskTypeSectionId": "b5f9ff08-d338-4398-80f4-aeacabbcf0ff", "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": "684a351d-6dc4-4916-98b8-793820a67a00", "Name": "sample string 1" }, "Unit": { "UnitId": "2117c2da-bea1-443e-9d43-93f253b6a4bf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "adcd9dcd-1dc3-444d-baac-398502dc65b6", "CreateDate": "2025-05-17T05:32:41.7550485-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:32:41.7550485-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "79b75ed4-dc18-4fc6-8466-19a1742dcedd", "FieldId": "c9606d06-99bb-4926-9aad-1223abaa6b08", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "79b75ed4-dc18-4fc6-8466-19a1742dcedd", "FieldId": "c9606d06-99bb-4926-9aad-1223abaa6b08", "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": "07362d0d-a803-4e31-9f7a-c833fc3103c5", "Section": { "TaskTypeSectionId": "b5f9ff08-d338-4398-80f4-aeacabbcf0ff", "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": "684a351d-6dc4-4916-98b8-793820a67a00", "Name": "sample string 1" }, "Unit": { "UnitId": "2117c2da-bea1-443e-9d43-93f253b6a4bf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "adcd9dcd-1dc3-444d-baac-398502dc65b6", "CreateDate": "2025-05-17T05:32:41.7550485-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:32:41.7550485-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "79b75ed4-dc18-4fc6-8466-19a1742dcedd", "FieldId": "c9606d06-99bb-4926-9aad-1223abaa6b08", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "79b75ed4-dc18-4fc6-8466-19a1742dcedd", "FieldId": "c9606d06-99bb-4926-9aad-1223abaa6b08", "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": "17e23711-b800-4590-8625-a9a9cc04a987", "CreateDate": "2025-05-17T05:32:41.7550485-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:32:41.7550485-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" }