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": "5e000ff9-c5ea-42d1-b0db-d85c7428c50d",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7b037f78-4451-4448-842c-a894d24d4f04",
"Section": {
"TaskTypeSectionId": "788758ec-84e0-4492-8938-1e5a5bd6e01c",
"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": "fac245fc-cc45-4582-8e36-160695739705",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e53073f7-4627-4b1e-acd1-906b75f10331",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f6e802c3-76b0-40b9-a555-2ce53bb0b893",
"CreateDate": "2026-04-11T02:48:01.9646034-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-11T02:48:01.9646034-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bdd5c492-61a3-4a07-af20-887165d3c010",
"FieldId": "4c0798d8-12d1-453b-9312-f189cbef20c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bdd5c492-61a3-4a07-af20-887165d3c010",
"FieldId": "4c0798d8-12d1-453b-9312-f189cbef20c6",
"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": "7b037f78-4451-4448-842c-a894d24d4f04",
"Section": {
"TaskTypeSectionId": "788758ec-84e0-4492-8938-1e5a5bd6e01c",
"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": "fac245fc-cc45-4582-8e36-160695739705",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e53073f7-4627-4b1e-acd1-906b75f10331",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f6e802c3-76b0-40b9-a555-2ce53bb0b893",
"CreateDate": "2026-04-11T02:48:01.9646034-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-11T02:48:01.9646034-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bdd5c492-61a3-4a07-af20-887165d3c010",
"FieldId": "4c0798d8-12d1-453b-9312-f189cbef20c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bdd5c492-61a3-4a07-af20-887165d3c010",
"FieldId": "4c0798d8-12d1-453b-9312-f189cbef20c6",
"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": "81db4a87-0ff0-4cfc-9883-3cd042a114e1",
"CreateDate": "2026-04-11T02:48:01.9646034-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-11T02:48:01.9646034-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"
}