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": "1842d67f-2716-4f0b-bdfa-2009e4d4d0b8",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "590567d1-3daa-4cfb-bd2d-9e219c7beab2",
"Section": {
"TaskTypeSectionId": "1bd53c37-464f-4bff-a502-35707abc8c0c",
"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": "2ca89e77-f7ba-476f-8c1e-ab2e3acee34a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "97d7b162-021d-4d35-b080-f688036aa41b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d702e75d-a186-45d3-b18a-786be45f04af",
"CreateDate": "2026-06-18T00:05:54.5132026-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-18T00:05:54.5132026-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8fd55fa0-812a-4ff1-be27-6998acc758c8",
"FieldId": "39fe98f5-55c3-4287-9cdb-e9ba50b44361",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8fd55fa0-812a-4ff1-be27-6998acc758c8",
"FieldId": "39fe98f5-55c3-4287-9cdb-e9ba50b44361",
"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": "590567d1-3daa-4cfb-bd2d-9e219c7beab2",
"Section": {
"TaskTypeSectionId": "1bd53c37-464f-4bff-a502-35707abc8c0c",
"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": "2ca89e77-f7ba-476f-8c1e-ab2e3acee34a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "97d7b162-021d-4d35-b080-f688036aa41b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d702e75d-a186-45d3-b18a-786be45f04af",
"CreateDate": "2026-06-18T00:05:54.5132026-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-18T00:05:54.5132026-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8fd55fa0-812a-4ff1-be27-6998acc758c8",
"FieldId": "39fe98f5-55c3-4287-9cdb-e9ba50b44361",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8fd55fa0-812a-4ff1-be27-6998acc758c8",
"FieldId": "39fe98f5-55c3-4287-9cdb-e9ba50b44361",
"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": "a6790f0d-b7eb-439b-98c6-abe8c3e2a8c7",
"CreateDate": "2026-06-18T00:05:54.5132026-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-18T00:05:54.5132026-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"
}