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": "cf765d84-3e7c-4b0c-adb1-d1291401ce20",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "46f28ebe-20f8-48fa-9ccf-86dcd42d9320",
"Section": {
"TaskTypeSectionId": "c5d5e755-46cc-4ec4-b3e9-d5060dc7806f",
"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": "92d764e6-cd0d-4140-a882-30a2dbe89e08",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "683740b1-dc67-4f8e-977c-4a432ac265a8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67289028-a3d4-4ae4-84f9-1e1ed9beef96",
"CreateDate": "2025-12-30T22:33:08.5651904-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T22:33:08.5651904-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "facef4da-68bf-4ecb-91de-01abd858b54a",
"FieldId": "46eae2b0-20d0-4f0e-ac4c-dc550c621c4f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "facef4da-68bf-4ecb-91de-01abd858b54a",
"FieldId": "46eae2b0-20d0-4f0e-ac4c-dc550c621c4f",
"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": "46f28ebe-20f8-48fa-9ccf-86dcd42d9320",
"Section": {
"TaskTypeSectionId": "c5d5e755-46cc-4ec4-b3e9-d5060dc7806f",
"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": "92d764e6-cd0d-4140-a882-30a2dbe89e08",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "683740b1-dc67-4f8e-977c-4a432ac265a8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67289028-a3d4-4ae4-84f9-1e1ed9beef96",
"CreateDate": "2025-12-30T22:33:08.5651904-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T22:33:08.5651904-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "facef4da-68bf-4ecb-91de-01abd858b54a",
"FieldId": "46eae2b0-20d0-4f0e-ac4c-dc550c621c4f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "facef4da-68bf-4ecb-91de-01abd858b54a",
"FieldId": "46eae2b0-20d0-4f0e-ac4c-dc550c621c4f",
"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": "64a316f4-1742-4587-805e-ae2d3bdf4a96",
"CreateDate": "2025-12-30T22:33:08.5651904-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T22:33:08.5651904-08: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"
}