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": "8d8b1d70-9356-4b8c-a159-c7146beec237",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "98197d92-266d-45ab-911a-56f697d527cb",
"Section": {
"TaskTypeSectionId": "7e813ee3-6514-4bef-9652-9b6ce55182fc",
"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": "2e1aaa5d-ff0e-49d0-b84c-7f55598ae48b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0fb5dbeb-0b38-4dcb-8f1e-091a4bd19e18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e8daa45f-b124-4e44-bd75-e0f7b9966135",
"CreateDate": "2025-12-31T14:41:15.4783102-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T14:41:15.4783102-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "08f691af-d7b3-4653-9eaa-f0d6211995b9",
"FieldId": "6c19e06c-cc0c-4061-83f5-1742dd4c5bd6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "08f691af-d7b3-4653-9eaa-f0d6211995b9",
"FieldId": "6c19e06c-cc0c-4061-83f5-1742dd4c5bd6",
"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": "98197d92-266d-45ab-911a-56f697d527cb",
"Section": {
"TaskTypeSectionId": "7e813ee3-6514-4bef-9652-9b6ce55182fc",
"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": "2e1aaa5d-ff0e-49d0-b84c-7f55598ae48b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0fb5dbeb-0b38-4dcb-8f1e-091a4bd19e18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e8daa45f-b124-4e44-bd75-e0f7b9966135",
"CreateDate": "2025-12-31T14:41:15.4783102-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T14:41:15.4783102-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "08f691af-d7b3-4653-9eaa-f0d6211995b9",
"FieldId": "6c19e06c-cc0c-4061-83f5-1742dd4c5bd6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "08f691af-d7b3-4653-9eaa-f0d6211995b9",
"FieldId": "6c19e06c-cc0c-4061-83f5-1742dd4c5bd6",
"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": "ea66d1be-49f1-46ca-87f6-68bb25a7f2a6",
"CreateDate": "2025-12-31T14:41:15.4783102-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T14:41:15.4783102-08: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"
}