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": "f89ab2da-8492-47c3-82bb-0c03a2b94570",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5fed3207-b6a8-4860-8f36-b208f3ee0818",
"Section": {
"TaskTypeSectionId": "b9d92d8b-281b-48cf-86e9-0bde93e1937d",
"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": "a095c2d5-f6f6-45b8-b8fd-4c6867073a58",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4af0ce8f-24e4-4111-879a-29361c0ee810",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d733d9a5-7d0d-4782-90fd-596cab11d69e",
"CreateDate": "2026-09-10T03:13:27.7832322-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-10T03:13:27.7832322-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5fcc847b-4d13-4523-83b6-61a5a8d60401",
"FieldId": "471a4bd6-e905-4b9e-92be-3d1f481c74ec",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5fcc847b-4d13-4523-83b6-61a5a8d60401",
"FieldId": "471a4bd6-e905-4b9e-92be-3d1f481c74ec",
"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": "5fed3207-b6a8-4860-8f36-b208f3ee0818",
"Section": {
"TaskTypeSectionId": "b9d92d8b-281b-48cf-86e9-0bde93e1937d",
"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": "a095c2d5-f6f6-45b8-b8fd-4c6867073a58",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4af0ce8f-24e4-4111-879a-29361c0ee810",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d733d9a5-7d0d-4782-90fd-596cab11d69e",
"CreateDate": "2026-09-10T03:13:27.7832322-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-10T03:13:27.7832322-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5fcc847b-4d13-4523-83b6-61a5a8d60401",
"FieldId": "471a4bd6-e905-4b9e-92be-3d1f481c74ec",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5fcc847b-4d13-4523-83b6-61a5a8d60401",
"FieldId": "471a4bd6-e905-4b9e-92be-3d1f481c74ec",
"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": "ff46b630-d3a1-4d54-ab5d-457925f1c8d8",
"CreateDate": "2026-09-10T03:13:27.7832322-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-10T03:13:27.7832322-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"
}