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": "7a7e16a0-642a-4ab3-a695-ad4582507e9c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "14207e2b-17a1-489b-b49a-8e2980dd0455",
"Section": {
"TaskTypeSectionId": "9ac175fb-a823-4c1d-911d-7abcf50da592",
"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": "915edd37-75da-4102-80df-8ef20a189451",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b2bd3c59-4e1f-4343-9f94-cfd2fe3f2d70",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ade43319-916a-4516-b2b8-a6413b4f1e65",
"CreateDate": "2025-12-04T17:15:47.3883577-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-04T17:15:47.3883577-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f1eb6b14-7641-44a2-b77a-88d20d37b313",
"FieldId": "2d22e0e0-0d28-4878-9b25-aee28c58d35c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f1eb6b14-7641-44a2-b77a-88d20d37b313",
"FieldId": "2d22e0e0-0d28-4878-9b25-aee28c58d35c",
"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": "14207e2b-17a1-489b-b49a-8e2980dd0455",
"Section": {
"TaskTypeSectionId": "9ac175fb-a823-4c1d-911d-7abcf50da592",
"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": "915edd37-75da-4102-80df-8ef20a189451",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b2bd3c59-4e1f-4343-9f94-cfd2fe3f2d70",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ade43319-916a-4516-b2b8-a6413b4f1e65",
"CreateDate": "2025-12-04T17:15:47.3883577-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-04T17:15:47.3883577-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f1eb6b14-7641-44a2-b77a-88d20d37b313",
"FieldId": "2d22e0e0-0d28-4878-9b25-aee28c58d35c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f1eb6b14-7641-44a2-b77a-88d20d37b313",
"FieldId": "2d22e0e0-0d28-4878-9b25-aee28c58d35c",
"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": "c676edd3-6acc-4175-bd14-92c65868f9cb",
"CreateDate": "2025-12-04T17:15:47.3883577-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-04T17:15:47.3883577-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"
}