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": "976484b2-2bc0-4b3b-ad79-cf222eef8fdf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "8454c128-55b2-4166-8fa9-0f848b21d661",
"Section": {
"TaskTypeSectionId": "c7a97a1b-3d7c-4cb1-b385-805ed5b21cc5",
"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": "31565bc6-8911-4a13-8ddb-2435b0828f34",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9cff1b0c-1070-4002-98d7-c143b833383b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f98b8b7a-189f-41c6-8cfc-850ef39667e9",
"CreateDate": "2026-10-22T06:30:13.9310919-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-22T06:30:13.9310919-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8d122719-bcca-4981-9207-ce3bbc62e8f0",
"FieldId": "d125b8c7-9ebb-4753-ad80-eaa5add0cd74",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8d122719-bcca-4981-9207-ce3bbc62e8f0",
"FieldId": "d125b8c7-9ebb-4753-ad80-eaa5add0cd74",
"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": "8454c128-55b2-4166-8fa9-0f848b21d661",
"Section": {
"TaskTypeSectionId": "c7a97a1b-3d7c-4cb1-b385-805ed5b21cc5",
"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": "31565bc6-8911-4a13-8ddb-2435b0828f34",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9cff1b0c-1070-4002-98d7-c143b833383b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f98b8b7a-189f-41c6-8cfc-850ef39667e9",
"CreateDate": "2026-10-22T06:30:13.9310919-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-22T06:30:13.9310919-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8d122719-bcca-4981-9207-ce3bbc62e8f0",
"FieldId": "d125b8c7-9ebb-4753-ad80-eaa5add0cd74",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8d122719-bcca-4981-9207-ce3bbc62e8f0",
"FieldId": "d125b8c7-9ebb-4753-ad80-eaa5add0cd74",
"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": "4939bdfd-b5c2-4224-b3f1-d56023daa2f9",
"CreateDate": "2026-10-22T06:30:13.9310919-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-22T06:30:13.9310919-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"
}