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": "e4aeaaaa-7783-4f4e-84da-773fe05e88f3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c5134ce0-d93e-4c6b-8e9a-6fb5a45349dd",
"Section": {
"TaskTypeSectionId": "128b2ce9-502c-4d3c-bcc9-f3ff34de08f0",
"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": "cad3e146-d3c5-4503-b776-e027c8cc2b41",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "efe4be95-21d8-420c-84d0-2831f78cad06",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db5017c5-72d7-4e96-b0e0-1fa460d6e4a1",
"CreateDate": "2026-07-17T10:21:54.7574733-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-17T10:21:54.7574733-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4e5923af-1319-42c5-8571-2f8a8a00155a",
"FieldId": "23511713-ef78-4b1e-87a2-3e0677ddbef3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4e5923af-1319-42c5-8571-2f8a8a00155a",
"FieldId": "23511713-ef78-4b1e-87a2-3e0677ddbef3",
"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": "c5134ce0-d93e-4c6b-8e9a-6fb5a45349dd",
"Section": {
"TaskTypeSectionId": "128b2ce9-502c-4d3c-bcc9-f3ff34de08f0",
"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": "cad3e146-d3c5-4503-b776-e027c8cc2b41",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "efe4be95-21d8-420c-84d0-2831f78cad06",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "db5017c5-72d7-4e96-b0e0-1fa460d6e4a1",
"CreateDate": "2026-07-17T10:21:54.7574733-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-17T10:21:54.7574733-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4e5923af-1319-42c5-8571-2f8a8a00155a",
"FieldId": "23511713-ef78-4b1e-87a2-3e0677ddbef3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4e5923af-1319-42c5-8571-2f8a8a00155a",
"FieldId": "23511713-ef78-4b1e-87a2-3e0677ddbef3",
"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": "4509dc97-ef92-488b-ad5e-2f9edcfaa439",
"CreateDate": "2026-07-17T10:21:54.7574733-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-17T10:21:54.7574733-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"
}