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": "c2e1e3a6-4b01-49c9-8dd3-029be9cebe39",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "25edd606-2f1e-46fb-8631-7623e100b90a",
"Section": {
"TaskTypeSectionId": "334f37bb-ec16-4046-a3bc-c2dc54cc64ab",
"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": "304786d3-62dd-4f4f-85e1-70eefd230c69",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f55abc35-336d-4915-842c-126b22df56fe",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "da84bdca-8813-493a-87e3-faba1f13324d",
"CreateDate": "2026-06-16T03:59:15.5316861-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-16T03:59:15.5316861-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3b8c7585-0d0b-40d9-97e9-55111dbe82fa",
"FieldId": "95722317-fe82-41c7-9aad-03eba2179826",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3b8c7585-0d0b-40d9-97e9-55111dbe82fa",
"FieldId": "95722317-fe82-41c7-9aad-03eba2179826",
"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": "25edd606-2f1e-46fb-8631-7623e100b90a",
"Section": {
"TaskTypeSectionId": "334f37bb-ec16-4046-a3bc-c2dc54cc64ab",
"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": "304786d3-62dd-4f4f-85e1-70eefd230c69",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f55abc35-336d-4915-842c-126b22df56fe",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "da84bdca-8813-493a-87e3-faba1f13324d",
"CreateDate": "2026-06-16T03:59:15.5316861-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-16T03:59:15.5316861-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3b8c7585-0d0b-40d9-97e9-55111dbe82fa",
"FieldId": "95722317-fe82-41c7-9aad-03eba2179826",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3b8c7585-0d0b-40d9-97e9-55111dbe82fa",
"FieldId": "95722317-fe82-41c7-9aad-03eba2179826",
"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": "f82713aa-cc63-45e6-a0ba-e15e25888e78",
"CreateDate": "2026-06-16T03:59:15.5316861-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-16T03:59:15.5316861-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"
}