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": "6f1da312-3e65-4f7c-9361-74ebf2d4c4d8",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c350d762-46ad-4f27-80d0-8006d876aec8",
"Section": {
"TaskTypeSectionId": "e493c869-a816-458d-aaa6-ac357b7a6b9a",
"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": "b6e5c5dd-4b96-40ff-9b43-3e54b05e0073",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd5c0446-9029-4c64-bff9-2ce5a64d086a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f0a7a3f0-387d-48fb-ad5f-8f7508314b3f",
"CreateDate": "2026-03-13T03:53:09.1981957-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T03:53:09.1981957-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0555fde4-86e6-4e88-bc44-37b86dea5ac6",
"FieldId": "26079e52-97f4-44a2-8f16-8fba0a075ce5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0555fde4-86e6-4e88-bc44-37b86dea5ac6",
"FieldId": "26079e52-97f4-44a2-8f16-8fba0a075ce5",
"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": "c350d762-46ad-4f27-80d0-8006d876aec8",
"Section": {
"TaskTypeSectionId": "e493c869-a816-458d-aaa6-ac357b7a6b9a",
"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": "b6e5c5dd-4b96-40ff-9b43-3e54b05e0073",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd5c0446-9029-4c64-bff9-2ce5a64d086a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f0a7a3f0-387d-48fb-ad5f-8f7508314b3f",
"CreateDate": "2026-03-13T03:53:09.1981957-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T03:53:09.1981957-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0555fde4-86e6-4e88-bc44-37b86dea5ac6",
"FieldId": "26079e52-97f4-44a2-8f16-8fba0a075ce5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0555fde4-86e6-4e88-bc44-37b86dea5ac6",
"FieldId": "26079e52-97f4-44a2-8f16-8fba0a075ce5",
"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": "bf465eec-fc2c-4711-9a97-fe56a9c55faa",
"CreateDate": "2026-03-13T03:53:09.213858-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T03:53:09.213858-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"
}