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": "76930e43-d4c8-4734-b67d-56f308c6e688",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c2c7b794-661c-4940-9c5d-d4136a57846c",
"Section": {
"TaskTypeSectionId": "9134b0a2-8bb3-46a1-b15e-af5656cb2db9",
"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": "3fdcd10a-be72-4abd-a7fc-ff87861d291e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "808898d5-1270-4e32-93d8-2e432f4a329d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "29c3b9e4-6758-44eb-870c-b3befec3a0db",
"CreateDate": "2026-07-21T00:22:03.0536953-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:22:03.0536953-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5e437e52-920a-42f1-a58f-863067c2f972",
"FieldId": "5221713b-bca0-42af-b17d-319a3586fc6a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5e437e52-920a-42f1-a58f-863067c2f972",
"FieldId": "5221713b-bca0-42af-b17d-319a3586fc6a",
"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": "c2c7b794-661c-4940-9c5d-d4136a57846c",
"Section": {
"TaskTypeSectionId": "9134b0a2-8bb3-46a1-b15e-af5656cb2db9",
"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": "3fdcd10a-be72-4abd-a7fc-ff87861d291e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "808898d5-1270-4e32-93d8-2e432f4a329d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "29c3b9e4-6758-44eb-870c-b3befec3a0db",
"CreateDate": "2026-07-21T00:22:03.0536953-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:22:03.0536953-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5e437e52-920a-42f1-a58f-863067c2f972",
"FieldId": "5221713b-bca0-42af-b17d-319a3586fc6a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5e437e52-920a-42f1-a58f-863067c2f972",
"FieldId": "5221713b-bca0-42af-b17d-319a3586fc6a",
"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": "59b238ae-9f77-4b89-9d5e-ecc4668e16b8",
"CreateDate": "2026-07-21T00:22:03.0536953-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:22:03.0536953-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"
}