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": "71da66c2-5cec-42cf-bd48-b3de920ea2e6",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "e2ff4ef2-8b75-48a8-83a8-57ad3a609fe1",
"Section": {
"TaskTypeSectionId": "cdb7b673-05e7-4834-8e56-26a737d2ae81",
"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": "5567d0fb-21fd-4bbc-a032-0e31def08058",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "58c8e788-5f4b-4efb-972e-cc54b35960d5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "faa8ee2c-3bc5-4003-a411-3cfefe84b2b3",
"CreateDate": "2026-08-18T00:50:01.6975619-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-18T00:50:01.6975619-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aa4bf966-df54-4bd1-97e4-cba9b28dd4a0",
"FieldId": "a35b8d94-e5c0-4997-b44b-8028d262784f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aa4bf966-df54-4bd1-97e4-cba9b28dd4a0",
"FieldId": "a35b8d94-e5c0-4997-b44b-8028d262784f",
"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": "e2ff4ef2-8b75-48a8-83a8-57ad3a609fe1",
"Section": {
"TaskTypeSectionId": "cdb7b673-05e7-4834-8e56-26a737d2ae81",
"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": "5567d0fb-21fd-4bbc-a032-0e31def08058",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "58c8e788-5f4b-4efb-972e-cc54b35960d5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "faa8ee2c-3bc5-4003-a411-3cfefe84b2b3",
"CreateDate": "2026-08-18T00:50:01.6975619-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-18T00:50:01.6975619-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aa4bf966-df54-4bd1-97e4-cba9b28dd4a0",
"FieldId": "a35b8d94-e5c0-4997-b44b-8028d262784f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aa4bf966-df54-4bd1-97e4-cba9b28dd4a0",
"FieldId": "a35b8d94-e5c0-4997-b44b-8028d262784f",
"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": "2ef0d93b-c52f-4328-bb54-4bcedf767c26",
"CreateDate": "2026-08-18T00:50:01.6975619-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-18T00:50:01.6975619-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"
}