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": "6b3f1b38-8041-4035-b3aa-12bd9a9ea4ac",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "299af4cf-925a-43fd-9051-7ef773f9838c",
"Section": {
"TaskTypeSectionId": "ed693e90-51a6-47f6-924a-ef41e6c6cd1c",
"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": "9700ee22-37b7-47ae-865f-1dd1c6947b3f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3915eeb9-4127-4bf3-94fe-f1d9e137f43b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0d27d3c9-a8c6-4905-830c-50affe147513",
"CreateDate": "2025-12-09T12:15:14.2376224-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-09T12:15:14.2376224-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "549aef11-34a2-469e-8aaf-582e43288253",
"FieldId": "5b46254d-7a7c-4af0-976d-d6fa5b7cb38a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "549aef11-34a2-469e-8aaf-582e43288253",
"FieldId": "5b46254d-7a7c-4af0-976d-d6fa5b7cb38a",
"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": "299af4cf-925a-43fd-9051-7ef773f9838c",
"Section": {
"TaskTypeSectionId": "ed693e90-51a6-47f6-924a-ef41e6c6cd1c",
"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": "9700ee22-37b7-47ae-865f-1dd1c6947b3f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3915eeb9-4127-4bf3-94fe-f1d9e137f43b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0d27d3c9-a8c6-4905-830c-50affe147513",
"CreateDate": "2025-12-09T12:15:14.2376224-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-09T12:15:14.2376224-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "549aef11-34a2-469e-8aaf-582e43288253",
"FieldId": "5b46254d-7a7c-4af0-976d-d6fa5b7cb38a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "549aef11-34a2-469e-8aaf-582e43288253",
"FieldId": "5b46254d-7a7c-4af0-976d-d6fa5b7cb38a",
"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": "d39d1bc0-ee2c-45fe-ab78-4089577f65cb",
"CreateDate": "2025-12-09T12:15:14.2376224-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-09T12:15:14.2376224-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"
}