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": "1e81e80e-0160-4fc7-b5fb-1c17b16a6025",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "7528cd87-10b5-40df-856a-672af469d805",
"Section": {
"TaskTypeSectionId": "44d02e3d-a3e3-4e08-a3f5-112599c166a3",
"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": "cc6c4057-f08a-4413-8604-b858e187355f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b0af5d4a-e591-481c-a860-47e77bd35b3b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b52422e9-9788-41a7-96c3-93de43ffefc6",
"CreateDate": "2026-06-25T10:30:34.6260617-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T10:30:34.6260617-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c46357aa-a56a-4760-8e83-88ae91be9d48",
"FieldId": "8fc9d2c4-d021-496f-b80e-c31b5942246f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c46357aa-a56a-4760-8e83-88ae91be9d48",
"FieldId": "8fc9d2c4-d021-496f-b80e-c31b5942246f",
"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": "7528cd87-10b5-40df-856a-672af469d805",
"Section": {
"TaskTypeSectionId": "44d02e3d-a3e3-4e08-a3f5-112599c166a3",
"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": "cc6c4057-f08a-4413-8604-b858e187355f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b0af5d4a-e591-481c-a860-47e77bd35b3b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b52422e9-9788-41a7-96c3-93de43ffefc6",
"CreateDate": "2026-06-25T10:30:34.6260617-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T10:30:34.6260617-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c46357aa-a56a-4760-8e83-88ae91be9d48",
"FieldId": "8fc9d2c4-d021-496f-b80e-c31b5942246f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c46357aa-a56a-4760-8e83-88ae91be9d48",
"FieldId": "8fc9d2c4-d021-496f-b80e-c31b5942246f",
"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": "00be600c-d480-4df3-87dc-96ad7b919d34",
"CreateDate": "2026-06-25T10:30:34.6260617-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T10:30:34.6260617-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"
}