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": "e2547ac6-e227-494f-bfc4-c7c62dce58b3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e1f50117-5203-4a52-802f-b0d0b52b40fd",
"Section": {
"TaskTypeSectionId": "07ff25f3-d72a-4897-9674-10d254b9d00b",
"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": "4f73ab48-718e-4cae-9f0e-99541ecd0b57",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f7e8bcf1-01f5-428b-abc9-98b43d8f1ef9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "89e00416-790e-4457-b883-9cf02868b6b9",
"CreateDate": "2025-12-05T01:38:19.4426534-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-05T01:38:19.4426534-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5413ef0b-7584-431f-8040-896d55181893",
"FieldId": "546f1842-2994-4388-9124-f650f8585c13",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5413ef0b-7584-431f-8040-896d55181893",
"FieldId": "546f1842-2994-4388-9124-f650f8585c13",
"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": "e1f50117-5203-4a52-802f-b0d0b52b40fd",
"Section": {
"TaskTypeSectionId": "07ff25f3-d72a-4897-9674-10d254b9d00b",
"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": "4f73ab48-718e-4cae-9f0e-99541ecd0b57",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f7e8bcf1-01f5-428b-abc9-98b43d8f1ef9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "89e00416-790e-4457-b883-9cf02868b6b9",
"CreateDate": "2025-12-05T01:38:19.4426534-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-05T01:38:19.4426534-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5413ef0b-7584-431f-8040-896d55181893",
"FieldId": "546f1842-2994-4388-9124-f650f8585c13",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5413ef0b-7584-431f-8040-896d55181893",
"FieldId": "546f1842-2994-4388-9124-f650f8585c13",
"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": "ae30cf92-4872-4eda-99ff-362b4f7033ea",
"CreateDate": "2025-12-05T01:38:19.4426534-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-05T01:38:19.4426534-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"
}