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": "45d60464-0546-4b10-81f8-e7897a6c4ce4", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "9840923d-24ab-493c-a759-6fbe150bf6d9", "Section": { "TaskTypeSectionId": "8e175a72-3ec8-403c-a512-b756ec8bf173", "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": "d8f41608-cb19-40b4-8112-ba3842e614ac", "Name": "sample string 1" }, "Unit": { "UnitId": "0755309c-fb30-43d0-9875-4e6645b88c10", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "491b55ec-2421-4e8e-9ba3-e59654da6e80", "CreateDate": "2024-12-08T16:51:05.3940166-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T16:51:05.3940166-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "25ab3502-c083-4569-ae68-e520a16baeac", "FieldId": "432d5cb7-bf18-439d-baa8-cc36971d905a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "25ab3502-c083-4569-ae68-e520a16baeac", "FieldId": "432d5cb7-bf18-439d-baa8-cc36971d905a", "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": "9840923d-24ab-493c-a759-6fbe150bf6d9", "Section": { "TaskTypeSectionId": "8e175a72-3ec8-403c-a512-b756ec8bf173", "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": "d8f41608-cb19-40b4-8112-ba3842e614ac", "Name": "sample string 1" }, "Unit": { "UnitId": "0755309c-fb30-43d0-9875-4e6645b88c10", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "491b55ec-2421-4e8e-9ba3-e59654da6e80", "CreateDate": "2024-12-08T16:51:05.3940166-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T16:51:05.3940166-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "25ab3502-c083-4569-ae68-e520a16baeac", "FieldId": "432d5cb7-bf18-439d-baa8-cc36971d905a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "25ab3502-c083-4569-ae68-e520a16baeac", "FieldId": "432d5cb7-bf18-439d-baa8-cc36971d905a", "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": "72e84edf-f40c-4e76-a803-83062e50dc5a", "CreateDate": "2024-12-08T16:51:05.3940166-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T16:51:05.3940166-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }