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": "3482691c-3d08-4ab9-ac26-e8e9c1b71456", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "baf07e0f-7a51-41a5-b76b-b8ac5fe995ed", "Section": { "TaskTypeSectionId": "ab5ce81f-3f07-4612-a8dd-a812d9d96638", "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": "7cec57c7-11f3-4917-b5f4-fa396791e946", "Name": "sample string 1" }, "Unit": { "UnitId": "a5301792-f213-49b5-88b3-6f36aa58b709", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c51c8dc9-b9ee-4cc8-a8eb-2a3b04305135", "CreateDate": "2025-01-30T17:11:42.1132121-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:42.1132121-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "861caf94-d0a8-420f-9092-a75faaca08ae", "FieldId": "c63fb770-50f7-4652-bf03-682c1eb5a82c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "861caf94-d0a8-420f-9092-a75faaca08ae", "FieldId": "c63fb770-50f7-4652-bf03-682c1eb5a82c", "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": "baf07e0f-7a51-41a5-b76b-b8ac5fe995ed", "Section": { "TaskTypeSectionId": "ab5ce81f-3f07-4612-a8dd-a812d9d96638", "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": "7cec57c7-11f3-4917-b5f4-fa396791e946", "Name": "sample string 1" }, "Unit": { "UnitId": "a5301792-f213-49b5-88b3-6f36aa58b709", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c51c8dc9-b9ee-4cc8-a8eb-2a3b04305135", "CreateDate": "2025-01-30T17:11:42.1132121-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:42.1132121-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "861caf94-d0a8-420f-9092-a75faaca08ae", "FieldId": "c63fb770-50f7-4652-bf03-682c1eb5a82c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "861caf94-d0a8-420f-9092-a75faaca08ae", "FieldId": "c63fb770-50f7-4652-bf03-682c1eb5a82c", "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": "4d0ebca0-4127-4ea9-ab62-319b203c7e99", "CreateDate": "2025-01-30T17:11:42.1132121-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:11:42.1132121-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" }