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": "63f92742-1c56-4794-a58e-76a4169b6f38",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7add9ccd-8a84-4439-b9f8-38775a86f923",
"Section": {
"TaskTypeSectionId": "4811bb74-41c7-476c-8ad5-b041ec9a6597",
"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": "50b57b46-6cde-4ba1-9faa-928ba3c56e5d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8b1a7c01-961f-4b73-a93d-a7006c6dc351",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1eb25d03-b03a-4b27-9ed0-bbe3c33e0d39",
"CreateDate": "2026-09-02T23:00:49.1173229-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T23:00:49.1173229-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1d873706-7d9b-463b-88c7-a76855746884",
"FieldId": "15988578-ca0c-41cd-86fb-26d46f23c598",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1d873706-7d9b-463b-88c7-a76855746884",
"FieldId": "15988578-ca0c-41cd-86fb-26d46f23c598",
"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": "7add9ccd-8a84-4439-b9f8-38775a86f923",
"Section": {
"TaskTypeSectionId": "4811bb74-41c7-476c-8ad5-b041ec9a6597",
"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": "50b57b46-6cde-4ba1-9faa-928ba3c56e5d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8b1a7c01-961f-4b73-a93d-a7006c6dc351",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1eb25d03-b03a-4b27-9ed0-bbe3c33e0d39",
"CreateDate": "2026-09-02T23:00:49.1173229-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T23:00:49.1173229-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1d873706-7d9b-463b-88c7-a76855746884",
"FieldId": "15988578-ca0c-41cd-86fb-26d46f23c598",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1d873706-7d9b-463b-88c7-a76855746884",
"FieldId": "15988578-ca0c-41cd-86fb-26d46f23c598",
"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": "26e8b3a4-7a7e-419e-98bd-5889ea0af830",
"CreateDate": "2026-09-02T23:00:49.1173229-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T23:00:49.1173229-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"
}