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": "493a650a-3d2d-484b-a1f9-1fcfcba3a978",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7ffb153b-180e-4c2c-a558-1398685e9dbe",
"Section": {
"TaskTypeSectionId": "aebe058d-dd50-4d97-93c4-37854fe04457",
"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": "c3757a67-2784-428e-b434-aa850e774b82",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f3e1e8b-9dd6-43c1-b574-e97aa43c0a72",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7ec1c55c-ec66-47a4-a7ba-4ff05f1ce5a1",
"CreateDate": "2026-07-22T04:20:09.4758139-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-22T04:20:09.4758139-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4df6115a-5509-468d-811d-f096776edb98",
"FieldId": "6dcf50fe-fa2b-4f7d-9043-df1e6ef46fa5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4df6115a-5509-468d-811d-f096776edb98",
"FieldId": "6dcf50fe-fa2b-4f7d-9043-df1e6ef46fa5",
"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": "7ffb153b-180e-4c2c-a558-1398685e9dbe",
"Section": {
"TaskTypeSectionId": "aebe058d-dd50-4d97-93c4-37854fe04457",
"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": "c3757a67-2784-428e-b434-aa850e774b82",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4f3e1e8b-9dd6-43c1-b574-e97aa43c0a72",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7ec1c55c-ec66-47a4-a7ba-4ff05f1ce5a1",
"CreateDate": "2026-07-22T04:20:09.4758139-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-22T04:20:09.4758139-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4df6115a-5509-468d-811d-f096776edb98",
"FieldId": "6dcf50fe-fa2b-4f7d-9043-df1e6ef46fa5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4df6115a-5509-468d-811d-f096776edb98",
"FieldId": "6dcf50fe-fa2b-4f7d-9043-df1e6ef46fa5",
"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": "c1685b4c-7201-467e-858b-b00a4ca1509d",
"CreateDate": "2026-07-22T04:20:09.4758139-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-22T04:20:09.4758139-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"
}