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": "6ee07660-49b8-4355-8d10-c55e950593fc",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "69a397b6-1e14-4d75-8e64-edd37907af30",
"Section": {
"TaskTypeSectionId": "8d37ceda-f8fe-4405-8fda-09fbec6096ba",
"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": "35a787f5-c774-4f8d-bee1-4eb560e3291c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "54d3e09a-c6dc-4112-861d-bd01caa350ed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1616146c-d730-4d79-84e0-0bf166a9008d",
"CreateDate": "2026-07-04T13:43:16.6136496-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T13:43:16.6136496-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8f778461-8c64-4d03-8d02-f8032f9841b0",
"FieldId": "6e800eea-528e-4c34-9384-5795512a8396",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8f778461-8c64-4d03-8d02-f8032f9841b0",
"FieldId": "6e800eea-528e-4c34-9384-5795512a8396",
"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": "69a397b6-1e14-4d75-8e64-edd37907af30",
"Section": {
"TaskTypeSectionId": "8d37ceda-f8fe-4405-8fda-09fbec6096ba",
"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": "35a787f5-c774-4f8d-bee1-4eb560e3291c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "54d3e09a-c6dc-4112-861d-bd01caa350ed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1616146c-d730-4d79-84e0-0bf166a9008d",
"CreateDate": "2026-07-04T13:43:16.6136496-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-04T13:43:16.6136496-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8f778461-8c64-4d03-8d02-f8032f9841b0",
"FieldId": "6e800eea-528e-4c34-9384-5795512a8396",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8f778461-8c64-4d03-8d02-f8032f9841b0",
"FieldId": "6e800eea-528e-4c34-9384-5795512a8396",
"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": "183d18b6-0ec0-4a49-adde-70f90a782419",
"CreateDate": "2026-07-04T13:43:16.6136496-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-04T13:43:16.6136496-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"
}