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": "9cb8adcc-caff-4c4a-a736-0130d7d84a31",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a55d4180-547f-4540-bf66-963535f0f6e8",
"Section": {
"TaskTypeSectionId": "9d8120af-e321-455c-ae1d-471fbff92690",
"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": "85ee82b6-54d1-4bc2-98ec-a43f71630df7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e55d58c5-a4a7-4139-ac88-11bc0935e85c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "113b41fe-7119-465f-84f9-2c289f815bf4",
"CreateDate": "2026-04-12T12:16:19.3531741-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T12:16:19.3531741-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ad29e1fe-0164-4147-9132-c6c6dfc46a24",
"FieldId": "e5476ce3-1ea5-4128-b142-b0704093a22e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ad29e1fe-0164-4147-9132-c6c6dfc46a24",
"FieldId": "e5476ce3-1ea5-4128-b142-b0704093a22e",
"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": "a55d4180-547f-4540-bf66-963535f0f6e8",
"Section": {
"TaskTypeSectionId": "9d8120af-e321-455c-ae1d-471fbff92690",
"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": "85ee82b6-54d1-4bc2-98ec-a43f71630df7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e55d58c5-a4a7-4139-ac88-11bc0935e85c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "113b41fe-7119-465f-84f9-2c289f815bf4",
"CreateDate": "2026-04-12T12:16:19.3531741-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T12:16:19.3531741-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ad29e1fe-0164-4147-9132-c6c6dfc46a24",
"FieldId": "e5476ce3-1ea5-4128-b142-b0704093a22e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ad29e1fe-0164-4147-9132-c6c6dfc46a24",
"FieldId": "e5476ce3-1ea5-4128-b142-b0704093a22e",
"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": "7c81980e-a40a-49b4-96b2-8f0a50806a24",
"CreateDate": "2026-04-12T12:16:19.3531741-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T12:16:19.3531741-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"
}