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": "d387ecb9-2fd2-4506-b06e-9ab9b140326a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "61a172b4-861b-42e4-81e8-d7a5199b697f", "Section": { "TaskTypeSectionId": "95931163-9706-466e-941e-4b3466c32911", "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": "8b0cd253-6649-4d8a-ad26-28170eb3d2c8", "Name": "sample string 1" }, "Unit": { "UnitId": "ad2370c5-4bc0-45d6-a754-5ffbe0a74659", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "14ac87fb-b92a-404e-a0a8-6ea69f2a20c8", "CreateDate": "2025-05-09T15:27:46.7276-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:27:46.7276-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "98957273-8cbf-46f5-b59b-b27585f737a0", "FieldId": "8f10efa1-eb96-4a9a-a2b7-af679d050df4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "98957273-8cbf-46f5-b59b-b27585f737a0", "FieldId": "8f10efa1-eb96-4a9a-a2b7-af679d050df4", "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": "61a172b4-861b-42e4-81e8-d7a5199b697f", "Section": { "TaskTypeSectionId": "95931163-9706-466e-941e-4b3466c32911", "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": "8b0cd253-6649-4d8a-ad26-28170eb3d2c8", "Name": "sample string 1" }, "Unit": { "UnitId": "ad2370c5-4bc0-45d6-a754-5ffbe0a74659", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "14ac87fb-b92a-404e-a0a8-6ea69f2a20c8", "CreateDate": "2025-05-09T15:27:46.7276-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:27:46.7276-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "98957273-8cbf-46f5-b59b-b27585f737a0", "FieldId": "8f10efa1-eb96-4a9a-a2b7-af679d050df4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "98957273-8cbf-46f5-b59b-b27585f737a0", "FieldId": "8f10efa1-eb96-4a9a-a2b7-af679d050df4", "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": "4b58a9b1-f372-46bd-971d-17ce5ba60ca8", "CreateDate": "2025-05-09T15:27:46.7276-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:27:46.7276-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" }