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": "9b3795b2-f6a4-4734-8b89-f4062de51728",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "8c58fe18-a279-469b-bab6-925d49fefe7c",
"Section": {
"TaskTypeSectionId": "2f48f43a-8e6a-45ab-b382-93d89a77e941",
"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": "032c56fe-aeea-46b0-a6bb-632c67fd6c43",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "39fa8394-4349-4c6b-b64b-7769e8586942",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c1fd453c-d56d-4f9b-89a7-3073fe813d7b",
"CreateDate": "2026-06-19T10:23:15.6213891-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-19T10:23:15.6213891-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ea534a77-3195-43f3-b7f9-a0e63917a637",
"FieldId": "f3bb1259-54fc-4433-8e39-2e87991765b2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ea534a77-3195-43f3-b7f9-a0e63917a637",
"FieldId": "f3bb1259-54fc-4433-8e39-2e87991765b2",
"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": "8c58fe18-a279-469b-bab6-925d49fefe7c",
"Section": {
"TaskTypeSectionId": "2f48f43a-8e6a-45ab-b382-93d89a77e941",
"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": "032c56fe-aeea-46b0-a6bb-632c67fd6c43",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "39fa8394-4349-4c6b-b64b-7769e8586942",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c1fd453c-d56d-4f9b-89a7-3073fe813d7b",
"CreateDate": "2026-06-19T10:23:15.6213891-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-19T10:23:15.6213891-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ea534a77-3195-43f3-b7f9-a0e63917a637",
"FieldId": "f3bb1259-54fc-4433-8e39-2e87991765b2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ea534a77-3195-43f3-b7f9-a0e63917a637",
"FieldId": "f3bb1259-54fc-4433-8e39-2e87991765b2",
"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": "70715dcd-0588-4627-9014-8c9a2af44bdd",
"CreateDate": "2026-06-19T10:23:15.6213891-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-19T10:23:15.6213891-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"
}