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": "7df544fa-425a-448f-b646-028d28a116cf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "51ff8dd6-3b69-4be7-9e84-7e2e20a0c221",
"Section": {
"TaskTypeSectionId": "2c48913d-b621-4020-b1ca-4a7f74a8e7fc",
"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": "23bc7566-bd23-4171-9b14-7cc2751eb38a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6bcc900e-330c-4de3-81a9-09de3dfb5e74",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "840b96cb-b456-4efc-9df0-0d26b7adda20",
"CreateDate": "2026-08-27T13:22:24.5235122-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-27T13:22:24.5235122-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "61a2c52b-60ed-42ca-9a80-66c61c3b86d5",
"FieldId": "bf7f31d3-58b9-43a7-90e8-e02d380ffa3b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "61a2c52b-60ed-42ca-9a80-66c61c3b86d5",
"FieldId": "bf7f31d3-58b9-43a7-90e8-e02d380ffa3b",
"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": "51ff8dd6-3b69-4be7-9e84-7e2e20a0c221",
"Section": {
"TaskTypeSectionId": "2c48913d-b621-4020-b1ca-4a7f74a8e7fc",
"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": "23bc7566-bd23-4171-9b14-7cc2751eb38a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6bcc900e-330c-4de3-81a9-09de3dfb5e74",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "840b96cb-b456-4efc-9df0-0d26b7adda20",
"CreateDate": "2026-08-27T13:22:24.5235122-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-27T13:22:24.5235122-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "61a2c52b-60ed-42ca-9a80-66c61c3b86d5",
"FieldId": "bf7f31d3-58b9-43a7-90e8-e02d380ffa3b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "61a2c52b-60ed-42ca-9a80-66c61c3b86d5",
"FieldId": "bf7f31d3-58b9-43a7-90e8-e02d380ffa3b",
"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": "8b17dab8-8959-496e-966c-b0c839f707df",
"CreateDate": "2026-08-27T13:22:24.5235122-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-27T13:22:24.5235122-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"
}