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": "c3ec0209-d7e0-4ca3-aa98-01d4f34976c8",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "efcb77ec-0eee-4f84-bdcc-1454a9b5435e",
"Section": {
"TaskTypeSectionId": "a949f75d-c40e-49e4-9265-bdbf55898ed1",
"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": "13f002c3-f6b5-4208-8f66-bbe2c98adb57",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a0bf01ae-c08f-49f9-ad3f-9b7bd90c6511",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "adc3f7df-3a9a-4902-881e-60f6d9a2b708",
"CreateDate": "2025-11-19T14:59:51.3098172-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-19T14:59:51.3098172-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "94d080bb-a7ac-4831-a991-670fc3494025",
"FieldId": "02d94246-41c9-440d-974d-d8286627d792",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "94d080bb-a7ac-4831-a991-670fc3494025",
"FieldId": "02d94246-41c9-440d-974d-d8286627d792",
"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": "efcb77ec-0eee-4f84-bdcc-1454a9b5435e",
"Section": {
"TaskTypeSectionId": "a949f75d-c40e-49e4-9265-bdbf55898ed1",
"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": "13f002c3-f6b5-4208-8f66-bbe2c98adb57",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a0bf01ae-c08f-49f9-ad3f-9b7bd90c6511",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "adc3f7df-3a9a-4902-881e-60f6d9a2b708",
"CreateDate": "2025-11-19T14:59:51.3098172-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-19T14:59:51.3098172-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "94d080bb-a7ac-4831-a991-670fc3494025",
"FieldId": "02d94246-41c9-440d-974d-d8286627d792",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "94d080bb-a7ac-4831-a991-670fc3494025",
"FieldId": "02d94246-41c9-440d-974d-d8286627d792",
"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": "8d3e6906-8de4-472c-be15-54f9474c1ffb",
"CreateDate": "2025-11-19T14:59:51.3098172-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-19T14:59:51.3098172-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"
}