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": "d5f406b4-3527-4f78-b4c0-c6b272bc1c5a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "85c1476a-7a3f-4126-9b40-d92177aceaad", "Section": { "TaskTypeSectionId": "e9a7f458-d9b7-4635-88d3-c3530497d2e6", "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": "8e4e7472-c0bd-4011-bd70-21ea36095869", "Name": "sample string 1" }, "Unit": { "UnitId": "d2e47ab4-039e-4546-ac67-d939e577423f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "013189cf-f695-4e6a-96b8-2ab7f21df245", "CreateDate": "2025-05-08T13:36:54.743334-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:36:54.743334-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9f1178fe-e672-4828-b251-21d75f708062", "FieldId": "71e0167e-3c33-4484-a36e-13f80cd69f20", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9f1178fe-e672-4828-b251-21d75f708062", "FieldId": "71e0167e-3c33-4484-a36e-13f80cd69f20", "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": "85c1476a-7a3f-4126-9b40-d92177aceaad", "Section": { "TaskTypeSectionId": "e9a7f458-d9b7-4635-88d3-c3530497d2e6", "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": "8e4e7472-c0bd-4011-bd70-21ea36095869", "Name": "sample string 1" }, "Unit": { "UnitId": "d2e47ab4-039e-4546-ac67-d939e577423f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "013189cf-f695-4e6a-96b8-2ab7f21df245", "CreateDate": "2025-05-08T13:36:54.743334-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:36:54.743334-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9f1178fe-e672-4828-b251-21d75f708062", "FieldId": "71e0167e-3c33-4484-a36e-13f80cd69f20", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9f1178fe-e672-4828-b251-21d75f708062", "FieldId": "71e0167e-3c33-4484-a36e-13f80cd69f20", "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": "a726a519-71bd-4bc8-a633-6eeb7abba56a", "CreateDate": "2025-05-08T13:36:54.743334-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:36:54.743334-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }