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": "e6cce8fc-b33b-4c71-89d9-9c89e566b6c3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "019bb906-2035-4782-bb87-bd68ee839bb3",
"Section": {
"TaskTypeSectionId": "b8c9e83a-bca8-4ea2-aa08-31396b45c569",
"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": "1ddd3c8e-4de9-4079-855d-83698f6b5a72",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a84d69c1-76dc-445c-934c-1a9c8618b95d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "49f414f1-e989-4a30-9188-fa4d40d75d6a",
"CreateDate": "2026-03-28T01:00:59.9181961-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-28T01:00:59.9181961-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "adeb436b-0c36-4e04-aeb7-20a8c9a60305",
"FieldId": "4aaedfc7-da95-490c-9e7b-a08bfc1f96ab",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "adeb436b-0c36-4e04-aeb7-20a8c9a60305",
"FieldId": "4aaedfc7-da95-490c-9e7b-a08bfc1f96ab",
"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": "019bb906-2035-4782-bb87-bd68ee839bb3",
"Section": {
"TaskTypeSectionId": "b8c9e83a-bca8-4ea2-aa08-31396b45c569",
"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": "1ddd3c8e-4de9-4079-855d-83698f6b5a72",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a84d69c1-76dc-445c-934c-1a9c8618b95d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "49f414f1-e989-4a30-9188-fa4d40d75d6a",
"CreateDate": "2026-03-28T01:00:59.9181961-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-28T01:00:59.9181961-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "adeb436b-0c36-4e04-aeb7-20a8c9a60305",
"FieldId": "4aaedfc7-da95-490c-9e7b-a08bfc1f96ab",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "adeb436b-0c36-4e04-aeb7-20a8c9a60305",
"FieldId": "4aaedfc7-da95-490c-9e7b-a08bfc1f96ab",
"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": "28ba96be-e4d8-4f86-9100-8f002a899068",
"CreateDate": "2026-03-28T01:00:59.9181961-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-28T01:00:59.9181961-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"
}