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": "af3a6f79-30f7-43c5-8271-8677891dd523", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "7ff95822-be87-4196-8de8-d75f66fd06d6", "Section": { "TaskTypeSectionId": "6d9182a9-120e-4dc9-82a7-5349e42dc5a4", "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": "fa5c2ac1-c473-4ce0-9f2c-76d68e50fa1e", "Name": "sample string 1" }, "Unit": { "UnitId": "66ec654f-8d6b-4760-b832-dfbe4f4a0599", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8e0732da-d080-4c27-8dae-2d34e9ab807a", "CreateDate": "2024-11-23T00:12:39.2362308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-23T00:12:39.2362308-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "abc06e92-fe99-493d-891d-dd421539bb7f", "FieldId": "977df745-fb6d-45f7-abc4-f4e4e9a58fce", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "abc06e92-fe99-493d-891d-dd421539bb7f", "FieldId": "977df745-fb6d-45f7-abc4-f4e4e9a58fce", "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": "7ff95822-be87-4196-8de8-d75f66fd06d6", "Section": { "TaskTypeSectionId": "6d9182a9-120e-4dc9-82a7-5349e42dc5a4", "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": "fa5c2ac1-c473-4ce0-9f2c-76d68e50fa1e", "Name": "sample string 1" }, "Unit": { "UnitId": "66ec654f-8d6b-4760-b832-dfbe4f4a0599", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8e0732da-d080-4c27-8dae-2d34e9ab807a", "CreateDate": "2024-11-23T00:12:39.2362308-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-23T00:12:39.2362308-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "abc06e92-fe99-493d-891d-dd421539bb7f", "FieldId": "977df745-fb6d-45f7-abc4-f4e4e9a58fce", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "abc06e92-fe99-493d-891d-dd421539bb7f", "FieldId": "977df745-fb6d-45f7-abc4-f4e4e9a58fce", "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": "bbbb874c-5a95-4d7e-b638-2ccec42a26f0", "CreateDate": "2024-11-23T00:12:39.2362308-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-23T00:12:39.2362308-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" }