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": "1e78e8f3-500b-4086-8620-dae7bd5d1d6f",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "95872df0-6b6f-41dd-be3e-5ee9f6cd222c",
"Section": {
"TaskTypeSectionId": "323943e6-23a6-44e3-b02b-0457c9d34a5b",
"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": "dc066ef7-f41d-4e33-81dd-81516b736cc7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b27a99e1-52f6-44f1-a366-5c9de947e0ed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "46acf882-e01a-4085-9413-f4a5c01a84c7",
"CreateDate": "2026-04-07T01:49:18.7625768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-07T01:49:18.7625768-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "311e077e-c660-45de-9783-1d02b203a7cd",
"FieldId": "2d5c213a-c15f-46bc-84b4-e32408a24b96",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "311e077e-c660-45de-9783-1d02b203a7cd",
"FieldId": "2d5c213a-c15f-46bc-84b4-e32408a24b96",
"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": "95872df0-6b6f-41dd-be3e-5ee9f6cd222c",
"Section": {
"TaskTypeSectionId": "323943e6-23a6-44e3-b02b-0457c9d34a5b",
"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": "dc066ef7-f41d-4e33-81dd-81516b736cc7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b27a99e1-52f6-44f1-a366-5c9de947e0ed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "46acf882-e01a-4085-9413-f4a5c01a84c7",
"CreateDate": "2026-04-07T01:49:18.7625768-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-07T01:49:18.7625768-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "311e077e-c660-45de-9783-1d02b203a7cd",
"FieldId": "2d5c213a-c15f-46bc-84b4-e32408a24b96",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "311e077e-c660-45de-9783-1d02b203a7cd",
"FieldId": "2d5c213a-c15f-46bc-84b4-e32408a24b96",
"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": "36f613bf-51ba-4742-91e2-0bd44081f3a6",
"CreateDate": "2026-04-07T01:49:18.7625768-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-07T01:49:18.7625768-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"
}