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": "5f3a5201-43e2-46af-bb19-db043316644e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "23095522-408b-4104-aef9-30655618217b",
"Section": {
"TaskTypeSectionId": "b5676b47-9aca-4c78-a8ca-6310cc644a51",
"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": "24f4ec56-9299-4404-a1dd-055dfaae18b9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07b41306-15bc-4889-8fec-bafb82ac4b59",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d6ca8479-fb10-4396-8534-9c3effabbbce",
"CreateDate": "2026-09-06T00:35:16.8207165-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T00:35:16.8207165-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1b71216d-1a27-477a-9b8c-d499c5f7a680",
"FieldId": "9e5d9996-0990-4aef-b281-f6960c6e3ac3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1b71216d-1a27-477a-9b8c-d499c5f7a680",
"FieldId": "9e5d9996-0990-4aef-b281-f6960c6e3ac3",
"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": "23095522-408b-4104-aef9-30655618217b",
"Section": {
"TaskTypeSectionId": "b5676b47-9aca-4c78-a8ca-6310cc644a51",
"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": "24f4ec56-9299-4404-a1dd-055dfaae18b9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "07b41306-15bc-4889-8fec-bafb82ac4b59",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d6ca8479-fb10-4396-8534-9c3effabbbce",
"CreateDate": "2026-09-06T00:35:16.8207165-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-06T00:35:16.8207165-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1b71216d-1a27-477a-9b8c-d499c5f7a680",
"FieldId": "9e5d9996-0990-4aef-b281-f6960c6e3ac3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1b71216d-1a27-477a-9b8c-d499c5f7a680",
"FieldId": "9e5d9996-0990-4aef-b281-f6960c6e3ac3",
"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": "0eadde60-17e0-4340-ae8d-404c50028acc",
"CreateDate": "2026-09-06T00:35:16.8207165-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-06T00:35:16.8207165-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"
}