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": "3b8a2310-6cad-45c5-afc3-6734d6b34026",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "9a596bb9-3650-4e22-b5e7-37a08b7ef993",
"Section": {
"TaskTypeSectionId": "f3c7b7e6-10b5-4190-b5f9-650a08879405",
"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": "015aba02-c410-453f-bc15-3266704c6500",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7daad361-d94e-4e25-9f27-74a818b17cb6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8f299a2c-c2d5-47d6-af2a-f07331cfd878",
"CreateDate": "2026-09-27T04:33:04.1664641-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-27T04:33:04.1664641-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4aca31d2-cc3c-4450-affa-0e7487ba8023",
"FieldId": "d37dee3b-b716-421f-b3b0-4bafb0cd4cdf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4aca31d2-cc3c-4450-affa-0e7487ba8023",
"FieldId": "d37dee3b-b716-421f-b3b0-4bafb0cd4cdf",
"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": "9a596bb9-3650-4e22-b5e7-37a08b7ef993",
"Section": {
"TaskTypeSectionId": "f3c7b7e6-10b5-4190-b5f9-650a08879405",
"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": "015aba02-c410-453f-bc15-3266704c6500",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7daad361-d94e-4e25-9f27-74a818b17cb6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8f299a2c-c2d5-47d6-af2a-f07331cfd878",
"CreateDate": "2026-09-27T04:33:04.1664641-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-27T04:33:04.1664641-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4aca31d2-cc3c-4450-affa-0e7487ba8023",
"FieldId": "d37dee3b-b716-421f-b3b0-4bafb0cd4cdf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4aca31d2-cc3c-4450-affa-0e7487ba8023",
"FieldId": "d37dee3b-b716-421f-b3b0-4bafb0cd4cdf",
"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": "491a3cd8-362e-49e6-aebb-d53d5e688669",
"CreateDate": "2026-09-27T04:33:04.1664641-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-27T04:33:04.1664641-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"
}