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": "c0ac850d-f6cd-4b23-936d-b20a6d082b33",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "af85243e-e97b-462d-a3b2-8d701e4a7f6e",
"Section": {
"TaskTypeSectionId": "e756e5c2-265c-4d46-94d7-71f56187ef5e",
"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": "d7db397a-a269-47db-b543-996a90fb93b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dc3e0dd6-4a22-4379-aeb7-fad647fd9075",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8e0652cf-9563-4691-90c1-65eab58ea54e",
"CreateDate": "2026-10-27T21:52:30.8630564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T21:52:30.8630564-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0693873a-f54b-4ede-9806-d5c63b944bd8",
"FieldId": "1c560559-a44c-47d2-9a34-8670b5dfaab0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0693873a-f54b-4ede-9806-d5c63b944bd8",
"FieldId": "1c560559-a44c-47d2-9a34-8670b5dfaab0",
"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": "af85243e-e97b-462d-a3b2-8d701e4a7f6e",
"Section": {
"TaskTypeSectionId": "e756e5c2-265c-4d46-94d7-71f56187ef5e",
"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": "d7db397a-a269-47db-b543-996a90fb93b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dc3e0dd6-4a22-4379-aeb7-fad647fd9075",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8e0652cf-9563-4691-90c1-65eab58ea54e",
"CreateDate": "2026-10-27T21:52:30.8630564-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T21:52:30.8630564-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0693873a-f54b-4ede-9806-d5c63b944bd8",
"FieldId": "1c560559-a44c-47d2-9a34-8670b5dfaab0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0693873a-f54b-4ede-9806-d5c63b944bd8",
"FieldId": "1c560559-a44c-47d2-9a34-8670b5dfaab0",
"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": "c6c6683c-0aaf-4323-b89c-1feb5123f86e",
"CreateDate": "2026-10-27T21:52:30.8630564-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T21:52:30.8630564-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"
}