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": "37603032-98dd-4ac3-bb85-31355178edcc",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "6744ca9c-81dc-43bd-a457-592de1f286d7",
"Section": {
"TaskTypeSectionId": "d719a61e-4831-4bd2-9cd2-bb4b8b4f0844",
"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": "03069603-1a15-4777-b0bc-525fa3cc2690",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8f16486d-b3e4-483e-a046-1864483f9b83",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bed7eef0-9f10-467f-be9e-24b686e52153",
"CreateDate": "2026-11-04T11:51:29.0214583-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-04T11:51:29.0214583-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0552f5fa-a370-4216-b8e1-af2fad160bfd",
"FieldId": "e08f7625-5acc-4a2d-9397-705efd319452",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0552f5fa-a370-4216-b8e1-af2fad160bfd",
"FieldId": "e08f7625-5acc-4a2d-9397-705efd319452",
"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": "6744ca9c-81dc-43bd-a457-592de1f286d7",
"Section": {
"TaskTypeSectionId": "d719a61e-4831-4bd2-9cd2-bb4b8b4f0844",
"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": "03069603-1a15-4777-b0bc-525fa3cc2690",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8f16486d-b3e4-483e-a046-1864483f9b83",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bed7eef0-9f10-467f-be9e-24b686e52153",
"CreateDate": "2026-11-04T11:51:29.0214583-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-04T11:51:29.0214583-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0552f5fa-a370-4216-b8e1-af2fad160bfd",
"FieldId": "e08f7625-5acc-4a2d-9397-705efd319452",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0552f5fa-a370-4216-b8e1-af2fad160bfd",
"FieldId": "e08f7625-5acc-4a2d-9397-705efd319452",
"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": "200b0335-0f9c-4223-bcb2-85ca0a58b166",
"CreateDate": "2026-11-04T11:51:29.0214583-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-04T11:51:29.0214583-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"
}