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": "0579780a-60ec-4994-af07-da8e81e896e7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "64a4b612-8c7f-4529-8c4b-90a50d10c19f",
"Section": {
"TaskTypeSectionId": "b90f5a2f-783d-4762-81b0-cedffe4ff498",
"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": "e460bd2d-0924-4126-9b43-f95adf48553a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "61f11834-9ac0-401b-8a5e-2512190dd201",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0ffa91f2-a894-4205-9293-d863ba8518a3",
"CreateDate": "2026-01-18T17:02:32.8054248-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-18T17:02:32.8054248-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aefb99b6-111e-4af1-8131-1e8a07222f37",
"FieldId": "846a983b-296e-490e-8eaf-bb8d80bab7e5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aefb99b6-111e-4af1-8131-1e8a07222f37",
"FieldId": "846a983b-296e-490e-8eaf-bb8d80bab7e5",
"FieldName": "sample string 1",
"FieldLabel": "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": "64a4b612-8c7f-4529-8c4b-90a50d10c19f",
"Section": {
"TaskTypeSectionId": "b90f5a2f-783d-4762-81b0-cedffe4ff498",
"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": "e460bd2d-0924-4126-9b43-f95adf48553a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "61f11834-9ac0-401b-8a5e-2512190dd201",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0ffa91f2-a894-4205-9293-d863ba8518a3",
"CreateDate": "2026-01-18T17:02:32.8054248-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-18T17:02:32.8054248-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aefb99b6-111e-4af1-8131-1e8a07222f37",
"FieldId": "846a983b-296e-490e-8eaf-bb8d80bab7e5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aefb99b6-111e-4af1-8131-1e8a07222f37",
"FieldId": "846a983b-296e-490e-8eaf-bb8d80bab7e5",
"FieldName": "sample string 1",
"FieldLabel": "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": "0af04097-2569-4594-808f-f9c540fe54e5",
"CreateDate": "2026-01-18T17:02:32.8054248-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-18T17:02:32.8054248-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"
}