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": "ec830dcb-cfde-4693-a252-80811a56b6cf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d2873a8a-6fe1-403c-a5af-96513014fe44",
"Section": {
"TaskTypeSectionId": "d1240b38-ddb8-471b-89fc-4dbc2e812c93",
"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": "ce943970-fdf5-4376-82ea-69d27a921f61",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "09f0cf9a-a4c0-4c93-9069-94080bf26bda",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b53cdd2e-b266-4973-9f33-3c7d729b2a3d",
"CreateDate": "2025-12-06T10:17:41.5809154-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-06T10:17:41.5809154-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "30f29431-1e90-4f95-979b-c6ba155ea2f7",
"FieldId": "41dffc54-86cf-47df-8d63-fe9fe2bc5632",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "30f29431-1e90-4f95-979b-c6ba155ea2f7",
"FieldId": "41dffc54-86cf-47df-8d63-fe9fe2bc5632",
"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": "d2873a8a-6fe1-403c-a5af-96513014fe44",
"Section": {
"TaskTypeSectionId": "d1240b38-ddb8-471b-89fc-4dbc2e812c93",
"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": "ce943970-fdf5-4376-82ea-69d27a921f61",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "09f0cf9a-a4c0-4c93-9069-94080bf26bda",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b53cdd2e-b266-4973-9f33-3c7d729b2a3d",
"CreateDate": "2025-12-06T10:17:41.5809154-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-06T10:17:41.5809154-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "30f29431-1e90-4f95-979b-c6ba155ea2f7",
"FieldId": "41dffc54-86cf-47df-8d63-fe9fe2bc5632",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "30f29431-1e90-4f95-979b-c6ba155ea2f7",
"FieldId": "41dffc54-86cf-47df-8d63-fe9fe2bc5632",
"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": "da69a90f-9783-4afa-a66d-ef9f98a4b065",
"CreateDate": "2025-12-06T10:17:41.5809154-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-06T10:17:41.5809154-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"
}