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": "08909890-af4b-465a-9ceb-13b992af3e3e", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c8e94c21-7932-4286-bb90-f7a0500c19a9", "Section": { "TaskTypeSectionId": "1045e4fc-4b58-49e0-9fcd-1d368c169dfb", "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": "5ac59cb7-12e6-4a76-8f66-7925369676ad", "Name": "sample string 1" }, "Unit": { "UnitId": "96c00e6f-d806-4c3e-90dc-fffe6e75032a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c0f430ed-2675-4911-8de9-2e15ff73e680", "CreateDate": "2024-12-21T19:31:39.5595286-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:31:39.5595286-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "c8e94c21-7932-4286-bb90-f7a0500c19a9", "Section": { "TaskTypeSectionId": "1045e4fc-4b58-49e0-9fcd-1d368c169dfb", "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": "5ac59cb7-12e6-4a76-8f66-7925369676ad", "Name": "sample string 1" }, "Unit": { "UnitId": "96c00e6f-d806-4c3e-90dc-fffe6e75032a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c0f430ed-2675-4911-8de9-2e15ff73e680", "CreateDate": "2024-12-21T19:31:39.5595286-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:31:39.5595286-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "c995dc13-9035-4552-9100-9dab17760a0c", "CreateDate": "2024-12-21T19:31:39.5595286-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:31:39.5595286-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" }