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": "812976b9-1c7f-4bf1-953b-d2d488adb74a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d9b73df8-f99b-414f-ab7c-1216c6725629",
"Section": {
"TaskTypeSectionId": "77f7d817-1ce4-4700-a5b7-e5ee58c47dbf",
"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": "eeb97b08-082e-4a59-aae6-7ed258b84be0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bd9d3905-e32a-4eca-80e8-05053f750a8a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e193d962-825e-414f-b5d6-9111a84a40f6",
"CreateDate": "2026-03-06T15:25:11.1252012-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-06T15:25:11.1252012-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7222234e-6bbd-441e-be1e-df730aa05241",
"FieldId": "29ad411c-f810-453c-9a8a-7739a9466e9a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7222234e-6bbd-441e-be1e-df730aa05241",
"FieldId": "29ad411c-f810-453c-9a8a-7739a9466e9a",
"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": "d9b73df8-f99b-414f-ab7c-1216c6725629",
"Section": {
"TaskTypeSectionId": "77f7d817-1ce4-4700-a5b7-e5ee58c47dbf",
"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": "eeb97b08-082e-4a59-aae6-7ed258b84be0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bd9d3905-e32a-4eca-80e8-05053f750a8a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e193d962-825e-414f-b5d6-9111a84a40f6",
"CreateDate": "2026-03-06T15:25:11.1252012-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-06T15:25:11.1252012-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7222234e-6bbd-441e-be1e-df730aa05241",
"FieldId": "29ad411c-f810-453c-9a8a-7739a9466e9a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7222234e-6bbd-441e-be1e-df730aa05241",
"FieldId": "29ad411c-f810-453c-9a8a-7739a9466e9a",
"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": "963f4b6b-46c6-4402-9b3e-ca618a96c786",
"CreateDate": "2026-03-06T15:25:11.1252012-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-06T15:25:11.1252012-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"
}