DELETE TaskTypes
Deletes the given task type, including all tasks of that type.
Request Information
URI Parameters
None.
Body Parameters
Task type to delete
TaskTypeName | 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": "72b61975-f614-443b-b6de-077c7f91ae12", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "0620df2f-4859-4733-9afe-61e8c248c8ea", "Section": { "TaskTypeSectionId": "c0cb8d9d-30e9-4d4d-8e89-3677744f1320", "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": "f66d7ca9-fa15-452c-b5a5-15fdd6410ad6", "Name": "sample string 1" }, "Unit": { "UnitId": "a5e149f4-48bf-4330-9c20-13c24a2c9b6b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8b465d1f-c8a7-4786-896d-3cc9bb43755a", "CreateDate": "2025-04-17T04:07:08.688823-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:07:08.688823-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "79e7e7b6-edfb-40af-a733-a9f7e2fdb12c", "FieldId": "191ad94c-82db-4e65-9e91-6c443a9c0c48", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "79e7e7b6-edfb-40af-a733-a9f7e2fdb12c", "FieldId": "191ad94c-82db-4e65-9e91-6c443a9c0c48", "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": "0620df2f-4859-4733-9afe-61e8c248c8ea", "Section": { "TaskTypeSectionId": "c0cb8d9d-30e9-4d4d-8e89-3677744f1320", "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": "f66d7ca9-fa15-452c-b5a5-15fdd6410ad6", "Name": "sample string 1" }, "Unit": { "UnitId": "a5e149f4-48bf-4330-9c20-13c24a2c9b6b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8b465d1f-c8a7-4786-896d-3cc9bb43755a", "CreateDate": "2025-04-17T04:07:08.688823-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:07:08.688823-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "79e7e7b6-edfb-40af-a733-a9f7e2fdb12c", "FieldId": "191ad94c-82db-4e65-9e91-6c443a9c0c48", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "79e7e7b6-edfb-40af-a733-a9f7e2fdb12c", "FieldId": "191ad94c-82db-4e65-9e91-6c443a9c0c48", "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": "98c065e3-769a-43a1-90fd-622f109692fa", "CreateDate": "2025-04-17T04:07:08.688823-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:07:08.688823-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" }