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": "44bfbf2b-a3d9-4b9e-ae9c-1215b410db79", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "b228e0d9-4903-4008-b839-405011271e88", "Section": { "TaskTypeSectionId": "2bb5d105-a7dd-47a0-98b6-32cca28db9d6", "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": "109fbc0b-c950-434c-a3eb-70f682916ee9", "Name": "sample string 1" }, "Unit": { "UnitId": "442bec7f-f5cc-49d1-9d7c-bc754494f903", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "30b152f5-d243-4713-a343-36d4037ee99c", "CreateDate": "2025-06-02T14:49:53.9016578-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:49:53.9016578-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2c81ef11-641d-4651-a641-c2a687359108", "FieldId": "8d2444ff-5c6b-49c7-b037-bfe403c4808e", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2c81ef11-641d-4651-a641-c2a687359108", "FieldId": "8d2444ff-5c6b-49c7-b037-bfe403c4808e", "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": "b228e0d9-4903-4008-b839-405011271e88", "Section": { "TaskTypeSectionId": "2bb5d105-a7dd-47a0-98b6-32cca28db9d6", "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": "109fbc0b-c950-434c-a3eb-70f682916ee9", "Name": "sample string 1" }, "Unit": { "UnitId": "442bec7f-f5cc-49d1-9d7c-bc754494f903", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "30b152f5-d243-4713-a343-36d4037ee99c", "CreateDate": "2025-06-02T14:49:53.9016578-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T14:49:53.9016578-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2c81ef11-641d-4651-a641-c2a687359108", "FieldId": "8d2444ff-5c6b-49c7-b037-bfe403c4808e", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2c81ef11-641d-4651-a641-c2a687359108", "FieldId": "8d2444ff-5c6b-49c7-b037-bfe403c4808e", "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": "fdaf85eb-3f56-4a9b-9622-971b05eb3fd2", "CreateDate": "2025-06-02T14:49:53.9016578-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T14:49:53.9016578-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" }