DELETE TaskTypes
Deletes the given task type, including all tasks of that type.
Request Information
URI Parameters
None.
Body Parameters
Task type to delete
TaskType| Name | 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": "21fae383-4471-48c6-b508-dae29233bef2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "08a5b3c8-2341-4e8f-9cd5-0740b24cb2ec",
"Section": {
"TaskTypeSectionId": "1defe8c1-db9f-44b6-93a0-42dafaf6680c",
"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": "00fbc57a-f9c0-4d63-8a6c-7c7c03fa5cf2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f678ce7-dc80-4143-8790-3b0f97e61ec4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "626561eb-e3b4-4900-91b7-c96140611d95",
"CreateDate": "2026-07-16T01:28:53.7107672-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-16T01:28:53.7107672-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "913ca709-01d7-4acb-b3a9-c9241ac226b5",
"FieldId": "3e48c0d3-a4c9-4fd3-baba-18b4eb9d9cad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "913ca709-01d7-4acb-b3a9-c9241ac226b5",
"FieldId": "3e48c0d3-a4c9-4fd3-baba-18b4eb9d9cad",
"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": "08a5b3c8-2341-4e8f-9cd5-0740b24cb2ec",
"Section": {
"TaskTypeSectionId": "1defe8c1-db9f-44b6-93a0-42dafaf6680c",
"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": "00fbc57a-f9c0-4d63-8a6c-7c7c03fa5cf2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f678ce7-dc80-4143-8790-3b0f97e61ec4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "626561eb-e3b4-4900-91b7-c96140611d95",
"CreateDate": "2026-07-16T01:28:53.7107672-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-16T01:28:53.7107672-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "913ca709-01d7-4acb-b3a9-c9241ac226b5",
"FieldId": "3e48c0d3-a4c9-4fd3-baba-18b4eb9d9cad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "913ca709-01d7-4acb-b3a9-c9241ac226b5",
"FieldId": "3e48c0d3-a4c9-4fd3-baba-18b4eb9d9cad",
"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": "e38488fd-9dbc-4f68-9125-893aa11851d5",
"CreateDate": "2026-07-16T01:28:53.7107672-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-16T01:28:53.7107672-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"
}