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": "d6270473-b6f1-4c38-9967-843769242fe8",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "4a3f5059-0715-4931-a2de-ef3c32eb1a5d",
"Section": {
"TaskTypeSectionId": "62ba899a-ad1d-4545-a2c3-1d46b7c89657",
"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": "a7bfb52d-14ab-4606-ae31-6ae52ee8226c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "617c0410-f36b-4fc9-a635-54701184637d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "68bb8bfc-ab5e-40d8-b341-415700889e05",
"CreateDate": "2026-01-16T16:18:52.6822807-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:18:52.6822807-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8753eb90-f584-434b-a26c-85116d30acc6",
"FieldId": "f523de9d-d851-434b-add9-a2406defb528",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8753eb90-f584-434b-a26c-85116d30acc6",
"FieldId": "f523de9d-d851-434b-add9-a2406defb528",
"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": "4a3f5059-0715-4931-a2de-ef3c32eb1a5d",
"Section": {
"TaskTypeSectionId": "62ba899a-ad1d-4545-a2c3-1d46b7c89657",
"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": "a7bfb52d-14ab-4606-ae31-6ae52ee8226c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "617c0410-f36b-4fc9-a635-54701184637d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "68bb8bfc-ab5e-40d8-b341-415700889e05",
"CreateDate": "2026-01-16T16:18:52.6822807-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:18:52.6822807-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8753eb90-f584-434b-a26c-85116d30acc6",
"FieldId": "f523de9d-d851-434b-add9-a2406defb528",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8753eb90-f584-434b-a26c-85116d30acc6",
"FieldId": "f523de9d-d851-434b-add9-a2406defb528",
"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": "fdafcc3e-9870-4f37-a0ad-bad25f77eae2",
"CreateDate": "2026-01-16T16:18:52.6822807-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:18:52.6822807-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"
}