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": "d5a23eb3-c800-43be-996f-163bb825af6e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "50ff00fb-d102-4a0a-afa6-22044e250b04",
"Section": {
"TaskTypeSectionId": "23dbe90f-7d38-49d8-974c-dbcfd6e3c041",
"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": "68b589c2-87e3-4016-bd45-7cb545624851",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "208ee1ad-4b5c-49d5-9c77-b49dbce3017f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6e3a7c65-89bc-4335-aa3c-dac8829be91b",
"CreateDate": "2026-03-09T20:11:04.6520671-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T20:11:04.6520671-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da460bd3-c51e-4c6a-886d-17008f9b1614",
"FieldId": "f98184d3-c080-4bbe-a295-76b4e519c14d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da460bd3-c51e-4c6a-886d-17008f9b1614",
"FieldId": "f98184d3-c080-4bbe-a295-76b4e519c14d",
"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": "50ff00fb-d102-4a0a-afa6-22044e250b04",
"Section": {
"TaskTypeSectionId": "23dbe90f-7d38-49d8-974c-dbcfd6e3c041",
"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": "68b589c2-87e3-4016-bd45-7cb545624851",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "208ee1ad-4b5c-49d5-9c77-b49dbce3017f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6e3a7c65-89bc-4335-aa3c-dac8829be91b",
"CreateDate": "2026-03-09T20:11:04.6520671-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T20:11:04.6520671-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da460bd3-c51e-4c6a-886d-17008f9b1614",
"FieldId": "f98184d3-c080-4bbe-a295-76b4e519c14d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da460bd3-c51e-4c6a-886d-17008f9b1614",
"FieldId": "f98184d3-c080-4bbe-a295-76b4e519c14d",
"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": "d74c5f78-4b87-4d4c-8904-2931af9003c0",
"CreateDate": "2026-03-09T20:11:04.6520671-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-09T20:11:04.6520671-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"
}