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": "87d7a9c5-a150-4098-b032-44d2baf70bd2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "eccd1f15-4624-40bb-8be3-5a86b7aedadb",
"Section": {
"TaskTypeSectionId": "d7d505f0-5d67-42a2-a2ec-1437603785f2",
"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": "098b7f8f-a69a-4da9-9e80-4831078a4868",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d29d225d-7606-4063-966e-25d14733e928",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "39fff4eb-28e8-4e5d-add4-a2730cc2b61f",
"CreateDate": "2026-08-27T03:17:47.5606277-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-27T03:17:47.5606277-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b6088e8-51d3-4af3-8359-19201527522d",
"FieldId": "dd860282-6681-4409-baf2-3442e884a90d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b6088e8-51d3-4af3-8359-19201527522d",
"FieldId": "dd860282-6681-4409-baf2-3442e884a90d",
"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": "eccd1f15-4624-40bb-8be3-5a86b7aedadb",
"Section": {
"TaskTypeSectionId": "d7d505f0-5d67-42a2-a2ec-1437603785f2",
"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": "098b7f8f-a69a-4da9-9e80-4831078a4868",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d29d225d-7606-4063-966e-25d14733e928",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "39fff4eb-28e8-4e5d-add4-a2730cc2b61f",
"CreateDate": "2026-08-27T03:17:47.5606277-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-27T03:17:47.5606277-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b6088e8-51d3-4af3-8359-19201527522d",
"FieldId": "dd860282-6681-4409-baf2-3442e884a90d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b6088e8-51d3-4af3-8359-19201527522d",
"FieldId": "dd860282-6681-4409-baf2-3442e884a90d",
"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": "2e9eeedf-2afc-42b8-96a6-b7f9cc5ff629",
"CreateDate": "2026-08-27T03:17:47.5606277-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-27T03:17:47.5606277-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"
}