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": "75bd4d05-5f8d-4f2e-86e3-3fce43ffb4bf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a68da2ee-b60f-4874-89f0-31ab6c57aa34",
"Section": {
"TaskTypeSectionId": "377ac4a3-ed0c-4911-83ea-ce581334b783",
"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": "7bb4e2f5-f304-435d-bec4-40585017387a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "27de381a-c178-48e6-a330-93118683ff41",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a0e3a3a1-6fa5-4d5a-8bd5-657a0d79b0a7",
"CreateDate": "2025-12-04T03:00:23.0565435-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-04T03:00:23.0565435-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5784dba6-2c6a-4cd5-bb42-ab5b41290f36",
"FieldId": "29f30ec0-e9c2-46ec-9889-4c5d6a82499f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5784dba6-2c6a-4cd5-bb42-ab5b41290f36",
"FieldId": "29f30ec0-e9c2-46ec-9889-4c5d6a82499f",
"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": "a68da2ee-b60f-4874-89f0-31ab6c57aa34",
"Section": {
"TaskTypeSectionId": "377ac4a3-ed0c-4911-83ea-ce581334b783",
"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": "7bb4e2f5-f304-435d-bec4-40585017387a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "27de381a-c178-48e6-a330-93118683ff41",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a0e3a3a1-6fa5-4d5a-8bd5-657a0d79b0a7",
"CreateDate": "2025-12-04T03:00:23.0565435-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-04T03:00:23.0565435-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5784dba6-2c6a-4cd5-bb42-ab5b41290f36",
"FieldId": "29f30ec0-e9c2-46ec-9889-4c5d6a82499f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5784dba6-2c6a-4cd5-bb42-ab5b41290f36",
"FieldId": "29f30ec0-e9c2-46ec-9889-4c5d6a82499f",
"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": "dabab6a9-6968-40d7-a0a7-1a190e1730df",
"CreateDate": "2025-12-04T03:00:23.0565435-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-04T03:00:23.0565435-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"
}