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": "d3bc7617-b0f3-4b16-a1ab-08503ccc36c0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "adcf34d5-aaf4-43d3-82a8-d4a3001e374f",
"Section": {
"TaskTypeSectionId": "f2d33964-c2c9-4645-95a4-9cffb44f35f5",
"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": "ca1d05f6-8845-41a6-a0b0-9f0816f80105",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "34498937-d98b-438d-8868-b403ad2099d7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01792a6b-68e2-4118-bd2e-80e1e9970be1",
"CreateDate": "2026-06-06T08:02:43.7653957-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-06T08:02:43.7653957-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3fb2685f-41d6-47a3-beb7-91ad0d75495f",
"FieldId": "373ddf84-cf8e-4248-ad54-882dd0e454a3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3fb2685f-41d6-47a3-beb7-91ad0d75495f",
"FieldId": "373ddf84-cf8e-4248-ad54-882dd0e454a3",
"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": "adcf34d5-aaf4-43d3-82a8-d4a3001e374f",
"Section": {
"TaskTypeSectionId": "f2d33964-c2c9-4645-95a4-9cffb44f35f5",
"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": "ca1d05f6-8845-41a6-a0b0-9f0816f80105",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "34498937-d98b-438d-8868-b403ad2099d7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01792a6b-68e2-4118-bd2e-80e1e9970be1",
"CreateDate": "2026-06-06T08:02:43.7653957-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-06T08:02:43.7653957-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3fb2685f-41d6-47a3-beb7-91ad0d75495f",
"FieldId": "373ddf84-cf8e-4248-ad54-882dd0e454a3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3fb2685f-41d6-47a3-beb7-91ad0d75495f",
"FieldId": "373ddf84-cf8e-4248-ad54-882dd0e454a3",
"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": "6294a5dc-6d61-49b2-83c6-ae047ac4d8ab",
"CreateDate": "2026-06-06T08:02:43.7653957-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-06T08:02:43.7653957-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"
}