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": "444cac61-ab1d-44f2-aea3-36161b197084",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7e973eb9-49b2-44e5-93a9-9266c17a34c4",
"Section": {
"TaskTypeSectionId": "5e51233e-d686-46d7-ab7b-0bb09d3026a8",
"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": "6b8b5865-adc6-4baf-85df-6790a7e039a8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2d4eef29-e841-4410-86e1-47cfc6e8bda0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2a26adb1-1035-47cc-a6c5-6cb6ac965bc0",
"CreateDate": "2025-12-15T21:34:32.1269354-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-15T21:34:32.1269354-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "07adade8-a76b-491d-ba3a-746b2e8594df",
"FieldId": "237393f3-40a9-45ce-a03c-73abae4a68c5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "07adade8-a76b-491d-ba3a-746b2e8594df",
"FieldId": "237393f3-40a9-45ce-a03c-73abae4a68c5",
"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": "7e973eb9-49b2-44e5-93a9-9266c17a34c4",
"Section": {
"TaskTypeSectionId": "5e51233e-d686-46d7-ab7b-0bb09d3026a8",
"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": "6b8b5865-adc6-4baf-85df-6790a7e039a8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2d4eef29-e841-4410-86e1-47cfc6e8bda0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2a26adb1-1035-47cc-a6c5-6cb6ac965bc0",
"CreateDate": "2025-12-15T21:34:32.1269354-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-15T21:34:32.1269354-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "07adade8-a76b-491d-ba3a-746b2e8594df",
"FieldId": "237393f3-40a9-45ce-a03c-73abae4a68c5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "07adade8-a76b-491d-ba3a-746b2e8594df",
"FieldId": "237393f3-40a9-45ce-a03c-73abae4a68c5",
"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": "473b8d55-0364-400b-9330-08d5710ac6ca",
"CreateDate": "2025-12-15T21:34:32.1269354-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-15T21:34:32.1269354-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"
}