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": "67d32a45-6bf6-4201-8740-1a6c6742d1e3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e0096216-b85c-40f9-880e-7ba32ad45fbe",
"Section": {
"TaskTypeSectionId": "36fa3806-9024-4e95-9349-6725e04054b1",
"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": "bd818dd2-6622-4b84-9b13-77ca7deb0177",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0212d2af-db68-465e-b3cc-332d8ceb5530",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "02b18831-6b5b-4430-9912-2d0ad3b6fb20",
"CreateDate": "2026-08-31T00:52:24.7047908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T00:52:24.7047908-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9c6662be-e5ef-4407-9725-c1f5be6abcee",
"FieldId": "1bc17a8b-82dd-4240-8726-4705646355b5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9c6662be-e5ef-4407-9725-c1f5be6abcee",
"FieldId": "1bc17a8b-82dd-4240-8726-4705646355b5",
"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": "e0096216-b85c-40f9-880e-7ba32ad45fbe",
"Section": {
"TaskTypeSectionId": "36fa3806-9024-4e95-9349-6725e04054b1",
"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": "bd818dd2-6622-4b84-9b13-77ca7deb0177",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0212d2af-db68-465e-b3cc-332d8ceb5530",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "02b18831-6b5b-4430-9912-2d0ad3b6fb20",
"CreateDate": "2026-08-31T00:52:24.7047908-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T00:52:24.7047908-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9c6662be-e5ef-4407-9725-c1f5be6abcee",
"FieldId": "1bc17a8b-82dd-4240-8726-4705646355b5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9c6662be-e5ef-4407-9725-c1f5be6abcee",
"FieldId": "1bc17a8b-82dd-4240-8726-4705646355b5",
"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": "964add43-8afe-4f0a-8ed1-5f528a9e14b0",
"CreateDate": "2026-08-31T00:52:24.7047908-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T00:52:24.7047908-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"
}