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": "554a6c98-da0d-4bf1-9ad9-037c1572bcce", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "17c3a5b2-34d9-40b4-8ce5-7241a6cf9811", "Section": { "TaskTypeSectionId": "a3638fe1-9df5-49d4-a4f3-5a2718d78ba7", "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": "bd97d036-7a76-410b-98fc-69d23bce8e5c", "Name": "sample string 1" }, "Unit": { "UnitId": "e47ae475-c076-490c-bf25-c1ba25aa080d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d6007986-94b1-48a7-9e0b-4236328d30bf", "CreateDate": "2024-11-21T05:28:35.5241564-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:28:35.5241564-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d575503b-46e3-4ed7-bd23-d3440d8a317b", "FieldId": "62afefa0-4d0e-4abc-955b-894c9d3927fb", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d575503b-46e3-4ed7-bd23-d3440d8a317b", "FieldId": "62afefa0-4d0e-4abc-955b-894c9d3927fb", "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": "17c3a5b2-34d9-40b4-8ce5-7241a6cf9811", "Section": { "TaskTypeSectionId": "a3638fe1-9df5-49d4-a4f3-5a2718d78ba7", "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": "bd97d036-7a76-410b-98fc-69d23bce8e5c", "Name": "sample string 1" }, "Unit": { "UnitId": "e47ae475-c076-490c-bf25-c1ba25aa080d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d6007986-94b1-48a7-9e0b-4236328d30bf", "CreateDate": "2024-11-21T05:28:35.5241564-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:28:35.5241564-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d575503b-46e3-4ed7-bd23-d3440d8a317b", "FieldId": "62afefa0-4d0e-4abc-955b-894c9d3927fb", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d575503b-46e3-4ed7-bd23-d3440d8a317b", "FieldId": "62afefa0-4d0e-4abc-955b-894c9d3927fb", "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": "c98afe0e-0485-48bb-b207-6fac0c2ae6d0", "CreateDate": "2024-11-21T05:28:35.5241564-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:28:35.5241564-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }