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": "bcac3149-3706-4bb3-b053-14f6d2ff7291",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4cde2a4b-4c21-41eb-838e-71b0c20bb1b2",
"Section": {
"TaskTypeSectionId": "e7403dd6-018b-42a7-8927-80a6c482788c",
"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": "37c2680c-bd3f-4823-8ccc-508dab8a0591",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "39449aa6-b97f-4b34-9ed4-3299212acc2f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2ac1649a-4a17-4bdc-8bf1-84c5ca1c0112",
"CreateDate": "2025-11-28T22:04:20.5861599-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-28T22:04:20.5861599-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8aa92719-6e45-4330-82e5-77698a0bed4b",
"FieldId": "78d3064d-23ab-4f62-83c9-96d4c53d4890",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8aa92719-6e45-4330-82e5-77698a0bed4b",
"FieldId": "78d3064d-23ab-4f62-83c9-96d4c53d4890",
"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": "4cde2a4b-4c21-41eb-838e-71b0c20bb1b2",
"Section": {
"TaskTypeSectionId": "e7403dd6-018b-42a7-8927-80a6c482788c",
"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": "37c2680c-bd3f-4823-8ccc-508dab8a0591",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "39449aa6-b97f-4b34-9ed4-3299212acc2f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2ac1649a-4a17-4bdc-8bf1-84c5ca1c0112",
"CreateDate": "2025-11-28T22:04:20.5861599-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-28T22:04:20.5861599-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8aa92719-6e45-4330-82e5-77698a0bed4b",
"FieldId": "78d3064d-23ab-4f62-83c9-96d4c53d4890",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8aa92719-6e45-4330-82e5-77698a0bed4b",
"FieldId": "78d3064d-23ab-4f62-83c9-96d4c53d4890",
"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": "7282c530-a8b0-4a6b-acd4-6586502411a1",
"CreateDate": "2025-11-28T22:04:20.5861599-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-28T22:04:20.5861599-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"
}