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": "f06fedb5-09da-43a9-b751-69ff8c0b9d74", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "10748962-c862-47dd-ba52-f566a228d92f", "Section": { "TaskTypeSectionId": "78bf7f89-3dc7-4958-8774-671ef85e4a72", "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": "3059affe-5300-436b-9242-22c49d7d4e99", "Name": "sample string 1" }, "Unit": { "UnitId": "c0097c41-6b69-411f-97c0-264191ba0491", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9eae3c4a-7cb6-4d6d-b6dd-495ae994760d", "CreateDate": "2024-10-10T03:13:24.8648011-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:13:24.8648011-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "10748962-c862-47dd-ba52-f566a228d92f", "Section": { "TaskTypeSectionId": "78bf7f89-3dc7-4958-8774-671ef85e4a72", "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": "3059affe-5300-436b-9242-22c49d7d4e99", "Name": "sample string 1" }, "Unit": { "UnitId": "c0097c41-6b69-411f-97c0-264191ba0491", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9eae3c4a-7cb6-4d6d-b6dd-495ae994760d", "CreateDate": "2024-10-10T03:13:24.8648011-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T03:13:24.8648011-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "15c3f682-4a3d-4482-8a35-0f621c102e4a", "CreateDate": "2024-10-10T03:13:24.8648011-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T03:13:24.8648011-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" }