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": "cfdc1350-9828-4b9a-a8e4-89f48a62e5f3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7b2204ec-9689-4607-a1fe-e502b8e926d1",
"Section": {
"TaskTypeSectionId": "b66fbd08-3290-417b-9653-ed569c534481",
"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": "cc6d5649-9cb1-4bd0-9d4d-3c22fd878f3a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fc9b9620-cf3e-4c2e-8247-3a41df36c529",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "307a35b8-8362-41f9-bd3b-57b45d26dabe",
"CreateDate": "2026-05-20T20:30:09.1651101-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T20:30:09.1651101-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3f51b5bc-f9d5-40a0-8f91-9dc5123c2e9a",
"FieldId": "d4d83dc9-1afe-4347-bbcc-e251a850f6a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3f51b5bc-f9d5-40a0-8f91-9dc5123c2e9a",
"FieldId": "d4d83dc9-1afe-4347-bbcc-e251a850f6a5",
"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": "7b2204ec-9689-4607-a1fe-e502b8e926d1",
"Section": {
"TaskTypeSectionId": "b66fbd08-3290-417b-9653-ed569c534481",
"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": "cc6d5649-9cb1-4bd0-9d4d-3c22fd878f3a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fc9b9620-cf3e-4c2e-8247-3a41df36c529",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "307a35b8-8362-41f9-bd3b-57b45d26dabe",
"CreateDate": "2026-05-20T20:30:09.1651101-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T20:30:09.1651101-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3f51b5bc-f9d5-40a0-8f91-9dc5123c2e9a",
"FieldId": "d4d83dc9-1afe-4347-bbcc-e251a850f6a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3f51b5bc-f9d5-40a0-8f91-9dc5123c2e9a",
"FieldId": "d4d83dc9-1afe-4347-bbcc-e251a850f6a5",
"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": "86ceb59b-4418-4512-b789-6d99eee76cbf",
"CreateDate": "2026-05-20T20:30:09.1651101-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T20:30:09.1651101-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"
}