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": "b355304f-83eb-46d4-98ca-2ab620f0485c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "790d52cc-61fb-4332-8bb9-53341f96447d",
"Section": {
"TaskTypeSectionId": "cbb979ab-1afa-4a60-b0d1-f1237127d43a",
"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": "7985391a-bede-4e11-8ea7-8e07ea1bb283",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd31a06a-9ddc-44f3-903c-28a80b40707f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ba865b08-8e7b-4da7-9919-496daaec8ea0",
"CreateDate": "2026-10-09T03:37:48.5648138-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T03:37:48.5648138-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "23c7ade1-b622-424e-95e6-6a55f6059d33",
"FieldId": "baca63c9-f859-417d-ab93-52a68151918e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "23c7ade1-b622-424e-95e6-6a55f6059d33",
"FieldId": "baca63c9-f859-417d-ab93-52a68151918e",
"FieldName": "sample string 1",
"FieldLabel": "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": "790d52cc-61fb-4332-8bb9-53341f96447d",
"Section": {
"TaskTypeSectionId": "cbb979ab-1afa-4a60-b0d1-f1237127d43a",
"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": "7985391a-bede-4e11-8ea7-8e07ea1bb283",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd31a06a-9ddc-44f3-903c-28a80b40707f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ba865b08-8e7b-4da7-9919-496daaec8ea0",
"CreateDate": "2026-10-09T03:37:48.5648138-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-09T03:37:48.5648138-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "23c7ade1-b622-424e-95e6-6a55f6059d33",
"FieldId": "baca63c9-f859-417d-ab93-52a68151918e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "23c7ade1-b622-424e-95e6-6a55f6059d33",
"FieldId": "baca63c9-f859-417d-ab93-52a68151918e",
"FieldName": "sample string 1",
"FieldLabel": "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": "2dddbd25-763f-48dd-b319-1d4d388fe89c",
"CreateDate": "2026-10-09T03:37:48.5648138-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-09T03:37:48.5648138-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"
}