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": "8f940282-791d-4f18-9e75-41d9c2aae6e0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d40f1b6a-94e7-4d5b-b8b2-d8bdda35b413",
"Section": {
"TaskTypeSectionId": "c86502a4-5250-49e1-b45d-203a776df479",
"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": "ddb05112-8eab-42c0-9b5e-b2f77428c9fd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5404df6b-1ba5-45cd-837c-fb764ef84c3c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "df1e51bd-fe95-4d28-8409-9151ff152b18",
"CreateDate": "2026-03-20T22:29:53.9287466-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-20T22:29:53.9287466-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f914ac6f-446c-47e9-86af-29bab40e33e6",
"FieldId": "4c3d12bf-0c2f-4dad-b8cf-be68d6b2781b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f914ac6f-446c-47e9-86af-29bab40e33e6",
"FieldId": "4c3d12bf-0c2f-4dad-b8cf-be68d6b2781b",
"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": "d40f1b6a-94e7-4d5b-b8b2-d8bdda35b413",
"Section": {
"TaskTypeSectionId": "c86502a4-5250-49e1-b45d-203a776df479",
"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": "ddb05112-8eab-42c0-9b5e-b2f77428c9fd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5404df6b-1ba5-45cd-837c-fb764ef84c3c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "df1e51bd-fe95-4d28-8409-9151ff152b18",
"CreateDate": "2026-03-20T22:29:53.9287466-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-20T22:29:53.9287466-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f914ac6f-446c-47e9-86af-29bab40e33e6",
"FieldId": "4c3d12bf-0c2f-4dad-b8cf-be68d6b2781b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f914ac6f-446c-47e9-86af-29bab40e33e6",
"FieldId": "4c3d12bf-0c2f-4dad-b8cf-be68d6b2781b",
"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": "8f39de04-b560-4edb-b576-11fdf85f764e",
"CreateDate": "2026-03-20T22:29:53.9287466-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-20T22:29:53.9287466-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"
}