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": "7a42ca25-5f25-442d-8be7-7b507595bb48",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "53d1544c-b1ef-440e-b0c3-697f6573999f",
"Section": {
"TaskTypeSectionId": "3864c0a7-4a4f-4966-93ea-2bf9473a970e",
"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": "fe1b2e10-8993-440e-8d4e-10fb13278dc7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fee62a58-3e52-41f5-9a48-6961fb5e3d7f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e06722f-ffb2-433c-aa7c-f24d7e258b41",
"CreateDate": "2026-11-02T22:57:31.2906941-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T22:57:31.2906941-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bbc5da11-b441-46f9-987c-47629ea7b10d",
"FieldId": "5b594a84-c51b-4c97-92ef-097d7c09834c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bbc5da11-b441-46f9-987c-47629ea7b10d",
"FieldId": "5b594a84-c51b-4c97-92ef-097d7c09834c",
"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": "53d1544c-b1ef-440e-b0c3-697f6573999f",
"Section": {
"TaskTypeSectionId": "3864c0a7-4a4f-4966-93ea-2bf9473a970e",
"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": "fe1b2e10-8993-440e-8d4e-10fb13278dc7",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fee62a58-3e52-41f5-9a48-6961fb5e3d7f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e06722f-ffb2-433c-aa7c-f24d7e258b41",
"CreateDate": "2026-11-02T22:57:31.2906941-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T22:57:31.2906941-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bbc5da11-b441-46f9-987c-47629ea7b10d",
"FieldId": "5b594a84-c51b-4c97-92ef-097d7c09834c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bbc5da11-b441-46f9-987c-47629ea7b10d",
"FieldId": "5b594a84-c51b-4c97-92ef-097d7c09834c",
"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": "2ec5bde4-1910-4023-8664-73c76a006819",
"CreateDate": "2026-11-02T22:57:31.2906941-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T22:57:31.2906941-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"
}