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": "8507b18c-008f-4ead-bfb7-c887c759eb79",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "0cf73c29-2baf-4535-b5c2-065db6abdaff",
"Section": {
"TaskTypeSectionId": "1961374f-9a67-468d-8bfc-e81e0a92a158",
"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": "56eefc1f-ed7d-40c2-8aad-4e32ed8a631f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "effed821-281d-41be-a5d6-982215695d9b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b7b6a1d6-486f-4630-b4f2-fe2b0add5b46",
"CreateDate": "2026-02-21T14:33:02.4956468-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-21T14:33:02.4956468-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f9c5574f-eb2c-4712-bf4d-78f52d13e37d",
"FieldId": "166d3c0d-03da-42e0-bf7d-e8882d18e006",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f9c5574f-eb2c-4712-bf4d-78f52d13e37d",
"FieldId": "166d3c0d-03da-42e0-bf7d-e8882d18e006",
"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": "0cf73c29-2baf-4535-b5c2-065db6abdaff",
"Section": {
"TaskTypeSectionId": "1961374f-9a67-468d-8bfc-e81e0a92a158",
"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": "56eefc1f-ed7d-40c2-8aad-4e32ed8a631f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "effed821-281d-41be-a5d6-982215695d9b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b7b6a1d6-486f-4630-b4f2-fe2b0add5b46",
"CreateDate": "2026-02-21T14:33:02.4956468-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-21T14:33:02.4956468-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f9c5574f-eb2c-4712-bf4d-78f52d13e37d",
"FieldId": "166d3c0d-03da-42e0-bf7d-e8882d18e006",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f9c5574f-eb2c-4712-bf4d-78f52d13e37d",
"FieldId": "166d3c0d-03da-42e0-bf7d-e8882d18e006",
"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": "077553d0-ecf4-4f54-8439-2ae9f3408163",
"CreateDate": "2026-02-21T14:33:02.4956468-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-21T14:33:02.4956468-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"
}