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": "fe0d76bb-1321-4983-aedd-a7e50f670bd2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "88d1950f-18f0-475f-8bd5-bec61f5b5deb",
"Section": {
"TaskTypeSectionId": "89e210cb-e3c1-4e4f-b0a4-da6d73813328",
"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": "29ff6f64-e5c9-482e-953b-df9051f59d23",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dc3d3fe9-58f8-45ce-b9b4-8bcdb275823d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "175041e9-bfbe-4179-9c0f-b8ddacb0b799",
"CreateDate": "2026-06-03T23:14:33.3572238-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-03T23:14:33.3572238-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "079abf28-effb-4ea0-8008-5810a1d9f405",
"FieldId": "ee9857e0-c490-49f2-a858-55a35244ea30",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "079abf28-effb-4ea0-8008-5810a1d9f405",
"FieldId": "ee9857e0-c490-49f2-a858-55a35244ea30",
"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": "88d1950f-18f0-475f-8bd5-bec61f5b5deb",
"Section": {
"TaskTypeSectionId": "89e210cb-e3c1-4e4f-b0a4-da6d73813328",
"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": "29ff6f64-e5c9-482e-953b-df9051f59d23",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dc3d3fe9-58f8-45ce-b9b4-8bcdb275823d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "175041e9-bfbe-4179-9c0f-b8ddacb0b799",
"CreateDate": "2026-06-03T23:14:33.3572238-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-03T23:14:33.3572238-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "079abf28-effb-4ea0-8008-5810a1d9f405",
"FieldId": "ee9857e0-c490-49f2-a858-55a35244ea30",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "079abf28-effb-4ea0-8008-5810a1d9f405",
"FieldId": "ee9857e0-c490-49f2-a858-55a35244ea30",
"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": "a8ce1ba0-4028-41da-a14b-55ebc441fcd0",
"CreateDate": "2026-06-03T23:14:33.3572238-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-03T23:14:33.3572238-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"
}