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": "82b2dde6-859d-40a1-8067-e763f07a0f50",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "006620ca-d9b4-4997-8f98-d2ee112e813d",
"Section": {
"TaskTypeSectionId": "7a8e370a-d5b6-4105-9395-73067b91c984",
"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": "128f00fc-4cc5-457e-9e56-f0f81b3ed3e4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c52f90e-3b0a-4e9a-94d7-23bc5e58d0b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a343a374-94af-4be4-8a5b-f4cc0c56b929",
"CreateDate": "2026-09-15T07:37:23.7133641-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T07:37:23.7133641-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "661dabde-903a-434e-ac96-22bac376c4e0",
"FieldId": "e84483af-2acf-4187-899c-801f2dc2e964",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "661dabde-903a-434e-ac96-22bac376c4e0",
"FieldId": "e84483af-2acf-4187-899c-801f2dc2e964",
"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": "006620ca-d9b4-4997-8f98-d2ee112e813d",
"Section": {
"TaskTypeSectionId": "7a8e370a-d5b6-4105-9395-73067b91c984",
"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": "128f00fc-4cc5-457e-9e56-f0f81b3ed3e4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c52f90e-3b0a-4e9a-94d7-23bc5e58d0b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a343a374-94af-4be4-8a5b-f4cc0c56b929",
"CreateDate": "2026-09-15T07:37:23.7133641-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-15T07:37:23.7133641-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "661dabde-903a-434e-ac96-22bac376c4e0",
"FieldId": "e84483af-2acf-4187-899c-801f2dc2e964",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "661dabde-903a-434e-ac96-22bac376c4e0",
"FieldId": "e84483af-2acf-4187-899c-801f2dc2e964",
"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": "098c838b-9b55-4542-89af-ad365867e880",
"CreateDate": "2026-09-15T07:37:23.7133641-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-15T07:37:23.7133641-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"
}