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": "748efc65-9a52-4a21-9d1c-2d2034862da3", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "8ef45ea7-6f64-4f86-9091-e99377c8d392", "Section": { "TaskTypeSectionId": "ac1250b9-c321-481d-abab-afc869f6b689", "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": "55250470-adc6-41c9-8edd-0c5718b372bb", "Name": "sample string 1" }, "Unit": { "UnitId": "33e5a343-6901-48e4-a09d-709934a7d229", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3a4b4821-54da-49a9-9029-385350ffc790", "CreateDate": "2024-11-21T04:41:07.0436598-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:41:07.0436598-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e7cead23-6fb6-40de-bd58-76a8dc84d4b5", "FieldId": "0279c576-c8ca-4fe2-80c9-ba039abc7a05", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e7cead23-6fb6-40de-bd58-76a8dc84d4b5", "FieldId": "0279c576-c8ca-4fe2-80c9-ba039abc7a05", "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": "8ef45ea7-6f64-4f86-9091-e99377c8d392", "Section": { "TaskTypeSectionId": "ac1250b9-c321-481d-abab-afc869f6b689", "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": "55250470-adc6-41c9-8edd-0c5718b372bb", "Name": "sample string 1" }, "Unit": { "UnitId": "33e5a343-6901-48e4-a09d-709934a7d229", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3a4b4821-54da-49a9-9029-385350ffc790", "CreateDate": "2024-11-21T04:41:07.0436598-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:41:07.0436598-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e7cead23-6fb6-40de-bd58-76a8dc84d4b5", "FieldId": "0279c576-c8ca-4fe2-80c9-ba039abc7a05", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e7cead23-6fb6-40de-bd58-76a8dc84d4b5", "FieldId": "0279c576-c8ca-4fe2-80c9-ba039abc7a05", "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": "b1759dd1-4ed2-447f-a8bf-7cc2739ccd61", "CreateDate": "2024-11-21T04:41:07.0436598-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:41:07.0436598-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }