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": "f33cdc65-d7b1-4db0-9018-cd49f6a4898c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c99eed1f-ad94-428d-ba0b-7c9a965af93c",
"Section": {
"TaskTypeSectionId": "bd6a84e7-ecb5-4229-871a-920a3fad7472",
"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": "b61c43e5-b363-43c5-8190-b4314f58b18e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "65a9f1f2-5bed-42d7-aa43-61a94180ca18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fac82832-6674-4aba-bde3-840f7404e6aa",
"CreateDate": "2025-12-17T06:14:13.4145362-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T06:14:13.4145362-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "75d3b00d-71e8-4382-8f36-d45219d09e59",
"FieldId": "aaf887db-cd73-4f4f-83bf-5d6571395ddb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "75d3b00d-71e8-4382-8f36-d45219d09e59",
"FieldId": "aaf887db-cd73-4f4f-83bf-5d6571395ddb",
"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": "c99eed1f-ad94-428d-ba0b-7c9a965af93c",
"Section": {
"TaskTypeSectionId": "bd6a84e7-ecb5-4229-871a-920a3fad7472",
"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": "b61c43e5-b363-43c5-8190-b4314f58b18e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "65a9f1f2-5bed-42d7-aa43-61a94180ca18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fac82832-6674-4aba-bde3-840f7404e6aa",
"CreateDate": "2025-12-17T06:14:13.4145362-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T06:14:13.4145362-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "75d3b00d-71e8-4382-8f36-d45219d09e59",
"FieldId": "aaf887db-cd73-4f4f-83bf-5d6571395ddb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "75d3b00d-71e8-4382-8f36-d45219d09e59",
"FieldId": "aaf887db-cd73-4f4f-83bf-5d6571395ddb",
"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": "38a8d078-cebd-4d3a-84f8-48346e2bc939",
"CreateDate": "2025-12-17T06:14:13.4145362-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T06:14:13.4145362-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"
}