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": "61be691b-54ba-401c-9f66-8e46e6a34197",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "161e978a-a1d8-4879-9a62-af2c9c104339",
"Section": {
"TaskTypeSectionId": "96ad27b2-aa74-4f3b-86e8-1d7f23094b7b",
"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": "9a6edbc1-b5a5-40db-9fa3-5f852db4fa49",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c24ecac7-9cb3-4dee-95a9-d1bc1dafd10d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f41e8bde-e820-4ffe-9a59-2573ff9dfd74",
"CreateDate": "2026-10-18T19:23:02.4050226-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-18T19:23:02.4050226-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "17ba33e3-b361-4984-8519-3480abd71306",
"FieldId": "76258946-8b18-4a82-92c5-3c917a339000",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "17ba33e3-b361-4984-8519-3480abd71306",
"FieldId": "76258946-8b18-4a82-92c5-3c917a339000",
"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": "161e978a-a1d8-4879-9a62-af2c9c104339",
"Section": {
"TaskTypeSectionId": "96ad27b2-aa74-4f3b-86e8-1d7f23094b7b",
"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": "9a6edbc1-b5a5-40db-9fa3-5f852db4fa49",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c24ecac7-9cb3-4dee-95a9-d1bc1dafd10d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f41e8bde-e820-4ffe-9a59-2573ff9dfd74",
"CreateDate": "2026-10-18T19:23:02.4050226-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-18T19:23:02.4050226-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "17ba33e3-b361-4984-8519-3480abd71306",
"FieldId": "76258946-8b18-4a82-92c5-3c917a339000",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "17ba33e3-b361-4984-8519-3480abd71306",
"FieldId": "76258946-8b18-4a82-92c5-3c917a339000",
"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": "85b0f590-41c5-4fad-8780-feec68f1205d",
"CreateDate": "2026-10-18T19:23:02.4050226-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-18T19:23:02.4050226-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"
}