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": "ebdf2e9c-a2c2-4c91-9ec7-1c6c9b886f35", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "56554eec-cb88-4f4b-8037-d03db1377053", "Section": { "TaskTypeSectionId": "9dbb6eff-05ee-4110-9387-69896918b7f7", "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": "223a4fcd-ab22-4b03-b1d0-b8d131fc38d7", "Name": "sample string 1" }, "Unit": { "UnitId": "80149be4-c897-4645-9f1f-2aaa23fe66ff", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "80a70f12-cf8d-42d6-8448-8f9390209083", "CreateDate": "2025-02-05T06:02:48.7554229-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:02:48.7554229-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8da2919f-1d19-48de-ade4-19c618b1d387", "FieldId": "811a4044-6e1e-421a-9d41-b697a9866cd3", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8da2919f-1d19-48de-ade4-19c618b1d387", "FieldId": "811a4044-6e1e-421a-9d41-b697a9866cd3", "FieldName": "sample string 1", "FieldLabel": "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": "56554eec-cb88-4f4b-8037-d03db1377053", "Section": { "TaskTypeSectionId": "9dbb6eff-05ee-4110-9387-69896918b7f7", "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": "223a4fcd-ab22-4b03-b1d0-b8d131fc38d7", "Name": "sample string 1" }, "Unit": { "UnitId": "80149be4-c897-4645-9f1f-2aaa23fe66ff", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "80a70f12-cf8d-42d6-8448-8f9390209083", "CreateDate": "2025-02-05T06:02:48.7554229-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:02:48.7554229-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8da2919f-1d19-48de-ade4-19c618b1d387", "FieldId": "811a4044-6e1e-421a-9d41-b697a9866cd3", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8da2919f-1d19-48de-ade4-19c618b1d387", "FieldId": "811a4044-6e1e-421a-9d41-b697a9866cd3", "FieldName": "sample string 1", "FieldLabel": "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": "b1099693-80ad-465f-9bbc-3b4e862fe9f1", "CreateDate": "2025-02-05T06:02:48.7554229-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:02:48.7554229-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" }