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": "6399a7b5-d1d3-47c1-b2bb-6be249cb80c2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "777772c3-2073-46f7-b346-fba4cd84c5ca",
"Section": {
"TaskTypeSectionId": "e1f88986-e0a9-44d8-b2a7-a854ad9f752a",
"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": "4e631953-7f67-4791-be20-a2d45809dbbf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9aefd652-02b7-4385-9181-5d82b99bc340",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "132927f2-4974-47bc-bf1c-7cec96b7a4f6",
"CreateDate": "2026-07-01T11:05:07.2035041-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T11:05:07.2035041-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8103bd1e-5ce0-49a6-bb13-548d1cdd1eb0",
"FieldId": "e792da21-29b6-41fd-b6d5-53768e313d58",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8103bd1e-5ce0-49a6-bb13-548d1cdd1eb0",
"FieldId": "e792da21-29b6-41fd-b6d5-53768e313d58",
"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": "777772c3-2073-46f7-b346-fba4cd84c5ca",
"Section": {
"TaskTypeSectionId": "e1f88986-e0a9-44d8-b2a7-a854ad9f752a",
"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": "4e631953-7f67-4791-be20-a2d45809dbbf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9aefd652-02b7-4385-9181-5d82b99bc340",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "132927f2-4974-47bc-bf1c-7cec96b7a4f6",
"CreateDate": "2026-07-01T11:05:07.2035041-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-01T11:05:07.2035041-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8103bd1e-5ce0-49a6-bb13-548d1cdd1eb0",
"FieldId": "e792da21-29b6-41fd-b6d5-53768e313d58",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8103bd1e-5ce0-49a6-bb13-548d1cdd1eb0",
"FieldId": "e792da21-29b6-41fd-b6d5-53768e313d58",
"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": "f3bc5fbe-a989-4fd4-a359-08a363b28417",
"CreateDate": "2026-07-01T11:05:07.2035041-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-01T11:05:07.2035041-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"
}