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": "cc346114-e2dd-4b4d-af15-7c6acd2db0d2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "503de884-b5e3-4c3a-b3da-33fafba5e82f",
"Section": {
"TaskTypeSectionId": "200f834f-10d3-41cc-8d3f-6ca0071644c9",
"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": "6fce3782-f3ec-4cc4-a509-d23218f2b04f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8c35be36-308f-4f30-b3b1-a178c6426862",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6b6c3ec0-7c7d-4313-a4b3-f99221168bcf",
"CreateDate": "2025-12-06T11:43:27.5693119-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-06T11:43:27.5693119-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c8d2a149-416a-465a-839c-c79fa7a658e8",
"FieldId": "4d2bbed0-0b09-46f2-89d4-6ded278c2099",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c8d2a149-416a-465a-839c-c79fa7a658e8",
"FieldId": "4d2bbed0-0b09-46f2-89d4-6ded278c2099",
"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": "503de884-b5e3-4c3a-b3da-33fafba5e82f",
"Section": {
"TaskTypeSectionId": "200f834f-10d3-41cc-8d3f-6ca0071644c9",
"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": "6fce3782-f3ec-4cc4-a509-d23218f2b04f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8c35be36-308f-4f30-b3b1-a178c6426862",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6b6c3ec0-7c7d-4313-a4b3-f99221168bcf",
"CreateDate": "2025-12-06T11:43:27.5693119-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-06T11:43:27.5693119-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c8d2a149-416a-465a-839c-c79fa7a658e8",
"FieldId": "4d2bbed0-0b09-46f2-89d4-6ded278c2099",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c8d2a149-416a-465a-839c-c79fa7a658e8",
"FieldId": "4d2bbed0-0b09-46f2-89d4-6ded278c2099",
"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": "b238e447-5389-4ff3-a2ec-889cef02c8af",
"CreateDate": "2025-12-06T11:43:27.5693119-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-06T11:43:27.5693119-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"
}