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": "c58e35cb-3dd9-4594-a574-6137f0436e7e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "30208a74-f629-4ae2-a867-bd204c8301fd",
"Section": {
"TaskTypeSectionId": "037bd4c0-c82b-491b-8599-59538e98b3ee",
"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": "79ff5a04-4f5c-4486-bb1c-97f5f37739d5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9016c5e4-2053-471f-b7f6-25f81a8c7417",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "20d302b4-7e12-43bc-8a4a-44b01f9ddba3",
"CreateDate": "2026-08-03T21:20:13.448178-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T21:20:13.448178-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7f180d98-6be9-4ad8-83da-5b0041243bc9",
"FieldId": "4097e64a-6fd0-4907-9cba-e6a98666078d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7f180d98-6be9-4ad8-83da-5b0041243bc9",
"FieldId": "4097e64a-6fd0-4907-9cba-e6a98666078d",
"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": "30208a74-f629-4ae2-a867-bd204c8301fd",
"Section": {
"TaskTypeSectionId": "037bd4c0-c82b-491b-8599-59538e98b3ee",
"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": "79ff5a04-4f5c-4486-bb1c-97f5f37739d5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9016c5e4-2053-471f-b7f6-25f81a8c7417",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "20d302b4-7e12-43bc-8a4a-44b01f9ddba3",
"CreateDate": "2026-08-03T21:20:13.448178-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T21:20:13.448178-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7f180d98-6be9-4ad8-83da-5b0041243bc9",
"FieldId": "4097e64a-6fd0-4907-9cba-e6a98666078d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7f180d98-6be9-4ad8-83da-5b0041243bc9",
"FieldId": "4097e64a-6fd0-4907-9cba-e6a98666078d",
"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": "5ef1fe40-bac7-4878-8404-b69b8c3301f2",
"CreateDate": "2026-08-03T21:20:13.448178-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T21:20:13.448178-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"
}