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": "892e99c1-9ebd-49b7-a601-58a3e977ad3b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "f7a4d76d-97a4-4e74-b456-cc8e6eb834f0",
"Section": {
"TaskTypeSectionId": "ffa3e2cd-2bd8-4ad8-802d-d724795f8027",
"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": "54416a9e-1b32-4e28-a966-510792b11bda",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c8f6e994-7676-430c-9e19-d1b0703bbd18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1efd8b06-602f-4ad2-8e24-a654a47a54af",
"CreateDate": "2026-10-06T17:43:54.2719074-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-06T17:43:54.2719074-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e09908aa-1cdc-4e31-8315-b8492c58a2ba",
"FieldId": "2b1f1225-5515-4abb-b14d-8ead69ee34f0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e09908aa-1cdc-4e31-8315-b8492c58a2ba",
"FieldId": "2b1f1225-5515-4abb-b14d-8ead69ee34f0",
"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": "f7a4d76d-97a4-4e74-b456-cc8e6eb834f0",
"Section": {
"TaskTypeSectionId": "ffa3e2cd-2bd8-4ad8-802d-d724795f8027",
"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": "54416a9e-1b32-4e28-a966-510792b11bda",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c8f6e994-7676-430c-9e19-d1b0703bbd18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1efd8b06-602f-4ad2-8e24-a654a47a54af",
"CreateDate": "2026-10-06T17:43:54.2719074-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-06T17:43:54.2719074-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e09908aa-1cdc-4e31-8315-b8492c58a2ba",
"FieldId": "2b1f1225-5515-4abb-b14d-8ead69ee34f0",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e09908aa-1cdc-4e31-8315-b8492c58a2ba",
"FieldId": "2b1f1225-5515-4abb-b14d-8ead69ee34f0",
"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": "f7e87078-df24-4d04-b4c5-a7f7ea2203b4",
"CreateDate": "2026-10-06T17:43:54.2719074-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-06T17:43:54.2719074-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"
}