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": "2bf5ec25-d3c3-421d-9695-18c4ba0b9a24",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "6e805499-83e0-4c77-b1da-b5a40015d112",
"Section": {
"TaskTypeSectionId": "2dbfd449-9455-44d4-ab1c-615d63491c0c",
"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": "c7163d42-8844-4d7c-80ab-3fb5957191ce",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1e5a234c-a7f1-4ea7-bae1-7c35d80917ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f8a6a774-1350-4164-bdb4-434a3c93b2bf",
"CreateDate": "2026-07-20T10:19:09.0092015-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T10:19:09.0092015-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "618227f4-3cb2-4f11-bd62-54008db7482e",
"FieldId": "c19f46ef-8019-4fee-8648-8491a06d540b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "618227f4-3cb2-4f11-bd62-54008db7482e",
"FieldId": "c19f46ef-8019-4fee-8648-8491a06d540b",
"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": "6e805499-83e0-4c77-b1da-b5a40015d112",
"Section": {
"TaskTypeSectionId": "2dbfd449-9455-44d4-ab1c-615d63491c0c",
"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": "c7163d42-8844-4d7c-80ab-3fb5957191ce",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1e5a234c-a7f1-4ea7-bae1-7c35d80917ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f8a6a774-1350-4164-bdb4-434a3c93b2bf",
"CreateDate": "2026-07-20T10:19:09.0092015-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T10:19:09.0092015-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "618227f4-3cb2-4f11-bd62-54008db7482e",
"FieldId": "c19f46ef-8019-4fee-8648-8491a06d540b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "618227f4-3cb2-4f11-bd62-54008db7482e",
"FieldId": "c19f46ef-8019-4fee-8648-8491a06d540b",
"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": "83b07446-5ff2-4791-a05f-401fe10b3e0e",
"CreateDate": "2026-07-20T10:19:09.0092015-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T10:19:09.0092015-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"
}