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": "1f4dde10-8f07-48ff-a8ce-0e10bd1cffcb", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "4caba26e-95b1-427b-80c0-95db5a1cfaab", "Section": { "TaskTypeSectionId": "ba137202-1b08-4106-8ee2-95fbaef3da71", "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": "10856e31-ef2d-4685-803d-fc98d23c0c23", "Name": "sample string 1" }, "Unit": { "UnitId": "c546a39d-c88c-4900-ba83-7b74caf068e5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "479be231-122a-49b3-91b9-bd8360706867", "CreateDate": "2024-12-21T19:29:43.9966564-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:29:43.9966564-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c486e88a-9a0a-470b-b9fb-965cd7f9091f", "FieldId": "95b14ac8-bc82-4786-a06a-2524b40a97b9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c486e88a-9a0a-470b-b9fb-965cd7f9091f", "FieldId": "95b14ac8-bc82-4786-a06a-2524b40a97b9", "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": "4caba26e-95b1-427b-80c0-95db5a1cfaab", "Section": { "TaskTypeSectionId": "ba137202-1b08-4106-8ee2-95fbaef3da71", "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": "10856e31-ef2d-4685-803d-fc98d23c0c23", "Name": "sample string 1" }, "Unit": { "UnitId": "c546a39d-c88c-4900-ba83-7b74caf068e5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "479be231-122a-49b3-91b9-bd8360706867", "CreateDate": "2024-12-21T19:29:43.9966564-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:29:43.9966564-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c486e88a-9a0a-470b-b9fb-965cd7f9091f", "FieldId": "95b14ac8-bc82-4786-a06a-2524b40a97b9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c486e88a-9a0a-470b-b9fb-965cd7f9091f", "FieldId": "95b14ac8-bc82-4786-a06a-2524b40a97b9", "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": "b2fc54e9-9328-4d87-9d34-948a5b3e44e6", "CreateDate": "2024-12-21T19:29:43.9966564-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:29:43.9966564-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }