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": "e99042bf-c92b-44ee-a21b-4deb3411500d", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "673167d7-bf16-4612-a4b2-200c91109978", "Section": { "TaskTypeSectionId": "41f0dae7-2fcc-4c00-8002-2a2a7c402047", "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": "fd794086-5ccc-4a29-941a-7a44cb51e746", "Name": "sample string 1" }, "Unit": { "UnitId": "ff26d528-d55f-4efa-af4e-4673a36735cb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e2a65238-faf1-4218-b63a-25ed30a96e31", "CreateDate": "2024-10-10T05:24:51.3362015-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T05:24:51.3362015-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": "673167d7-bf16-4612-a4b2-200c91109978", "Section": { "TaskTypeSectionId": "41f0dae7-2fcc-4c00-8002-2a2a7c402047", "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": "fd794086-5ccc-4a29-941a-7a44cb51e746", "Name": "sample string 1" }, "Unit": { "UnitId": "ff26d528-d55f-4efa-af4e-4673a36735cb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e2a65238-faf1-4218-b63a-25ed30a96e31", "CreateDate": "2024-10-10T05:24:51.3362015-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T05:24:51.3362015-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 4", "CompanyId": "8c0a84c6-b1da-41de-9b88-6859c9dc1d9f", "CreateDate": "2024-10-10T05:24:51.3362015-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T05:24:51.3362015-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }