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": "8a08a70b-1c0e-4c16-8678-8311d2841ca2", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "a24431c0-36d4-48af-b8cc-a5305e0ebc53", "Section": { "TaskTypeSectionId": "a5704c9d-0fd6-4092-bed4-9dd81e05c80f", "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": "617ef4be-94db-427f-82f5-35ceb82f2768", "Name": "sample string 1" }, "Unit": { "UnitId": "263f7859-b7ba-475b-a411-6a26031643be", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8ceea79b-c5a4-4689-8bde-e9d8ea663b26", "CreateDate": "2025-03-09T05:10:18.0134766-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T05:10:18.0134766-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "25294cd1-7981-4546-a869-33aa4dbb215a", "FieldId": "8481998e-921e-48b1-9f31-c276c39c9ffb", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "25294cd1-7981-4546-a869-33aa4dbb215a", "FieldId": "8481998e-921e-48b1-9f31-c276c39c9ffb", "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": "a24431c0-36d4-48af-b8cc-a5305e0ebc53", "Section": { "TaskTypeSectionId": "a5704c9d-0fd6-4092-bed4-9dd81e05c80f", "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": "617ef4be-94db-427f-82f5-35ceb82f2768", "Name": "sample string 1" }, "Unit": { "UnitId": "263f7859-b7ba-475b-a411-6a26031643be", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8ceea79b-c5a4-4689-8bde-e9d8ea663b26", "CreateDate": "2025-03-09T05:10:18.0134766-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T05:10:18.0134766-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "25294cd1-7981-4546-a869-33aa4dbb215a", "FieldId": "8481998e-921e-48b1-9f31-c276c39c9ffb", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "25294cd1-7981-4546-a869-33aa4dbb215a", "FieldId": "8481998e-921e-48b1-9f31-c276c39c9ffb", "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": "15f00876-f17b-47f4-a784-a7e733a0226a", "CreateDate": "2025-03-09T05:10:18.0134766-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T05:10:18.0134766-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }