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": "929f559e-df07-4bd7-950a-782cc5252f8c", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "78a3d9fe-af58-4912-8fb5-dd93a5638734", "Section": { "TaskTypeSectionId": "fb34860a-3df3-45c2-9f30-3308a7fa3aae", "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": "f7090a5d-a503-462d-aad9-30acbe59b0e4", "Name": "sample string 1" }, "Unit": { "UnitId": "f4ad12aa-f61e-4a7b-8241-4077b423ef82", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "742dc58e-9790-4457-b13e-6e35463f9716", "CreateDate": "2025-06-02T06:20:09.8417861-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T06:20:09.8417861-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "38bfdb6f-fda6-4942-9550-a8dc2be52bc2", "FieldId": "f4404054-b30f-4898-8249-7ba914effe73", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "38bfdb6f-fda6-4942-9550-a8dc2be52bc2", "FieldId": "f4404054-b30f-4898-8249-7ba914effe73", "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": "78a3d9fe-af58-4912-8fb5-dd93a5638734", "Section": { "TaskTypeSectionId": "fb34860a-3df3-45c2-9f30-3308a7fa3aae", "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": "f7090a5d-a503-462d-aad9-30acbe59b0e4", "Name": "sample string 1" }, "Unit": { "UnitId": "f4ad12aa-f61e-4a7b-8241-4077b423ef82", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "742dc58e-9790-4457-b13e-6e35463f9716", "CreateDate": "2025-06-02T06:20:09.8417861-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T06:20:09.8417861-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "38bfdb6f-fda6-4942-9550-a8dc2be52bc2", "FieldId": "f4404054-b30f-4898-8249-7ba914effe73", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "38bfdb6f-fda6-4942-9550-a8dc2be52bc2", "FieldId": "f4404054-b30f-4898-8249-7ba914effe73", "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": "08a48076-c0ea-4d21-b7b7-a92c840748ef", "CreateDate": "2025-06-02T06:20:09.8417861-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T06:20:09.8417861-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }