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": "ac58f7c6-429d-4b8d-ab55-a1bf8b470fb0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "079569dd-f011-4315-a075-fcfe86a4f2d9",
"Section": {
"TaskTypeSectionId": "06eec4e4-7191-48ae-9682-2e1f1407803b",
"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": "36788850-6bcd-45f9-a68b-ba23aef79a20",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c6b3d5b0-1079-4e14-ad9f-da58a96c675e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0852dd69-777c-463a-b0e0-febb2b49945c",
"CreateDate": "2026-11-14T20:06:13.0393559-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-14T20:06:13.0393559-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "20c16721-ae97-4e6f-a45c-12370ab33f33",
"FieldId": "d98eda20-4eda-4100-92af-9e41668b12e3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "20c16721-ae97-4e6f-a45c-12370ab33f33",
"FieldId": "d98eda20-4eda-4100-92af-9e41668b12e3",
"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": "079569dd-f011-4315-a075-fcfe86a4f2d9",
"Section": {
"TaskTypeSectionId": "06eec4e4-7191-48ae-9682-2e1f1407803b",
"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": "36788850-6bcd-45f9-a68b-ba23aef79a20",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c6b3d5b0-1079-4e14-ad9f-da58a96c675e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0852dd69-777c-463a-b0e0-febb2b49945c",
"CreateDate": "2026-11-14T20:06:13.0393559-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-14T20:06:13.0393559-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "20c16721-ae97-4e6f-a45c-12370ab33f33",
"FieldId": "d98eda20-4eda-4100-92af-9e41668b12e3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "20c16721-ae97-4e6f-a45c-12370ab33f33",
"FieldId": "d98eda20-4eda-4100-92af-9e41668b12e3",
"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": "55151363-a33d-44c0-912d-ca242aaceba5",
"CreateDate": "2026-11-14T20:06:13.0393559-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-14T20:06:13.0393559-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"
}