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": "6534720e-eeb7-46b2-96d7-2c8d5f46c323",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "1aba6501-8405-4850-ac76-26a9b35b108c",
"Section": {
"TaskTypeSectionId": "ac21cae9-d4b0-454a-acf9-863fa6f90942",
"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": "6e59ed81-f98b-449a-893f-025e8c3c4a52",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "af26dd40-0fea-48d5-b008-e8a3e76fc22b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a89463a0-f9de-4296-8ab8-4d7ce9770a36",
"CreateDate": "2026-03-01T02:06:47.1588414-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T02:06:47.1588414-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e3edab53-42b3-4aa7-8de8-b1a5a8bf0297",
"FieldId": "b66c9a55-2430-46b6-8eac-e8f82108b815",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e3edab53-42b3-4aa7-8de8-b1a5a8bf0297",
"FieldId": "b66c9a55-2430-46b6-8eac-e8f82108b815",
"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": "1aba6501-8405-4850-ac76-26a9b35b108c",
"Section": {
"TaskTypeSectionId": "ac21cae9-d4b0-454a-acf9-863fa6f90942",
"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": "6e59ed81-f98b-449a-893f-025e8c3c4a52",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "af26dd40-0fea-48d5-b008-e8a3e76fc22b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a89463a0-f9de-4296-8ab8-4d7ce9770a36",
"CreateDate": "2026-03-01T02:06:47.1588414-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-01T02:06:47.1588414-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e3edab53-42b3-4aa7-8de8-b1a5a8bf0297",
"FieldId": "b66c9a55-2430-46b6-8eac-e8f82108b815",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e3edab53-42b3-4aa7-8de8-b1a5a8bf0297",
"FieldId": "b66c9a55-2430-46b6-8eac-e8f82108b815",
"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": "97d4191c-b0a2-42d6-b1de-2f3c304599fa",
"CreateDate": "2026-03-01T02:06:47.1588414-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-01T02:06:47.1588414-08: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"
}