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": "f6d00fab-f56b-478c-ac73-a076f01c0665",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "119488ef-9e4d-4ad3-8a9b-bb6d71ec1fc7",
"Section": {
"TaskTypeSectionId": "1d9b5254-9572-4447-97ea-e27bb347dbc1",
"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": "d1793b9c-2fa1-4963-aba2-491c1fb81af5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f050211a-0abf-4f67-b823-4a0888fe818d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e35afa3f-4737-4ccc-96a7-c10cc197b848",
"CreateDate": "2026-05-08T05:05:47.0617332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-08T05:05:47.0617332-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3892d9f6-f169-4d95-9d5d-9efa220e3e5d",
"FieldId": "f78c7082-01b7-453f-b6ab-75270da1346f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3892d9f6-f169-4d95-9d5d-9efa220e3e5d",
"FieldId": "f78c7082-01b7-453f-b6ab-75270da1346f",
"FieldName": "sample string 1",
"FieldLabel": "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": "119488ef-9e4d-4ad3-8a9b-bb6d71ec1fc7",
"Section": {
"TaskTypeSectionId": "1d9b5254-9572-4447-97ea-e27bb347dbc1",
"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": "d1793b9c-2fa1-4963-aba2-491c1fb81af5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f050211a-0abf-4f67-b823-4a0888fe818d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e35afa3f-4737-4ccc-96a7-c10cc197b848",
"CreateDate": "2026-05-08T05:05:47.0617332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-08T05:05:47.0617332-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3892d9f6-f169-4d95-9d5d-9efa220e3e5d",
"FieldId": "f78c7082-01b7-453f-b6ab-75270da1346f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3892d9f6-f169-4d95-9d5d-9efa220e3e5d",
"FieldId": "f78c7082-01b7-453f-b6ab-75270da1346f",
"FieldName": "sample string 1",
"FieldLabel": "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": "eacbadd8-d46a-4643-b295-80eed8f8fb80",
"CreateDate": "2026-05-08T05:05:47.0617332-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-08T05:05:47.0617332-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"
}