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": "9f8ea829-ab9f-477d-98bf-837c2fe1126f",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a1da9815-94c1-4321-9c36-b3833f8d4401",
"Section": {
"TaskTypeSectionId": "67a44860-c5f9-4c80-9f0b-6314b2470563",
"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": "71f5ce2d-812c-4837-a5be-b6d32cd7aca9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e04065d9-97fb-4983-9e2f-e33e8b22f906",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bbd00a30-c41e-43c4-87c8-ae60040d7119",
"CreateDate": "2025-11-29T22:50:41.1841373-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-29T22:50:41.1841373-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "81c98a2b-2fb3-48e8-865f-cfd991755a42",
"FieldId": "eafc111a-2c1c-432e-88c6-d5a1c6e73f4b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "81c98a2b-2fb3-48e8-865f-cfd991755a42",
"FieldId": "eafc111a-2c1c-432e-88c6-d5a1c6e73f4b",
"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": "a1da9815-94c1-4321-9c36-b3833f8d4401",
"Section": {
"TaskTypeSectionId": "67a44860-c5f9-4c80-9f0b-6314b2470563",
"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": "71f5ce2d-812c-4837-a5be-b6d32cd7aca9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e04065d9-97fb-4983-9e2f-e33e8b22f906",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bbd00a30-c41e-43c4-87c8-ae60040d7119",
"CreateDate": "2025-11-29T22:50:41.1841373-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-29T22:50:41.1841373-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "81c98a2b-2fb3-48e8-865f-cfd991755a42",
"FieldId": "eafc111a-2c1c-432e-88c6-d5a1c6e73f4b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "81c98a2b-2fb3-48e8-865f-cfd991755a42",
"FieldId": "eafc111a-2c1c-432e-88c6-d5a1c6e73f4b",
"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": "8f558828-7e8c-46da-955d-922d1ffec20a",
"CreateDate": "2025-11-29T22:50:41.1841373-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-29T22:50:41.1841373-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"
}