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": "1dd5c04d-d3a0-4119-a1fc-989bdb1038ed",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "413953f5-5319-4002-ae47-720aef3b3a7d",
"Section": {
"TaskTypeSectionId": "64ea3b0e-d6f2-404b-973f-af56fdd218aa",
"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": "cedf7202-1115-4415-bb0b-34f1d4fa1b4e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "254a743e-8c4c-44e6-8465-d97ef304a071",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "41b1e3d7-650c-4e77-87b3-09040044fa3e",
"CreateDate": "2026-11-27T04:25:18.2416764-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T04:25:18.2416764-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fcb038f1-fd62-4145-a5ca-5221afef7052",
"FieldId": "6af0e219-9107-4b34-9544-d9559603a12a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fcb038f1-fd62-4145-a5ca-5221afef7052",
"FieldId": "6af0e219-9107-4b34-9544-d9559603a12a",
"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": "413953f5-5319-4002-ae47-720aef3b3a7d",
"Section": {
"TaskTypeSectionId": "64ea3b0e-d6f2-404b-973f-af56fdd218aa",
"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": "cedf7202-1115-4415-bb0b-34f1d4fa1b4e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "254a743e-8c4c-44e6-8465-d97ef304a071",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "41b1e3d7-650c-4e77-87b3-09040044fa3e",
"CreateDate": "2026-11-27T04:25:18.2416764-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-27T04:25:18.2416764-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fcb038f1-fd62-4145-a5ca-5221afef7052",
"FieldId": "6af0e219-9107-4b34-9544-d9559603a12a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fcb038f1-fd62-4145-a5ca-5221afef7052",
"FieldId": "6af0e219-9107-4b34-9544-d9559603a12a",
"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": "dc0a43e0-f18e-4ddd-992b-baf0f114e81c",
"CreateDate": "2026-11-27T04:25:18.2416764-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-27T04:25:18.2416764-08: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"
}