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": "d256c51e-3893-4937-8d1e-546dffec8999",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "76238c68-13f5-4390-9565-3d4ec7934408",
"Section": {
"TaskTypeSectionId": "f8229265-c0df-4b39-95d1-1ccdb9cee627",
"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": "6c5b0471-e5f0-49ca-921b-be078b1f6ccf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1f41fdc4-4d73-4219-aae4-e49aa3c399fb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d22cecc7-ef22-49e0-ab90-f5f9d94e76e4",
"CreateDate": "2026-04-04T02:41:07.4749082-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-04T02:41:07.4749082-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1972def1-a318-4daf-a8b6-cf7d63dda7f3",
"FieldId": "30da3a60-3a49-4487-995b-ed237164dd43",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1972def1-a318-4daf-a8b6-cf7d63dda7f3",
"FieldId": "30da3a60-3a49-4487-995b-ed237164dd43",
"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": "76238c68-13f5-4390-9565-3d4ec7934408",
"Section": {
"TaskTypeSectionId": "f8229265-c0df-4b39-95d1-1ccdb9cee627",
"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": "6c5b0471-e5f0-49ca-921b-be078b1f6ccf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1f41fdc4-4d73-4219-aae4-e49aa3c399fb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d22cecc7-ef22-49e0-ab90-f5f9d94e76e4",
"CreateDate": "2026-04-04T02:41:07.4749082-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-04T02:41:07.4749082-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1972def1-a318-4daf-a8b6-cf7d63dda7f3",
"FieldId": "30da3a60-3a49-4487-995b-ed237164dd43",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1972def1-a318-4daf-a8b6-cf7d63dda7f3",
"FieldId": "30da3a60-3a49-4487-995b-ed237164dd43",
"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": "afbaa4b3-4ee0-4eb9-b506-015e3a6b5d95",
"CreateDate": "2026-04-04T02:41:07.4749082-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-04T02:41:07.4749082-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"
}