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": "0fdb5b53-c079-4036-a8f3-4bd43ae022f0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "2aef3568-4290-4d36-8bd7-80b5e390a37e",
"Section": {
"TaskTypeSectionId": "7ae80b1c-db29-4ae9-baeb-10db9115449f",
"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": "4a3ed844-59ed-44dc-836b-f8ee42db9b35",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1aa53eaf-e6db-455c-bb15-cc7e5aa1bdec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "195c05c5-46db-491d-ae73-5d03896d81cd",
"CreateDate": "2026-04-10T03:55:36.1265401-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T03:55:36.1265401-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "170f002f-7884-440c-96b8-1e56dcc99bb3",
"FieldId": "e6aa72bf-f335-4e84-86d8-321d98cc1bab",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "170f002f-7884-440c-96b8-1e56dcc99bb3",
"FieldId": "e6aa72bf-f335-4e84-86d8-321d98cc1bab",
"FieldName": "sample string 1",
"FieldLabel": "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": "2aef3568-4290-4d36-8bd7-80b5e390a37e",
"Section": {
"TaskTypeSectionId": "7ae80b1c-db29-4ae9-baeb-10db9115449f",
"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": "4a3ed844-59ed-44dc-836b-f8ee42db9b35",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1aa53eaf-e6db-455c-bb15-cc7e5aa1bdec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "195c05c5-46db-491d-ae73-5d03896d81cd",
"CreateDate": "2026-04-10T03:55:36.1265401-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T03:55:36.1265401-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "170f002f-7884-440c-96b8-1e56dcc99bb3",
"FieldId": "e6aa72bf-f335-4e84-86d8-321d98cc1bab",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "170f002f-7884-440c-96b8-1e56dcc99bb3",
"FieldId": "e6aa72bf-f335-4e84-86d8-321d98cc1bab",
"FieldName": "sample string 1",
"FieldLabel": "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": "5748b0e3-7442-4adb-8351-80540dfe9620",
"CreateDate": "2026-04-10T03:55:36.1265401-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T03:55:36.1265401-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"
}