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": "c593b628-b448-479e-ae92-079d92cf0c3a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5258379e-de19-411c-9eb6-305b4bbedeb6",
"Section": {
"TaskTypeSectionId": "e0a75fe4-5460-45b3-81e7-e8e3bd60deb5",
"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": "0580b541-082f-4e7c-ad7a-d79da030fbcf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ed891ccf-291b-401e-959d-0853081956a6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "22dd7207-8540-4205-9ccb-9bd83ada8dcc",
"CreateDate": "2026-07-13T16:49:51.1166587-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T16:49:51.1166587-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c447857d-5e97-4d8a-af28-99081af3c8f5",
"FieldId": "500da1a4-9878-4303-9cb0-c9bf830bc0af",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c447857d-5e97-4d8a-af28-99081af3c8f5",
"FieldId": "500da1a4-9878-4303-9cb0-c9bf830bc0af",
"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": "5258379e-de19-411c-9eb6-305b4bbedeb6",
"Section": {
"TaskTypeSectionId": "e0a75fe4-5460-45b3-81e7-e8e3bd60deb5",
"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": "0580b541-082f-4e7c-ad7a-d79da030fbcf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ed891ccf-291b-401e-959d-0853081956a6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "22dd7207-8540-4205-9ccb-9bd83ada8dcc",
"CreateDate": "2026-07-13T16:49:51.1166587-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T16:49:51.1166587-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c447857d-5e97-4d8a-af28-99081af3c8f5",
"FieldId": "500da1a4-9878-4303-9cb0-c9bf830bc0af",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c447857d-5e97-4d8a-af28-99081af3c8f5",
"FieldId": "500da1a4-9878-4303-9cb0-c9bf830bc0af",
"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": "5d1d92da-f713-4712-bac9-7c980db37108",
"CreateDate": "2026-07-13T16:49:51.1166587-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T16:49:51.1166587-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"
}