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": "a2423faa-60f1-4232-b3df-91ae771e559c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ce42fc98-a06e-457e-bb03-400c72deca4c",
"Section": {
"TaskTypeSectionId": "a1c66db1-3152-4bf4-bd14-a75da414dd4a",
"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": "87e2b2d1-7ac5-45e4-ab9b-36401ba05cff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f24bc84-8d70-4fc0-8d58-bb3d3a7efaa2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b90e2518-7cea-4bea-9655-eac9142b08ac",
"CreateDate": "2026-07-10T14:38:42.0509544-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-10T14:38:42.0509544-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5fde28db-ae72-448e-a93c-fb58e30f2dfe",
"FieldId": "0bb256e7-89aa-45e8-8d41-554910fccccd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5fde28db-ae72-448e-a93c-fb58e30f2dfe",
"FieldId": "0bb256e7-89aa-45e8-8d41-554910fccccd",
"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": "ce42fc98-a06e-457e-bb03-400c72deca4c",
"Section": {
"TaskTypeSectionId": "a1c66db1-3152-4bf4-bd14-a75da414dd4a",
"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": "87e2b2d1-7ac5-45e4-ab9b-36401ba05cff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f24bc84-8d70-4fc0-8d58-bb3d3a7efaa2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b90e2518-7cea-4bea-9655-eac9142b08ac",
"CreateDate": "2026-07-10T14:38:42.0509544-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-10T14:38:42.0509544-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5fde28db-ae72-448e-a93c-fb58e30f2dfe",
"FieldId": "0bb256e7-89aa-45e8-8d41-554910fccccd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5fde28db-ae72-448e-a93c-fb58e30f2dfe",
"FieldId": "0bb256e7-89aa-45e8-8d41-554910fccccd",
"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": "448c4ae8-8152-49a0-97c9-7625dc49bae9",
"CreateDate": "2026-07-10T14:38:42.0509544-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-10T14:38:42.0509544-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"
}