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": "429bbf23-8a06-4682-8fe7-279e521b3049",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5383e84a-83ec-4347-86a9-3b882521bd68",
"Section": {
"TaskTypeSectionId": "902d636f-2ccf-4d80-9487-bd1844f8aef7",
"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": "8e7d2526-2775-4018-b209-410be47993d8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4c6b536-0a06-43dd-87b8-24836747cae3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4f752903-d53a-4517-bff5-b6d999ba4d6a",
"CreateDate": "2026-05-29T16:16:00.058589-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-29T16:16:00.058589-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f2e3af95-0d5c-43d3-8237-56443594ffdc",
"FieldId": "5f217c9b-c184-48e3-b3a6-bb42fab3beae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f2e3af95-0d5c-43d3-8237-56443594ffdc",
"FieldId": "5f217c9b-c184-48e3-b3a6-bb42fab3beae",
"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": "5383e84a-83ec-4347-86a9-3b882521bd68",
"Section": {
"TaskTypeSectionId": "902d636f-2ccf-4d80-9487-bd1844f8aef7",
"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": "8e7d2526-2775-4018-b209-410be47993d8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4c6b536-0a06-43dd-87b8-24836747cae3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4f752903-d53a-4517-bff5-b6d999ba4d6a",
"CreateDate": "2026-05-29T16:16:00.058589-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-29T16:16:00.058589-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f2e3af95-0d5c-43d3-8237-56443594ffdc",
"FieldId": "5f217c9b-c184-48e3-b3a6-bb42fab3beae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f2e3af95-0d5c-43d3-8237-56443594ffdc",
"FieldId": "5f217c9b-c184-48e3-b3a6-bb42fab3beae",
"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": "2489e73c-d8e2-4774-8e41-8cf9ef2918e0",
"CreateDate": "2026-05-29T16:16:00.058589-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-29T16:16:00.058589-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"
}