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": "b91ad8d6-ae03-4d73-ab94-cacea07ffc71",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "206e1563-87fa-4961-a00c-e849f83aabf6",
"Section": {
"TaskTypeSectionId": "dfa3ee7e-8bff-4212-af6f-b67bc05f0fef",
"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": "3ca80b34-2d44-48db-aabf-221ef58daf4e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d77841b2-b4ae-4e98-9c79-8333c525b672",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "436df398-cbd6-4e64-a67f-7f4d73fb08b9",
"CreateDate": "2026-06-10T08:24:09.1061568-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T08:24:09.1061568-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c7c63b82-b22a-474b-acf2-a1f90c2f51cc",
"FieldId": "b2142c08-dab6-4f4a-bb87-0b610ac017cd",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c7c63b82-b22a-474b-acf2-a1f90c2f51cc",
"FieldId": "b2142c08-dab6-4f4a-bb87-0b610ac017cd",
"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": "206e1563-87fa-4961-a00c-e849f83aabf6",
"Section": {
"TaskTypeSectionId": "dfa3ee7e-8bff-4212-af6f-b67bc05f0fef",
"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": "3ca80b34-2d44-48db-aabf-221ef58daf4e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d77841b2-b4ae-4e98-9c79-8333c525b672",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "436df398-cbd6-4e64-a67f-7f4d73fb08b9",
"CreateDate": "2026-06-10T08:24:09.1061568-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T08:24:09.1061568-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c7c63b82-b22a-474b-acf2-a1f90c2f51cc",
"FieldId": "b2142c08-dab6-4f4a-bb87-0b610ac017cd",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c7c63b82-b22a-474b-acf2-a1f90c2f51cc",
"FieldId": "b2142c08-dab6-4f4a-bb87-0b610ac017cd",
"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": "fe6bdb55-1340-4a42-9655-f964de33301e",
"CreateDate": "2026-06-10T08:24:09.1061568-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-10T08:24:09.1061568-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"
}