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": "31955a67-df3d-48eb-85cc-f87b0e9e90a9",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "2f2bbe67-cfe1-49d8-851a-bad7b8b95451",
"Section": {
"TaskTypeSectionId": "281d90d5-1396-4dee-b7d2-dee488c24f29",
"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": "dd0e155e-5522-4d8e-b8d6-d05107150c67",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fdef4308-e6e6-49e6-8620-a7d3af8c5dc0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8eac1411-def9-4e7a-82f0-7d2173bb5830",
"CreateDate": "2026-02-13T08:14:38.1005356-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-13T08:14:38.1005356-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b3ba76e-5d33-43d9-843f-25e83fdde038",
"FieldId": "99ed5b7f-c7a7-445c-8762-1ec9983ef8e8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b3ba76e-5d33-43d9-843f-25e83fdde038",
"FieldId": "99ed5b7f-c7a7-445c-8762-1ec9983ef8e8",
"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": "2f2bbe67-cfe1-49d8-851a-bad7b8b95451",
"Section": {
"TaskTypeSectionId": "281d90d5-1396-4dee-b7d2-dee488c24f29",
"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": "dd0e155e-5522-4d8e-b8d6-d05107150c67",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fdef4308-e6e6-49e6-8620-a7d3af8c5dc0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8eac1411-def9-4e7a-82f0-7d2173bb5830",
"CreateDate": "2026-02-13T08:14:38.1005356-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-13T08:14:38.1005356-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b3ba76e-5d33-43d9-843f-25e83fdde038",
"FieldId": "99ed5b7f-c7a7-445c-8762-1ec9983ef8e8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b3ba76e-5d33-43d9-843f-25e83fdde038",
"FieldId": "99ed5b7f-c7a7-445c-8762-1ec9983ef8e8",
"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": "a74b9f7e-f082-491b-a3f6-af1c83863283",
"CreateDate": "2026-02-13T08:14:38.1005356-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-13T08:14:38.1005356-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"
}