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": "05813a5e-db8f-49dd-a3ac-0f56a0cf4e15",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c69867d6-5133-4258-bfef-a073d5ada15f",
"Section": {
"TaskTypeSectionId": "6a0b5561-4de8-41da-914f-baf6d39bcec8",
"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": "7ac367b0-f81e-4149-8fb0-b84dd3eb2a6f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07b54dfa-3755-4b3c-9403-921d49bf3db7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "360e8031-0fd9-4d3b-a648-7fedc4e3f1ed",
"CreateDate": "2026-01-22T18:30:47.1925329-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T18:30:47.1925329-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8a3ebd7f-74d8-46e7-b9ea-c9e4c8254fd6",
"FieldId": "bc83e439-e65d-4a64-b943-8d942da92bce",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8a3ebd7f-74d8-46e7-b9ea-c9e4c8254fd6",
"FieldId": "bc83e439-e65d-4a64-b943-8d942da92bce",
"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": "c69867d6-5133-4258-bfef-a073d5ada15f",
"Section": {
"TaskTypeSectionId": "6a0b5561-4de8-41da-914f-baf6d39bcec8",
"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": "7ac367b0-f81e-4149-8fb0-b84dd3eb2a6f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07b54dfa-3755-4b3c-9403-921d49bf3db7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "360e8031-0fd9-4d3b-a648-7fedc4e3f1ed",
"CreateDate": "2026-01-22T18:30:47.1925329-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T18:30:47.1925329-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8a3ebd7f-74d8-46e7-b9ea-c9e4c8254fd6",
"FieldId": "bc83e439-e65d-4a64-b943-8d942da92bce",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8a3ebd7f-74d8-46e7-b9ea-c9e4c8254fd6",
"FieldId": "bc83e439-e65d-4a64-b943-8d942da92bce",
"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": "7b52980f-2d37-4258-b2ff-a08dced44a61",
"CreateDate": "2026-01-22T18:30:47.1925329-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T18:30:47.1925329-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"
}