GET TaskTypes?taskTypeId={taskTypeId}
Retrieves a task type by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
taskTypeId |
Id of the task type |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the task type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | TaskType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "TaskTypeId": "2aa3ea21-0ad4-4773-a394-301be13d1c7f", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "2dd4a969-3ee0-4f3e-be5c-c92fd672c0be", "Section": { "TaskTypeSectionId": "3d933a8e-eb4f-4b5f-b687-f0653440716d", "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": "e3d74986-9c7c-436a-a502-be6abac8aca4", "Name": "sample string 1" }, "Unit": { "UnitId": "b33b94c5-4b83-4aac-a71b-a9bdc9d3c2c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a6d39f3a-596c-4b31-ab67-279be1f87190", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1d99718f-661b-4d85-8b01-a37ba65b8030", "FieldId": "d6f5d307-aa73-4e35-8057-0f8c48674716", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1d99718f-661b-4d85-8b01-a37ba65b8030", "FieldId": "d6f5d307-aa73-4e35-8057-0f8c48674716", "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": "2dd4a969-3ee0-4f3e-be5c-c92fd672c0be", "Section": { "TaskTypeSectionId": "3d933a8e-eb4f-4b5f-b687-f0653440716d", "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": "e3d74986-9c7c-436a-a502-be6abac8aca4", "Name": "sample string 1" }, "Unit": { "UnitId": "b33b94c5-4b83-4aac-a71b-a9bdc9d3c2c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a6d39f3a-596c-4b31-ab67-279be1f87190", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1d99718f-661b-4d85-8b01-a37ba65b8030", "FieldId": "d6f5d307-aa73-4e35-8057-0f8c48674716", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1d99718f-661b-4d85-8b01-a37ba65b8030", "FieldId": "d6f5d307-aa73-4e35-8057-0f8c48674716", "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": "6f9b3909-c255-40c8-bb12-ca065280b9e8", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }