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": "7870cffe-5272-417e-ba78-c6d1ee058e0c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "45f1fa63-b95e-4ede-8d49-a6f7127c7167",
"Section": {
"TaskTypeSectionId": "7b09af37-2567-4b9d-a72b-54ba5776c175",
"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": "97a96b28-fa91-4db9-ac03-0a0c9bfa92cd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "97bc1bae-45b0-483e-824d-b3f4078593b3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6e3ff138-9c99-4f15-935e-304ffaa036d6",
"CreateDate": "2026-07-31T21:05:58.3154336-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-31T21:05:58.3154336-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e6411850-b3fe-490b-aa7d-b231bb9b8b95",
"FieldId": "e6ee4744-6345-4e40-8d28-84ef353b84b4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e6411850-b3fe-490b-aa7d-b231bb9b8b95",
"FieldId": "e6ee4744-6345-4e40-8d28-84ef353b84b4",
"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": "45f1fa63-b95e-4ede-8d49-a6f7127c7167",
"Section": {
"TaskTypeSectionId": "7b09af37-2567-4b9d-a72b-54ba5776c175",
"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": "97a96b28-fa91-4db9-ac03-0a0c9bfa92cd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "97bc1bae-45b0-483e-824d-b3f4078593b3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6e3ff138-9c99-4f15-935e-304ffaa036d6",
"CreateDate": "2026-07-31T21:05:58.3154336-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-31T21:05:58.3154336-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e6411850-b3fe-490b-aa7d-b231bb9b8b95",
"FieldId": "e6ee4744-6345-4e40-8d28-84ef353b84b4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e6411850-b3fe-490b-aa7d-b231bb9b8b95",
"FieldId": "e6ee4744-6345-4e40-8d28-84ef353b84b4",
"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": "abc25e72-06c5-4e5a-b01a-36e49c3cd838",
"CreateDate": "2026-07-31T21:05:58.3154336-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-31T21:05:58.3154336-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"
}