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": "dc9951fb-b98a-4830-86a8-381adc05f725",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "33e033b5-847e-4d3f-be3b-b831335d79d6",
"Section": {
"TaskTypeSectionId": "310577b8-44ff-4b51-afc6-987420514719",
"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": "3825e251-9f3f-47ab-b1fc-68187a492d2d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9947981a-3035-4ba2-8dcd-e9c38c46e8f4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ffe0cf5d-4106-42d3-bb4e-68722499249f",
"CreateDate": "2026-06-27T18:45:23.1377499-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-27T18:45:23.1377499-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ac569967-de11-4547-b5db-f8946e22d9b7",
"FieldId": "28a7af7e-2079-445f-92af-d1232192c4e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ac569967-de11-4547-b5db-f8946e22d9b7",
"FieldId": "28a7af7e-2079-445f-92af-d1232192c4e5",
"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": "33e033b5-847e-4d3f-be3b-b831335d79d6",
"Section": {
"TaskTypeSectionId": "310577b8-44ff-4b51-afc6-987420514719",
"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": "3825e251-9f3f-47ab-b1fc-68187a492d2d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9947981a-3035-4ba2-8dcd-e9c38c46e8f4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ffe0cf5d-4106-42d3-bb4e-68722499249f",
"CreateDate": "2026-06-27T18:45:23.1377499-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-27T18:45:23.1377499-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ac569967-de11-4547-b5db-f8946e22d9b7",
"FieldId": "28a7af7e-2079-445f-92af-d1232192c4e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ac569967-de11-4547-b5db-f8946e22d9b7",
"FieldId": "28a7af7e-2079-445f-92af-d1232192c4e5",
"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": "22d85f1d-6348-49ba-b9dc-47e98ee1085b",
"CreateDate": "2026-06-27T18:45:23.1377499-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-27T18:45:23.1377499-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"
}