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": "447d903d-2286-48a8-abd3-6b23057d2f98",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "3c481bf6-e798-4c68-9749-42e24919095c",
"Section": {
"TaskTypeSectionId": "ffe13cb2-8287-439e-bebf-c2d98dda9889",
"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": "7414a800-d874-4187-84fe-1f671ae663b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "13adf7ef-4c6e-4e0f-9237-5ce396f580d0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f336bc61-8e71-4f8e-ba25-fc8c40fbe144",
"CreateDate": "2025-12-28T05:48:16.3384021-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-28T05:48:16.3384021-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "db4b5b6c-f581-4ffa-8fd1-04c21b0e2cd5",
"FieldId": "01470dde-95e4-48c4-9d4d-8c0e01cf3bed",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "db4b5b6c-f581-4ffa-8fd1-04c21b0e2cd5",
"FieldId": "01470dde-95e4-48c4-9d4d-8c0e01cf3bed",
"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": "3c481bf6-e798-4c68-9749-42e24919095c",
"Section": {
"TaskTypeSectionId": "ffe13cb2-8287-439e-bebf-c2d98dda9889",
"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": "7414a800-d874-4187-84fe-1f671ae663b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "13adf7ef-4c6e-4e0f-9237-5ce396f580d0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f336bc61-8e71-4f8e-ba25-fc8c40fbe144",
"CreateDate": "2025-12-28T05:48:16.3384021-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-28T05:48:16.3384021-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "db4b5b6c-f581-4ffa-8fd1-04c21b0e2cd5",
"FieldId": "01470dde-95e4-48c4-9d4d-8c0e01cf3bed",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "db4b5b6c-f581-4ffa-8fd1-04c21b0e2cd5",
"FieldId": "01470dde-95e4-48c4-9d4d-8c0e01cf3bed",
"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": "4b6ca12f-2759-4ccb-8129-5bb9c1328a50",
"CreateDate": "2025-12-28T05:48:16.3384021-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-28T05:48:16.3384021-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"
}