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": "597efaf5-0352-4f2d-afb6-d39ad71d3a28",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "b5ae92ce-7a45-4704-95a5-1ee4aecac08b",
"Section": {
"TaskTypeSectionId": "96e56203-30ea-42c8-9c49-3a041a0cbc3e",
"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": "f9f1763b-19eb-4d4b-a863-d7017ee697fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "18da05e5-d6fb-4b89-a3d5-3385febf3e4d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d294ca2a-0d2d-4d24-a6af-12c023e99436",
"CreateDate": "2026-05-12T20:10:44.6611051-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T20:10:44.6611051-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fef6bddf-f505-4641-b87d-c175e3271dd4",
"FieldId": "b35b8543-e11f-4292-9e0b-25118e4654df",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fef6bddf-f505-4641-b87d-c175e3271dd4",
"FieldId": "b35b8543-e11f-4292-9e0b-25118e4654df",
"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": "b5ae92ce-7a45-4704-95a5-1ee4aecac08b",
"Section": {
"TaskTypeSectionId": "96e56203-30ea-42c8-9c49-3a041a0cbc3e",
"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": "f9f1763b-19eb-4d4b-a863-d7017ee697fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "18da05e5-d6fb-4b89-a3d5-3385febf3e4d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d294ca2a-0d2d-4d24-a6af-12c023e99436",
"CreateDate": "2026-05-12T20:10:44.6611051-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T20:10:44.6611051-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fef6bddf-f505-4641-b87d-c175e3271dd4",
"FieldId": "b35b8543-e11f-4292-9e0b-25118e4654df",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fef6bddf-f505-4641-b87d-c175e3271dd4",
"FieldId": "b35b8543-e11f-4292-9e0b-25118e4654df",
"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": "4c1f5930-54f0-44e6-95ae-fbdc26a13fbe",
"CreateDate": "2026-05-12T20:10:44.6611051-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T20:10:44.6611051-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"
}