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": "118892d3-80d9-4ef1-85b5-0b0164fc89c3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "1cd96a12-f328-4de7-8bb9-7332c37cac2b",
"Section": {
"TaskTypeSectionId": "25e166a0-31fc-439a-a1bf-e8a537d12d55",
"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": "fca51438-047c-48fb-a8a4-33b1b2ae0e81",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "27e437ca-290f-450a-9667-3c27678a6b0c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "df2a9e69-2dc8-4ab9-b68c-4ead4960783b",
"CreateDate": "2026-10-29T15:24:31.6510522-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:24:31.6510522-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9c7a0c87-9114-4864-86b4-6617f5fa5458",
"FieldId": "c6682cd5-cbea-424a-bf31-0f8813fa0da0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9c7a0c87-9114-4864-86b4-6617f5fa5458",
"FieldId": "c6682cd5-cbea-424a-bf31-0f8813fa0da0",
"FieldName": "sample string 1",
"FieldLabel": "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": "1cd96a12-f328-4de7-8bb9-7332c37cac2b",
"Section": {
"TaskTypeSectionId": "25e166a0-31fc-439a-a1bf-e8a537d12d55",
"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": "fca51438-047c-48fb-a8a4-33b1b2ae0e81",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "27e437ca-290f-450a-9667-3c27678a6b0c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "df2a9e69-2dc8-4ab9-b68c-4ead4960783b",
"CreateDate": "2026-10-29T15:24:31.6510522-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:24:31.6510522-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9c7a0c87-9114-4864-86b4-6617f5fa5458",
"FieldId": "c6682cd5-cbea-424a-bf31-0f8813fa0da0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9c7a0c87-9114-4864-86b4-6617f5fa5458",
"FieldId": "c6682cd5-cbea-424a-bf31-0f8813fa0da0",
"FieldName": "sample string 1",
"FieldLabel": "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": "129c4dda-fdcb-4aea-9951-f9df3513847a",
"CreateDate": "2026-10-29T15:24:31.6510522-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:24:31.6510522-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"
}