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": "d01965cc-fd16-4a4f-b2eb-697324ca6dd4",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "9836c9eb-6efb-4c0a-8bec-4c3fe00ba473",
"Section": {
"TaskTypeSectionId": "72197735-30a5-4a8f-8ed8-c53f7e54a038",
"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": "ef022de2-9ef4-4342-95af-c61cb5100c13",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "19712714-b7f0-4c5a-ac9d-5b2b628d7f9f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c6a35b72-7860-436d-886b-c548833be356",
"CreateDate": "2026-06-22T07:16:36.7775838-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T07:16:36.7775838-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4637c123-45ac-440f-8dac-b4f7e6815981",
"FieldId": "c580ed93-f1bf-4120-9032-59b264257e27",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4637c123-45ac-440f-8dac-b4f7e6815981",
"FieldId": "c580ed93-f1bf-4120-9032-59b264257e27",
"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": "9836c9eb-6efb-4c0a-8bec-4c3fe00ba473",
"Section": {
"TaskTypeSectionId": "72197735-30a5-4a8f-8ed8-c53f7e54a038",
"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": "ef022de2-9ef4-4342-95af-c61cb5100c13",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "19712714-b7f0-4c5a-ac9d-5b2b628d7f9f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c6a35b72-7860-436d-886b-c548833be356",
"CreateDate": "2026-06-22T07:16:36.7775838-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-22T07:16:36.7775838-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4637c123-45ac-440f-8dac-b4f7e6815981",
"FieldId": "c580ed93-f1bf-4120-9032-59b264257e27",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4637c123-45ac-440f-8dac-b4f7e6815981",
"FieldId": "c580ed93-f1bf-4120-9032-59b264257e27",
"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": "42d5c60a-32cd-430e-8df7-ce5458b84681",
"CreateDate": "2026-06-22T07:16:36.7775838-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-22T07:16:36.7775838-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"
}