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": "4febdebf-65b7-4dbd-bcbe-2c05b59a90f4", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "f3a68a56-7f4e-4427-95d4-c7d5a354a65d", "Section": { "TaskTypeSectionId": "c4f4df29-6db9-45f4-95eb-987b3a1004e0", "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": "319699f3-72d8-4fff-8cc5-a99215502779", "Name": "sample string 1" }, "Unit": { "UnitId": "0008f3ef-7bbd-4b32-bfca-4f3c3613ebd9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "90f2cfeb-d3dd-4154-bddf-9f98187c7bcf", "CreateDate": "2025-04-30T13:39:23.6504339-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:39:23.6504339-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d1b5a529-3e3b-469a-b019-33c616b4b6c8", "FieldId": "941730f8-55b7-4b2f-bbc5-c6b197e63c2f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d1b5a529-3e3b-469a-b019-33c616b4b6c8", "FieldId": "941730f8-55b7-4b2f-bbc5-c6b197e63c2f", "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": "f3a68a56-7f4e-4427-95d4-c7d5a354a65d", "Section": { "TaskTypeSectionId": "c4f4df29-6db9-45f4-95eb-987b3a1004e0", "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": "319699f3-72d8-4fff-8cc5-a99215502779", "Name": "sample string 1" }, "Unit": { "UnitId": "0008f3ef-7bbd-4b32-bfca-4f3c3613ebd9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "90f2cfeb-d3dd-4154-bddf-9f98187c7bcf", "CreateDate": "2025-04-30T13:39:23.6504339-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T13:39:23.6504339-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d1b5a529-3e3b-469a-b019-33c616b4b6c8", "FieldId": "941730f8-55b7-4b2f-bbc5-c6b197e63c2f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d1b5a529-3e3b-469a-b019-33c616b4b6c8", "FieldId": "941730f8-55b7-4b2f-bbc5-c6b197e63c2f", "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": "b978bcc8-fe14-4cc4-9368-c2cccacb863e", "CreateDate": "2025-04-30T13:39:23.6504339-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T13:39:23.6504339-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }