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": "a771f569-0d8d-472f-8f65-6114049aef95",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e06a6e7d-0466-4a06-9a37-e34692c3d9a4",
"Section": {
"TaskTypeSectionId": "158e95d8-9812-45f0-94a6-2cd2c1341f86",
"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": "68d67c1f-c24a-4a2d-bff1-8e3ff504a76d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f36287b3-cfdc-4eaa-bda8-ff83e7b15a94",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bad08b86-22b0-4b88-8c70-b738c22e915d",
"CreateDate": "2026-11-05T05:17:38.0146901-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-05T05:17:38.0146901-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "131ab0e4-27d5-40dc-a01a-2ab91cd3daaf",
"FieldId": "c0a9d4d8-684e-49ee-a0f1-847cc5806e40",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "131ab0e4-27d5-40dc-a01a-2ab91cd3daaf",
"FieldId": "c0a9d4d8-684e-49ee-a0f1-847cc5806e40",
"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": "e06a6e7d-0466-4a06-9a37-e34692c3d9a4",
"Section": {
"TaskTypeSectionId": "158e95d8-9812-45f0-94a6-2cd2c1341f86",
"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": "68d67c1f-c24a-4a2d-bff1-8e3ff504a76d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f36287b3-cfdc-4eaa-bda8-ff83e7b15a94",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bad08b86-22b0-4b88-8c70-b738c22e915d",
"CreateDate": "2026-11-05T05:17:38.0146901-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-05T05:17:38.0146901-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "131ab0e4-27d5-40dc-a01a-2ab91cd3daaf",
"FieldId": "c0a9d4d8-684e-49ee-a0f1-847cc5806e40",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "131ab0e4-27d5-40dc-a01a-2ab91cd3daaf",
"FieldId": "c0a9d4d8-684e-49ee-a0f1-847cc5806e40",
"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": "6220d246-4ed5-489c-8557-72138d0a4d8d",
"CreateDate": "2026-11-05T05:17:38.0146901-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-05T05:17:38.0146901-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"
}