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": "b8a819eb-901f-4da4-b0c5-32ee36540dcd", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "01ea7455-62c4-4f49-b2ce-03b5b9c9601e", "Section": { "TaskTypeSectionId": "3359f31a-cd36-4a28-befa-c8baaf2d11bc", "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": "5c90df29-3539-4fc2-b56d-3ac9632b2709", "Name": "sample string 1" }, "Unit": { "UnitId": "691c050a-531a-4841-92e6-44d80aed5c2c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "39aa5b18-0fa0-47bf-b4a5-17c3861cbf43", "CreateDate": "2025-05-08T23:31:11.5356561-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T23:31:11.5356561-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "aa90c488-ce4c-427a-a1a3-c4acf4c87153", "FieldId": "b4c38f88-71c1-4331-baf3-ef65738fcacc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "aa90c488-ce4c-427a-a1a3-c4acf4c87153", "FieldId": "b4c38f88-71c1-4331-baf3-ef65738fcacc", "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": "01ea7455-62c4-4f49-b2ce-03b5b9c9601e", "Section": { "TaskTypeSectionId": "3359f31a-cd36-4a28-befa-c8baaf2d11bc", "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": "5c90df29-3539-4fc2-b56d-3ac9632b2709", "Name": "sample string 1" }, "Unit": { "UnitId": "691c050a-531a-4841-92e6-44d80aed5c2c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "39aa5b18-0fa0-47bf-b4a5-17c3861cbf43", "CreateDate": "2025-05-08T23:31:11.5356561-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T23:31:11.5356561-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "aa90c488-ce4c-427a-a1a3-c4acf4c87153", "FieldId": "b4c38f88-71c1-4331-baf3-ef65738fcacc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "aa90c488-ce4c-427a-a1a3-c4acf4c87153", "FieldId": "b4c38f88-71c1-4331-baf3-ef65738fcacc", "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": "9dba8b2e-697d-49b9-b2f8-5c66c1b32576", "CreateDate": "2025-05-08T23:31:11.5356561-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T23:31:11.5356561-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" }