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": "9ac4c2eb-8f80-4ab0-889f-34f3ca6155a1",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ac46daf1-6801-4e90-8610-772f99f6f54a",
"Section": {
"TaskTypeSectionId": "3f370f03-3f5c-4bc0-aae8-968fbfebbb00",
"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": "d89fa24b-b343-464b-80d4-f6a1d03aca60",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f3f875e7-7ceb-475a-9da4-95921d531c99",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3206fb4e-bb31-42a1-ad57-c6a2df9c4db3",
"CreateDate": "2026-03-19T17:54:35.0439378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-19T17:54:35.0439378-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "347ec812-279f-4c31-b0a8-967d586d25c8",
"FieldId": "1568c874-1582-4e28-936a-9e6583c3ef35",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "347ec812-279f-4c31-b0a8-967d586d25c8",
"FieldId": "1568c874-1582-4e28-936a-9e6583c3ef35",
"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": "ac46daf1-6801-4e90-8610-772f99f6f54a",
"Section": {
"TaskTypeSectionId": "3f370f03-3f5c-4bc0-aae8-968fbfebbb00",
"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": "d89fa24b-b343-464b-80d4-f6a1d03aca60",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f3f875e7-7ceb-475a-9da4-95921d531c99",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3206fb4e-bb31-42a1-ad57-c6a2df9c4db3",
"CreateDate": "2026-03-19T17:54:35.0439378-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-19T17:54:35.0439378-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "347ec812-279f-4c31-b0a8-967d586d25c8",
"FieldId": "1568c874-1582-4e28-936a-9e6583c3ef35",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "347ec812-279f-4c31-b0a8-967d586d25c8",
"FieldId": "1568c874-1582-4e28-936a-9e6583c3ef35",
"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": "ea922c41-f0af-4cbe-b462-b416ac747fa2",
"CreateDate": "2026-03-19T17:54:35.0439378-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-19T17:54:35.0439378-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"
}