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": "2762eccf-19f6-43d0-89b9-c0bf7e36a658",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "cd5b3220-76ec-4561-a3af-579fc8059425",
        "Section": {
          "TaskTypeSectionId": "aaabfdcc-f731-458c-8390-96e59527c6d9",
          "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": "a6f8db73-6d3c-4bb6-a322-af1ee477ed43",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f1c1f9b7-306f-426a-96a9-ffb574bec4ba",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "910a567a-4f93-415e-9ee8-2cac99dc566b",
          "CreateDate": "2025-11-03T10:16:40.2494119-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-03T10:16:40.2494119-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "8aa8ed4c-44b7-4af6-8263-f02116ea2c59",
            "FieldId": "2f5274bd-4270-4022-90fd-25df1cfcb98b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "8aa8ed4c-44b7-4af6-8263-f02116ea2c59",
            "FieldId": "2f5274bd-4270-4022-90fd-25df1cfcb98b",
            "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": "cd5b3220-76ec-4561-a3af-579fc8059425",
        "Section": {
          "TaskTypeSectionId": "aaabfdcc-f731-458c-8390-96e59527c6d9",
          "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": "a6f8db73-6d3c-4bb6-a322-af1ee477ed43",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f1c1f9b7-306f-426a-96a9-ffb574bec4ba",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "910a567a-4f93-415e-9ee8-2cac99dc566b",
          "CreateDate": "2025-11-03T10:16:40.2494119-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-03T10:16:40.2494119-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "8aa8ed4c-44b7-4af6-8263-f02116ea2c59",
            "FieldId": "2f5274bd-4270-4022-90fd-25df1cfcb98b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "8aa8ed4c-44b7-4af6-8263-f02116ea2c59",
            "FieldId": "2f5274bd-4270-4022-90fd-25df1cfcb98b",
            "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": "ac10130f-0d49-4109-ac7a-53978aa6adbc",
    "CreateDate": "2025-11-03T10:16:40.2494119-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-11-03T10:16:40.2494119-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}