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": "c6395cfe-bbcf-4aaf-981a-d78947c546f0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a640f9e4-9111-4e48-b827-e478a580436e",
"Section": {
"TaskTypeSectionId": "56ee7aab-fb2c-40e2-b86b-b40bae602bb2",
"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": "43e55255-c906-459e-9f34-74573fad5980",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1acf5697-02c9-41c2-bbb2-cacd2ed28f76",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e950c33c-f694-4b05-b0c0-0ad8478c0c2d",
"CreateDate": "2026-04-27T20:30:19.151693-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:30:19.151693-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "94150c27-3359-4068-ae6a-de2719dd89d5",
"FieldId": "7f1e7332-2b03-4816-94e0-8668418d8995",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "94150c27-3359-4068-ae6a-de2719dd89d5",
"FieldId": "7f1e7332-2b03-4816-94e0-8668418d8995",
"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": "a640f9e4-9111-4e48-b827-e478a580436e",
"Section": {
"TaskTypeSectionId": "56ee7aab-fb2c-40e2-b86b-b40bae602bb2",
"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": "43e55255-c906-459e-9f34-74573fad5980",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1acf5697-02c9-41c2-bbb2-cacd2ed28f76",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e950c33c-f694-4b05-b0c0-0ad8478c0c2d",
"CreateDate": "2026-04-27T20:30:19.151693-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:30:19.151693-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "94150c27-3359-4068-ae6a-de2719dd89d5",
"FieldId": "7f1e7332-2b03-4816-94e0-8668418d8995",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "94150c27-3359-4068-ae6a-de2719dd89d5",
"FieldId": "7f1e7332-2b03-4816-94e0-8668418d8995",
"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": "b46714d0-c4e5-4df3-becc-cd288ea23c39",
"CreateDate": "2026-04-27T20:30:19.151693-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:30:19.151693-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"
}