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": "a47905ba-4cc0-4101-abb7-083f786597a5",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "de180042-8698-4cdb-af7a-e069e4d9bb8e",
"Section": {
"TaskTypeSectionId": "61eb25b9-2f2d-422c-8f1b-74a22ac26b0a",
"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": "c4680ae1-a83f-4256-94eb-41fed5214367",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "88632abc-2afc-4149-ade6-66572c61150c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0e49a7e0-366b-42df-bc75-af2fc0e3fabd",
"CreateDate": "2025-11-30T23:15:05.9044796-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-30T23:15:05.9044796-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80f61ec0-7ea7-457b-afb2-c1e30216dc98",
"FieldId": "6676746b-3655-4c7c-852e-5670ff7b0e13",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80f61ec0-7ea7-457b-afb2-c1e30216dc98",
"FieldId": "6676746b-3655-4c7c-852e-5670ff7b0e13",
"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": "de180042-8698-4cdb-af7a-e069e4d9bb8e",
"Section": {
"TaskTypeSectionId": "61eb25b9-2f2d-422c-8f1b-74a22ac26b0a",
"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": "c4680ae1-a83f-4256-94eb-41fed5214367",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "88632abc-2afc-4149-ade6-66572c61150c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0e49a7e0-366b-42df-bc75-af2fc0e3fabd",
"CreateDate": "2025-11-30T23:15:05.9044796-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-30T23:15:05.9044796-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "80f61ec0-7ea7-457b-afb2-c1e30216dc98",
"FieldId": "6676746b-3655-4c7c-852e-5670ff7b0e13",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "80f61ec0-7ea7-457b-afb2-c1e30216dc98",
"FieldId": "6676746b-3655-4c7c-852e-5670ff7b0e13",
"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": "5e275d6b-2251-4725-959b-d5b4980614bf",
"CreateDate": "2025-11-30T23:15:05.9044796-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-30T23:15:05.9044796-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"
}