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": "9615aff6-696e-473e-b50e-a339cd7a7e51", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "1afd96b5-20fb-445a-8b90-b415159b936a", "Section": { "TaskTypeSectionId": "b4320021-c09a-401d-bcf8-7bab14ea3160", "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": "3b9fa0a4-556e-4e40-a014-426acb380126", "Name": "sample string 1" }, "Unit": { "UnitId": "048c3bc6-5205-4116-aa85-414dd90457a4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "295311cc-d28a-4ed9-a0ea-81bb28f082ac", "CreateDate": "2025-04-17T03:47:00.1590934-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:47:00.1590934-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "93535247-06d6-4218-9972-4157311c315e", "FieldId": "fc4dca9b-2453-40f7-be3c-fa5729e9e58a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "93535247-06d6-4218-9972-4157311c315e", "FieldId": "fc4dca9b-2453-40f7-be3c-fa5729e9e58a", "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": "1afd96b5-20fb-445a-8b90-b415159b936a", "Section": { "TaskTypeSectionId": "b4320021-c09a-401d-bcf8-7bab14ea3160", "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": "3b9fa0a4-556e-4e40-a014-426acb380126", "Name": "sample string 1" }, "Unit": { "UnitId": "048c3bc6-5205-4116-aa85-414dd90457a4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "295311cc-d28a-4ed9-a0ea-81bb28f082ac", "CreateDate": "2025-04-17T03:47:00.1590934-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T03:47:00.1590934-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "93535247-06d6-4218-9972-4157311c315e", "FieldId": "fc4dca9b-2453-40f7-be3c-fa5729e9e58a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "93535247-06d6-4218-9972-4157311c315e", "FieldId": "fc4dca9b-2453-40f7-be3c-fa5729e9e58a", "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": "8e6ceafb-eab3-4a34-9672-ee1faf7d6cfb", "CreateDate": "2025-04-17T03:47:00.1590934-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T03:47:00.1590934-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }