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": "8c687fbd-28a5-4f32-aa1f-85cfd56ee24b", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "dcf3e859-0728-4df2-a424-c4fbc8c112c5", "Section": { "TaskTypeSectionId": "fad37ccc-1e11-4c20-a260-815bab3bc77f", "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": "8dc24a67-70c5-480b-bf27-d392ef19493e", "Name": "sample string 1" }, "Unit": { "UnitId": "6790eed2-8427-420a-844c-285231fce295", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4070f599-c72f-4e8a-92c9-987c7e6a08c5", "CreateDate": "2025-01-30T16:42:15.046342-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:15.046342-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "70c58e0e-7efc-4522-b636-f8df3a65d6ec", "FieldId": "90e16570-ca3d-498c-86c6-405a4c86caca", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "70c58e0e-7efc-4522-b636-f8df3a65d6ec", "FieldId": "90e16570-ca3d-498c-86c6-405a4c86caca", "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": "dcf3e859-0728-4df2-a424-c4fbc8c112c5", "Section": { "TaskTypeSectionId": "fad37ccc-1e11-4c20-a260-815bab3bc77f", "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": "8dc24a67-70c5-480b-bf27-d392ef19493e", "Name": "sample string 1" }, "Unit": { "UnitId": "6790eed2-8427-420a-844c-285231fce295", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4070f599-c72f-4e8a-92c9-987c7e6a08c5", "CreateDate": "2025-01-30T16:42:15.046342-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:42:15.046342-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "70c58e0e-7efc-4522-b636-f8df3a65d6ec", "FieldId": "90e16570-ca3d-498c-86c6-405a4c86caca", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "70c58e0e-7efc-4522-b636-f8df3a65d6ec", "FieldId": "90e16570-ca3d-498c-86c6-405a4c86caca", "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": "9e70ebd0-f4c7-45d2-b698-0438c1f4787b", "CreateDate": "2025-01-30T16:42:15.046342-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:42:15.046342-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }