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": "ddfa41d7-3591-4b8f-8dd7-4fba152ad475",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "864a229e-2c0f-49f8-bdf6-fca546075423",
"Section": {
"TaskTypeSectionId": "d666c9bb-70c0-4c7b-a0c8-fff7f6207761",
"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": "2ff64b07-eab7-481b-9a3c-cfa89b522f46",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c3261d4-8684-413a-8824-16572d5fe198",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91cdbd4d-67ca-4332-b2e1-577087de2b76",
"CreateDate": "2026-08-15T21:58:05.3595938-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-15T21:58:05.3595938-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "03523ef3-a0d9-4739-9b82-1b98114daa9f",
"FieldId": "95c96655-0d5a-48b7-ad97-cebf15d9a7fd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "03523ef3-a0d9-4739-9b82-1b98114daa9f",
"FieldId": "95c96655-0d5a-48b7-ad97-cebf15d9a7fd",
"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": "864a229e-2c0f-49f8-bdf6-fca546075423",
"Section": {
"TaskTypeSectionId": "d666c9bb-70c0-4c7b-a0c8-fff7f6207761",
"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": "2ff64b07-eab7-481b-9a3c-cfa89b522f46",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c3261d4-8684-413a-8824-16572d5fe198",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91cdbd4d-67ca-4332-b2e1-577087de2b76",
"CreateDate": "2026-08-15T21:58:05.3595938-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-15T21:58:05.3595938-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "03523ef3-a0d9-4739-9b82-1b98114daa9f",
"FieldId": "95c96655-0d5a-48b7-ad97-cebf15d9a7fd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "03523ef3-a0d9-4739-9b82-1b98114daa9f",
"FieldId": "95c96655-0d5a-48b7-ad97-cebf15d9a7fd",
"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": "e935fbf0-804d-4da1-991c-e2a2ac48b355",
"CreateDate": "2026-08-15T21:58:05.3595938-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-15T21:58:05.3595938-07: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"
}