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": "b2adc50b-8bd6-4f41-b302-61f701364ba5",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "149eef6f-758d-4733-b94e-c2b3f258c2b6",
"Section": {
"TaskTypeSectionId": "1bc8bbb9-5630-40dd-a308-f33314b6c2b1",
"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": "60434d4d-dae9-4a15-8b7a-ed09813db61f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a655889e-03ee-4c56-9efc-f8e153e39dcc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "16d4ccdb-0423-4126-9ed3-9621a75d0a2f",
"CreateDate": "2026-10-30T23:07:41.1157326-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-30T23:07:41.1157326-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e22addee-c4a6-44d9-b264-54e4381a15df",
"FieldId": "8c33fd01-71f7-4e40-ae2f-693ad60d1d49",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e22addee-c4a6-44d9-b264-54e4381a15df",
"FieldId": "8c33fd01-71f7-4e40-ae2f-693ad60d1d49",
"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": "149eef6f-758d-4733-b94e-c2b3f258c2b6",
"Section": {
"TaskTypeSectionId": "1bc8bbb9-5630-40dd-a308-f33314b6c2b1",
"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": "60434d4d-dae9-4a15-8b7a-ed09813db61f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a655889e-03ee-4c56-9efc-f8e153e39dcc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "16d4ccdb-0423-4126-9ed3-9621a75d0a2f",
"CreateDate": "2026-10-30T23:07:41.1157326-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-30T23:07:41.1157326-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e22addee-c4a6-44d9-b264-54e4381a15df",
"FieldId": "8c33fd01-71f7-4e40-ae2f-693ad60d1d49",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e22addee-c4a6-44d9-b264-54e4381a15df",
"FieldId": "8c33fd01-71f7-4e40-ae2f-693ad60d1d49",
"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": "a62345e2-d318-4548-b812-d5bc4660657d",
"CreateDate": "2026-10-30T23:07:41.1157326-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-30T23:07:41.1157326-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"
}