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": "80a3bb03-9b26-4406-88bc-409e6c7a8b11", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "80ebde73-a11a-40dd-9728-1d7023fa1160", "Section": { "TaskTypeSectionId": "1a51d019-66df-40da-91d3-099971a108bd", "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": "43e5b376-2215-4435-ab75-f528bcf153b2", "Name": "sample string 1" }, "Unit": { "UnitId": "cf19b223-d88e-41a4-8c89-d29295ab8f00", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c8951627-a476-4a88-8e4c-3c94c75f600d", "CreateDate": "2025-02-05T05:56:06.8964364-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T05:56:06.8964364-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2dc3d6a7-89c9-442d-b360-a1157c9c5c12", "FieldId": "b0b58c76-3541-45fc-a0b5-8ea2be227a4f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2dc3d6a7-89c9-442d-b360-a1157c9c5c12", "FieldId": "b0b58c76-3541-45fc-a0b5-8ea2be227a4f", "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": "80ebde73-a11a-40dd-9728-1d7023fa1160", "Section": { "TaskTypeSectionId": "1a51d019-66df-40da-91d3-099971a108bd", "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": "43e5b376-2215-4435-ab75-f528bcf153b2", "Name": "sample string 1" }, "Unit": { "UnitId": "cf19b223-d88e-41a4-8c89-d29295ab8f00", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c8951627-a476-4a88-8e4c-3c94c75f600d", "CreateDate": "2025-02-05T05:56:06.8964364-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T05:56:06.8964364-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2dc3d6a7-89c9-442d-b360-a1157c9c5c12", "FieldId": "b0b58c76-3541-45fc-a0b5-8ea2be227a4f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2dc3d6a7-89c9-442d-b360-a1157c9c5c12", "FieldId": "b0b58c76-3541-45fc-a0b5-8ea2be227a4f", "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": "e7858899-aba5-4f50-bce1-67df546ae2fa", "CreateDate": "2025-02-05T05:56:06.8964364-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T05:56:06.8964364-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }