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": "6f0a3001-abbb-4298-8a9b-37780571858f",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "b508b177-e428-4161-a637-8bf48675ce58",
"Section": {
"TaskTypeSectionId": "2cd04811-3ce4-4b42-8f28-407e62142440",
"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": "714dfd42-8713-43fa-8f04-9ea51e367420",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7fcb3aca-20d8-4b27-8b75-933d096adac4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c14e8c9d-cd7c-4938-9827-e09a0daa62b9",
"CreateDate": "2026-11-09T00:24:36.5613563-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-09T00:24:36.5613563-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "df10f99c-22b6-4830-af10-8a44fbecf497",
"FieldId": "1ff6ce54-7060-4f20-8127-5631bcc425b4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "df10f99c-22b6-4830-af10-8a44fbecf497",
"FieldId": "1ff6ce54-7060-4f20-8127-5631bcc425b4",
"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": "b508b177-e428-4161-a637-8bf48675ce58",
"Section": {
"TaskTypeSectionId": "2cd04811-3ce4-4b42-8f28-407e62142440",
"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": "714dfd42-8713-43fa-8f04-9ea51e367420",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7fcb3aca-20d8-4b27-8b75-933d096adac4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c14e8c9d-cd7c-4938-9827-e09a0daa62b9",
"CreateDate": "2026-11-09T00:24:36.5613563-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-09T00:24:36.5613563-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "df10f99c-22b6-4830-af10-8a44fbecf497",
"FieldId": "1ff6ce54-7060-4f20-8127-5631bcc425b4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "df10f99c-22b6-4830-af10-8a44fbecf497",
"FieldId": "1ff6ce54-7060-4f20-8127-5631bcc425b4",
"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": "ba43bdd5-cd3a-401a-ae5a-7f253544cdf9",
"CreateDate": "2026-11-09T00:24:36.5769759-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-09T00:24:36.5769759-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"
}