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": "3a23e253-bfe0-4c12-839b-b46f7b279703",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "3f73d432-616c-431c-a2f3-a669057cf8d3",
"Section": {
"TaskTypeSectionId": "a9dc6926-a394-4808-aeea-aa27f4f28a11",
"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": "8facdde9-925d-4579-9157-9d1e6d631a9b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1be36784-0ebb-4171-b246-fe258a5fdca2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "19b546f4-4401-4d50-bcd2-9db132725233",
"CreateDate": "2026-10-03T15:37:49.6664953-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T15:37:49.6664953-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b0c172b5-0bf3-41c5-91b1-1b796d98fe20",
"FieldId": "30c92335-233b-48b8-bad6-f2741fe32f85",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b0c172b5-0bf3-41c5-91b1-1b796d98fe20",
"FieldId": "30c92335-233b-48b8-bad6-f2741fe32f85",
"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": "3f73d432-616c-431c-a2f3-a669057cf8d3",
"Section": {
"TaskTypeSectionId": "a9dc6926-a394-4808-aeea-aa27f4f28a11",
"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": "8facdde9-925d-4579-9157-9d1e6d631a9b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1be36784-0ebb-4171-b246-fe258a5fdca2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "19b546f4-4401-4d50-bcd2-9db132725233",
"CreateDate": "2026-10-03T15:37:49.6664953-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-03T15:37:49.6664953-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b0c172b5-0bf3-41c5-91b1-1b796d98fe20",
"FieldId": "30c92335-233b-48b8-bad6-f2741fe32f85",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b0c172b5-0bf3-41c5-91b1-1b796d98fe20",
"FieldId": "30c92335-233b-48b8-bad6-f2741fe32f85",
"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": "e97765bc-a1e7-4d8d-9a4b-fe6bf8e80b72",
"CreateDate": "2026-10-03T15:37:49.6664953-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-03T15:37:49.6664953-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"
}