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": "83f8f6aa-a935-4f9e-860e-cdb3a6018f9d", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "31a761d9-3b99-497a-94b7-80b41e100276", "Section": { "TaskTypeSectionId": "e87d9f8a-d970-4e09-95c8-4a44d479836c", "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": "87bba334-81a9-4cd0-bae1-35b053dd5ffb", "Name": "sample string 1" }, "Unit": { "UnitId": "084649e9-85ae-4c8a-ab3a-0ee36a6fdb12", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "36ccd392-3c98-4ba8-b329-e4983f9d370d", "CreateDate": "2024-12-09T02:39:14.6834626-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:39:14.6834626-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "106ab703-5967-4507-9dc9-4995a007455d", "FieldId": "b421395b-386c-480c-8793-ab7307980abe", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "106ab703-5967-4507-9dc9-4995a007455d", "FieldId": "b421395b-386c-480c-8793-ab7307980abe", "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": "31a761d9-3b99-497a-94b7-80b41e100276", "Section": { "TaskTypeSectionId": "e87d9f8a-d970-4e09-95c8-4a44d479836c", "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": "87bba334-81a9-4cd0-bae1-35b053dd5ffb", "Name": "sample string 1" }, "Unit": { "UnitId": "084649e9-85ae-4c8a-ab3a-0ee36a6fdb12", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "36ccd392-3c98-4ba8-b329-e4983f9d370d", "CreateDate": "2024-12-09T02:39:14.6834626-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T02:39:14.6834626-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "106ab703-5967-4507-9dc9-4995a007455d", "FieldId": "b421395b-386c-480c-8793-ab7307980abe", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "106ab703-5967-4507-9dc9-4995a007455d", "FieldId": "b421395b-386c-480c-8793-ab7307980abe", "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": "edd5848c-b7f4-48dd-be3d-79df183be7f3", "CreateDate": "2024-12-09T02:39:14.6834626-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T02:39:14.6834626-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" }