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": "d2a1de22-614b-4fd6-a4fb-144e3ac96d89",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "1ade1943-fcc5-4909-8e44-3160eedae1a0",
"Section": {
"TaskTypeSectionId": "2448708f-2830-459e-af5d-cb7a665a25c7",
"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": "b0e17de3-10ce-471b-a3bb-ae778097c644",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f46f8387-5281-454e-b7ee-bc491e758953",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5d128edb-c43b-4178-8610-94e916872770",
"CreateDate": "2025-12-19T05:44:11.3497741-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-19T05:44:11.3497741-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "933ca16f-6b52-41ab-b68b-2ec94aa9973f",
"FieldId": "73e54ccd-a49b-40fb-a32c-0e2b5d8668ea",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "933ca16f-6b52-41ab-b68b-2ec94aa9973f",
"FieldId": "73e54ccd-a49b-40fb-a32c-0e2b5d8668ea",
"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": "1ade1943-fcc5-4909-8e44-3160eedae1a0",
"Section": {
"TaskTypeSectionId": "2448708f-2830-459e-af5d-cb7a665a25c7",
"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": "b0e17de3-10ce-471b-a3bb-ae778097c644",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f46f8387-5281-454e-b7ee-bc491e758953",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5d128edb-c43b-4178-8610-94e916872770",
"CreateDate": "2025-12-19T05:44:11.3497741-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-19T05:44:11.3497741-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "933ca16f-6b52-41ab-b68b-2ec94aa9973f",
"FieldId": "73e54ccd-a49b-40fb-a32c-0e2b5d8668ea",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "933ca16f-6b52-41ab-b68b-2ec94aa9973f",
"FieldId": "73e54ccd-a49b-40fb-a32c-0e2b5d8668ea",
"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": "02c75ade-5c94-4690-8915-a1cf3bea7028",
"CreateDate": "2025-12-19T05:44:11.3497741-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-19T05:44:11.3497741-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}