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": "0273b12e-aa5f-4f73-bd47-8a05ae33a1b1", "Name": "sample string 1", "Description": "sample string 2", "Fields": [ { "TaskTypeFieldId": "825ed246-7981-44c7-9391-cb1be20f5b80", "Section": { "TaskTypeSectionId": "e565c1e1-a18a-4b10-94ba-0de50bc94617", "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": "cca7ced1-ae1f-4550-a0c9-976d75db57ea", "Name": "sample string 1" }, "Unit": { "UnitId": "58c9ec14-27dc-4ce9-9f35-d23038a7e0df", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "86b1edd2-f69e-49b1-a1e6-9a1d818a7daa", "CreateDate": "2024-03-28T03:47:58.6175273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T03:47:58.6175273-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "825ed246-7981-44c7-9391-cb1be20f5b80", "Section": { "TaskTypeSectionId": "e565c1e1-a18a-4b10-94ba-0de50bc94617", "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": "cca7ced1-ae1f-4550-a0c9-976d75db57ea", "Name": "sample string 1" }, "Unit": { "UnitId": "58c9ec14-27dc-4ce9-9f35-d23038a7e0df", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "86b1edd2-f69e-49b1-a1e6-9a1d818a7daa", "CreateDate": "2024-03-28T03:47:58.6175273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T03:47:58.6175273-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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 3", "CompanyId": "a47cc984-4862-46cc-a664-4573cf8b9426", "CreateDate": "2024-03-28T03:47:58.6175273-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T03:47:58.6175273-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }