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": "851ed336-79bc-4a15-99c2-667ec685da41", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "ac1732d1-685e-40f4-8ceb-3e48a1e3af63", "Section": { "TaskTypeSectionId": "c3670161-1015-4b04-a220-fe6e14e2ff7f", "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": "b3e8d1ac-26bb-4294-8896-0f9e88a6588f", "Name": "sample string 1" }, "Unit": { "UnitId": "596ea1d2-59c9-4e21-a9c3-5a3a6f89c11f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e6d75001-6c81-468b-ab70-8b865118aff8", "CreateDate": "2024-12-21T17:43:11.7833686-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T17:43:11.7833686-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2d20e18d-d851-41c3-b061-fc93a88aab45", "FieldId": "1c0399c3-46d9-4f70-a219-647406836b81", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2d20e18d-d851-41c3-b061-fc93a88aab45", "FieldId": "1c0399c3-46d9-4f70-a219-647406836b81", "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": "ac1732d1-685e-40f4-8ceb-3e48a1e3af63", "Section": { "TaskTypeSectionId": "c3670161-1015-4b04-a220-fe6e14e2ff7f", "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": "b3e8d1ac-26bb-4294-8896-0f9e88a6588f", "Name": "sample string 1" }, "Unit": { "UnitId": "596ea1d2-59c9-4e21-a9c3-5a3a6f89c11f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e6d75001-6c81-468b-ab70-8b865118aff8", "CreateDate": "2024-12-21T17:43:11.7833686-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T17:43:11.7833686-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2d20e18d-d851-41c3-b061-fc93a88aab45", "FieldId": "1c0399c3-46d9-4f70-a219-647406836b81", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2d20e18d-d851-41c3-b061-fc93a88aab45", "FieldId": "1c0399c3-46d9-4f70-a219-647406836b81", "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": "f6a65a69-be6f-4d73-97da-b60383b5d520", "CreateDate": "2024-12-21T17:43:11.7833686-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T17:43:11.7833686-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" }