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": "c50d5ed7-58c6-44e2-8e9e-1f2c185dbcf0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e72bb0ac-17f2-4f43-9b51-676a2526d8ca",
"Section": {
"TaskTypeSectionId": "30278a8a-818f-45ae-a5f1-93f545cf4a63",
"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": "7b7a00ee-2d08-479a-a31c-7756e301c833",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bbb33f9a-6d3e-45f5-9262-881fba02a74b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "30ae0d48-2711-466a-9502-972a21ca5acd",
"CreateDate": "2026-08-12T11:14:42.4902615-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:42.4902615-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bb1af372-de68-4b6a-a409-1f2aacfd07c8",
"FieldId": "7eccce14-0c25-43be-b27d-7d4cbca04265",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bb1af372-de68-4b6a-a409-1f2aacfd07c8",
"FieldId": "7eccce14-0c25-43be-b27d-7d4cbca04265",
"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": "e72bb0ac-17f2-4f43-9b51-676a2526d8ca",
"Section": {
"TaskTypeSectionId": "30278a8a-818f-45ae-a5f1-93f545cf4a63",
"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": "7b7a00ee-2d08-479a-a31c-7756e301c833",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bbb33f9a-6d3e-45f5-9262-881fba02a74b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "30ae0d48-2711-466a-9502-972a21ca5acd",
"CreateDate": "2026-08-12T11:14:42.4902615-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:42.4902615-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bb1af372-de68-4b6a-a409-1f2aacfd07c8",
"FieldId": "7eccce14-0c25-43be-b27d-7d4cbca04265",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bb1af372-de68-4b6a-a409-1f2aacfd07c8",
"FieldId": "7eccce14-0c25-43be-b27d-7d4cbca04265",
"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": "f579ab4b-955b-437d-a516-6c22996cfc0b",
"CreateDate": "2026-08-12T11:14:42.4902615-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:42.4902615-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"
}