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": "00305705-bbc1-4a5e-9ed7-6d94b5724c42",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "45cfb46c-340e-412e-a00c-bed1bb8820ca",
"Section": {
"TaskTypeSectionId": "361d5c6f-dd4a-4725-b467-44d486dcd5a9",
"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": "980fa5cd-f27f-4fac-b0f2-5204f1467d5d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b1c9f5e1-15a7-4375-a977-8a3695bc6138",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "07c80384-2e19-4b76-b73c-d438c2eecd98",
"CreateDate": "2026-05-13T23:49:06.7802099-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T23:49:06.7802099-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4120b5dc-8742-4be3-b0f8-376f2d79ef3d",
"FieldId": "ce642e79-fe9d-4cd7-a1a5-aab0041691d9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4120b5dc-8742-4be3-b0f8-376f2d79ef3d",
"FieldId": "ce642e79-fe9d-4cd7-a1a5-aab0041691d9",
"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": "45cfb46c-340e-412e-a00c-bed1bb8820ca",
"Section": {
"TaskTypeSectionId": "361d5c6f-dd4a-4725-b467-44d486dcd5a9",
"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": "980fa5cd-f27f-4fac-b0f2-5204f1467d5d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b1c9f5e1-15a7-4375-a977-8a3695bc6138",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "07c80384-2e19-4b76-b73c-d438c2eecd98",
"CreateDate": "2026-05-13T23:49:06.7802099-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T23:49:06.7802099-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4120b5dc-8742-4be3-b0f8-376f2d79ef3d",
"FieldId": "ce642e79-fe9d-4cd7-a1a5-aab0041691d9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4120b5dc-8742-4be3-b0f8-376f2d79ef3d",
"FieldId": "ce642e79-fe9d-4cd7-a1a5-aab0041691d9",
"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": "566dd992-ba66-4cb3-a677-afd0f5bed035",
"CreateDate": "2026-05-13T23:49:06.7802099-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T23:49:06.7802099-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"
}