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": "d6bb4dee-aa76-42da-8df1-95411d93b2fb",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "0e4bf45b-8034-41b6-a5d4-83daf52b2294",
"Section": {
"TaskTypeSectionId": "a0f54601-3d9f-43f0-b2b8-8a5439bb1063",
"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": "c780752b-1cda-4736-a940-37ba5479e2ca",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "154e234f-955f-43c9-98ca-8b82d45354ca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2069bf8-972a-4448-9787-05bbe2108f8a",
"CreateDate": "2025-11-26T07:25:03.2749902-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-26T07:25:03.2749902-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d21217b5-eb69-4ce8-833a-f1d5864bdc95",
"FieldId": "18bbc056-e43c-477b-873d-ef486ca697c4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d21217b5-eb69-4ce8-833a-f1d5864bdc95",
"FieldId": "18bbc056-e43c-477b-873d-ef486ca697c4",
"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": "0e4bf45b-8034-41b6-a5d4-83daf52b2294",
"Section": {
"TaskTypeSectionId": "a0f54601-3d9f-43f0-b2b8-8a5439bb1063",
"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": "c780752b-1cda-4736-a940-37ba5479e2ca",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "154e234f-955f-43c9-98ca-8b82d45354ca",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2069bf8-972a-4448-9787-05bbe2108f8a",
"CreateDate": "2025-11-26T07:25:03.2749902-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-26T07:25:03.2749902-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d21217b5-eb69-4ce8-833a-f1d5864bdc95",
"FieldId": "18bbc056-e43c-477b-873d-ef486ca697c4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d21217b5-eb69-4ce8-833a-f1d5864bdc95",
"FieldId": "18bbc056-e43c-477b-873d-ef486ca697c4",
"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": "df5e55b0-b2ef-45bc-b66f-cdacfd7cc2fa",
"CreateDate": "2025-11-26T07:25:03.2749902-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-26T07:25:03.2749902-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"
}