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": "778e0b65-4d61-4d84-a7c2-e6741ce5a758",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d598cbb3-422a-4059-8e0d-5fb845b7aa7c",
"Section": {
"TaskTypeSectionId": "a069f81c-df0e-4b8f-bbee-a75ef459b369",
"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": "8b14da31-5887-4296-b295-052f81813827",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a2ad7560-20ad-4cd5-92d1-9e3c9b67712e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2792ca5-504e-4739-9fe3-c4ec22fee61c",
"CreateDate": "2025-12-01T15:14:44.5258142-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:14:44.5258142-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "37bd7c58-859a-4f34-903b-9f23458a1744",
"FieldId": "c6f1c638-d78d-4ac2-acbf-8987a61e7e44",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "37bd7c58-859a-4f34-903b-9f23458a1744",
"FieldId": "c6f1c638-d78d-4ac2-acbf-8987a61e7e44",
"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": "d598cbb3-422a-4059-8e0d-5fb845b7aa7c",
"Section": {
"TaskTypeSectionId": "a069f81c-df0e-4b8f-bbee-a75ef459b369",
"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": "8b14da31-5887-4296-b295-052f81813827",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a2ad7560-20ad-4cd5-92d1-9e3c9b67712e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2792ca5-504e-4739-9fe3-c4ec22fee61c",
"CreateDate": "2025-12-01T15:14:44.5258142-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:14:44.5258142-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "37bd7c58-859a-4f34-903b-9f23458a1744",
"FieldId": "c6f1c638-d78d-4ac2-acbf-8987a61e7e44",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "37bd7c58-859a-4f34-903b-9f23458a1744",
"FieldId": "c6f1c638-d78d-4ac2-acbf-8987a61e7e44",
"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": "7adce9da-af62-4221-baf7-6713aa27b6cd",
"CreateDate": "2025-12-01T15:14:44.5258142-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:14:44.5258142-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}