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": "5a85eafa-fb05-4fb6-aa67-2aaf6b9df2b5",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "3e1ef3dc-2006-499b-9cfd-d358d5381fc2",
"Section": {
"TaskTypeSectionId": "7d58f75a-c46a-4ea4-9722-60b827101df5",
"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": "7b12d6ba-a257-4e9d-8532-156ed3b7deee",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b9f7d7b5-a991-4bfb-b959-203a1b1a77b7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "22e47096-6081-4a2a-9aa2-8164ad5a9c73",
"CreateDate": "2026-05-02T06:38:36.1527058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-02T06:38:36.1527058-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ae761060-f196-4103-ab5e-e454e5453abb",
"FieldId": "dbb5aed2-6668-4771-bcb2-ef9d0146dfbb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ae761060-f196-4103-ab5e-e454e5453abb",
"FieldId": "dbb5aed2-6668-4771-bcb2-ef9d0146dfbb",
"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": "3e1ef3dc-2006-499b-9cfd-d358d5381fc2",
"Section": {
"TaskTypeSectionId": "7d58f75a-c46a-4ea4-9722-60b827101df5",
"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": "7b12d6ba-a257-4e9d-8532-156ed3b7deee",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b9f7d7b5-a991-4bfb-b959-203a1b1a77b7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "22e47096-6081-4a2a-9aa2-8164ad5a9c73",
"CreateDate": "2026-05-02T06:38:36.1527058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-02T06:38:36.1527058-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ae761060-f196-4103-ab5e-e454e5453abb",
"FieldId": "dbb5aed2-6668-4771-bcb2-ef9d0146dfbb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ae761060-f196-4103-ab5e-e454e5453abb",
"FieldId": "dbb5aed2-6668-4771-bcb2-ef9d0146dfbb",
"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": "9c2f5ce9-ed16-4707-bcf7-1928cc394339",
"CreateDate": "2026-05-02T06:38:36.1527058-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-02T06:38:36.1527058-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"
}