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": "338d44a2-9c64-4373-873c-b39ed0359a11",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "337d70fb-27c4-43da-86ab-c424096f123b",
"Section": {
"TaskTypeSectionId": "497d01b8-4586-4c23-887f-ab17fc969fe1",
"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": "be30f92e-8544-4595-8c4b-06eb16b9b91c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d9946eb1-b225-4a5f-a7f5-d66ca8be7960",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "94f1ccae-f435-4e98-9965-f33fd5b24fb5",
"CreateDate": "2026-04-18T13:37:34.1318637-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T13:37:34.1318637-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e3b8b9e5-12c3-4b01-9187-9d176b129dd9",
"FieldId": "b84acf67-63f0-42ab-9a9e-3a4a0e3758a8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e3b8b9e5-12c3-4b01-9187-9d176b129dd9",
"FieldId": "b84acf67-63f0-42ab-9a9e-3a4a0e3758a8",
"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": "337d70fb-27c4-43da-86ab-c424096f123b",
"Section": {
"TaskTypeSectionId": "497d01b8-4586-4c23-887f-ab17fc969fe1",
"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": "be30f92e-8544-4595-8c4b-06eb16b9b91c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d9946eb1-b225-4a5f-a7f5-d66ca8be7960",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "94f1ccae-f435-4e98-9965-f33fd5b24fb5",
"CreateDate": "2026-04-18T13:37:34.1318637-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T13:37:34.1318637-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e3b8b9e5-12c3-4b01-9187-9d176b129dd9",
"FieldId": "b84acf67-63f0-42ab-9a9e-3a4a0e3758a8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e3b8b9e5-12c3-4b01-9187-9d176b129dd9",
"FieldId": "b84acf67-63f0-42ab-9a9e-3a4a0e3758a8",
"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": "91e89225-bd3d-4604-895d-2dbb49ad9c3b",
"CreateDate": "2026-04-18T13:37:34.1318637-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T13:37:34.1318637-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"
}