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": "9134e3f5-c8e8-49f6-9c77-59c31f3d89ed", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "fcef8560-ff3d-4c8c-bdf4-23b363f740f0", "Section": { "TaskTypeSectionId": "dcfc10e0-e711-4918-9659-50f55198482d", "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": "3ec94af0-27aa-4992-b0cb-47ce7cbbac6b", "Name": "sample string 1" }, "Unit": { "UnitId": "ffd35e90-e3bf-486c-8829-24bd6361256b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "432f806e-7b9f-4fe0-b6ba-8afcc30e4d16", "CreateDate": "2025-03-09T03:27:33.5428997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:27:33.5428997-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b9e3f0a4-ce98-4b95-8193-6c062834c2ee", "FieldId": "a0f85971-2809-4cc0-ae4d-a23a569e2b46", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b9e3f0a4-ce98-4b95-8193-6c062834c2ee", "FieldId": "a0f85971-2809-4cc0-ae4d-a23a569e2b46", "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": "fcef8560-ff3d-4c8c-bdf4-23b363f740f0", "Section": { "TaskTypeSectionId": "dcfc10e0-e711-4918-9659-50f55198482d", "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": "3ec94af0-27aa-4992-b0cb-47ce7cbbac6b", "Name": "sample string 1" }, "Unit": { "UnitId": "ffd35e90-e3bf-486c-8829-24bd6361256b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "432f806e-7b9f-4fe0-b6ba-8afcc30e4d16", "CreateDate": "2025-03-09T03:27:33.5428997-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:27:33.5428997-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b9e3f0a4-ce98-4b95-8193-6c062834c2ee", "FieldId": "a0f85971-2809-4cc0-ae4d-a23a569e2b46", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b9e3f0a4-ce98-4b95-8193-6c062834c2ee", "FieldId": "a0f85971-2809-4cc0-ae4d-a23a569e2b46", "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": "d311bb92-04dd-4ded-9e10-40738b6fc97f", "CreateDate": "2025-03-09T03:27:33.5428997-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T03:27:33.5428997-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" }