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": "a0db80f9-3e1f-4c43-a610-722caba23b31",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5637d5b1-4c92-40d3-b022-553f18c3066f",
"Section": {
"TaskTypeSectionId": "5660c46c-2e09-4511-82e2-59c463b504a7",
"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": "b20e6fd5-13bf-4a6f-b800-2e2da6689042",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c7da667-7fcd-4622-8eda-61abe941ac58",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6f62c45-1123-479b-9491-c84225a1a74a",
"CreateDate": "2026-12-06T06:28:38.2704073-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-06T06:28:38.2704073-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0b095529-d67b-44f8-9821-11d84929f293",
"FieldId": "6c222465-0124-4fd8-bf31-22b6904e6180",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0b095529-d67b-44f8-9821-11d84929f293",
"FieldId": "6c222465-0124-4fd8-bf31-22b6904e6180",
"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": "5637d5b1-4c92-40d3-b022-553f18c3066f",
"Section": {
"TaskTypeSectionId": "5660c46c-2e09-4511-82e2-59c463b504a7",
"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": "b20e6fd5-13bf-4a6f-b800-2e2da6689042",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c7da667-7fcd-4622-8eda-61abe941ac58",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e6f62c45-1123-479b-9491-c84225a1a74a",
"CreateDate": "2026-12-06T06:28:38.2704073-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-12-06T06:28:38.2704073-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0b095529-d67b-44f8-9821-11d84929f293",
"FieldId": "6c222465-0124-4fd8-bf31-22b6904e6180",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0b095529-d67b-44f8-9821-11d84929f293",
"FieldId": "6c222465-0124-4fd8-bf31-22b6904e6180",
"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": "37c2cfcc-e397-4ace-ba66-bf7c782dc227",
"CreateDate": "2026-12-06T06:28:38.2704073-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-12-06T06:28:38.2704073-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"
}