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": "4bdc424b-3185-4b20-b937-8f0d0d7a9199",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "9dc6838d-1cf9-44a0-9e27-a6a8efcc0936",
"Section": {
"TaskTypeSectionId": "d1c99216-3c38-4361-9fed-4ed1d292f120",
"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": "19fa7bf9-9c1a-4ced-8a2b-7d3126c8c474",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8b79e91b-f691-42da-ad0a-a76cfcaebd15",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ba376d30-9157-44b6-a630-85df0f107553",
"CreateDate": "2026-08-09T20:38:35.9389058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T20:38:35.9389058-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "01f55770-ce96-4306-ab9f-b4ab64f68b67",
"FieldId": "80f328da-ea70-46a1-a306-6c40efd4ea3b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "01f55770-ce96-4306-ab9f-b4ab64f68b67",
"FieldId": "80f328da-ea70-46a1-a306-6c40efd4ea3b",
"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": "9dc6838d-1cf9-44a0-9e27-a6a8efcc0936",
"Section": {
"TaskTypeSectionId": "d1c99216-3c38-4361-9fed-4ed1d292f120",
"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": "19fa7bf9-9c1a-4ced-8a2b-7d3126c8c474",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8b79e91b-f691-42da-ad0a-a76cfcaebd15",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ba376d30-9157-44b6-a630-85df0f107553",
"CreateDate": "2026-08-09T20:38:35.9389058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T20:38:35.9389058-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "01f55770-ce96-4306-ab9f-b4ab64f68b67",
"FieldId": "80f328da-ea70-46a1-a306-6c40efd4ea3b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "01f55770-ce96-4306-ab9f-b4ab64f68b67",
"FieldId": "80f328da-ea70-46a1-a306-6c40efd4ea3b",
"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": "ba8ad01b-f108-40c1-9aab-d6dbe8fac2c0",
"CreateDate": "2026-08-09T20:38:35.9389058-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T20:38:35.9389058-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"
}