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": "cd08a98e-a080-4f9e-9b30-ad4887570b6a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a40fe539-9bf8-4248-9964-7d6b268fe3b7",
"Section": {
"TaskTypeSectionId": "8d3a2b64-14db-4104-a719-e4de8bd9cec9",
"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": "52ddc014-7b62-4c50-8c8b-2d46306e71bd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a47c75f0-2a0c-4faf-9e2e-35532c700584",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6c89c35-19bb-4818-8ad4-4ecb5f7f01b0",
"CreateDate": "2026-10-27T23:44:44.9338912-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:44:44.9338912-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "59c4d50d-0b33-4c41-b611-9aa6bddc3ddc",
"FieldId": "a2a10e05-7fa5-4576-b3c3-8ed53c7dac58",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "59c4d50d-0b33-4c41-b611-9aa6bddc3ddc",
"FieldId": "a2a10e05-7fa5-4576-b3c3-8ed53c7dac58",
"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": "a40fe539-9bf8-4248-9964-7d6b268fe3b7",
"Section": {
"TaskTypeSectionId": "8d3a2b64-14db-4104-a719-e4de8bd9cec9",
"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": "52ddc014-7b62-4c50-8c8b-2d46306e71bd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a47c75f0-2a0c-4faf-9e2e-35532c700584",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6c89c35-19bb-4818-8ad4-4ecb5f7f01b0",
"CreateDate": "2026-10-27T23:44:44.9338912-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:44:44.9338912-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "59c4d50d-0b33-4c41-b611-9aa6bddc3ddc",
"FieldId": "a2a10e05-7fa5-4576-b3c3-8ed53c7dac58",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "59c4d50d-0b33-4c41-b611-9aa6bddc3ddc",
"FieldId": "a2a10e05-7fa5-4576-b3c3-8ed53c7dac58",
"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": "5078dbab-55c9-48bd-b408-52ac7d28dc54",
"CreateDate": "2026-10-27T23:44:44.9338912-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:44:44.9338912-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"
}