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": "577ade8b-a481-41c1-b7a8-54d4bb5bd080", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c3b7749c-98a9-4043-a819-3f190c7d3b16", "Section": { "TaskTypeSectionId": "a044178f-1ac0-4388-a4fa-187a562b0317", "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": "32639a8c-6e11-40fa-8219-9438bd934762", "Name": "sample string 1" }, "Unit": { "UnitId": "1f6730b9-10ec-4f14-bca6-26c08ac74247", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "50d81731-4a16-4edb-9c90-d876b6236555", "CreateDate": "2024-12-21T19:08:43.6037916-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:43.6037916-08: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": "c3b7749c-98a9-4043-a819-3f190c7d3b16", "Section": { "TaskTypeSectionId": "a044178f-1ac0-4388-a4fa-187a562b0317", "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": "32639a8c-6e11-40fa-8219-9438bd934762", "Name": "sample string 1" }, "Unit": { "UnitId": "1f6730b9-10ec-4f14-bca6-26c08ac74247", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "50d81731-4a16-4edb-9c90-d876b6236555", "CreateDate": "2024-12-21T19:08:43.6037916-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:43.6037916-08: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": "e75581af-6be0-461b-8292-40b7bcd59d60", "CreateDate": "2024-12-21T19:08:43.6037916-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:08:43.6037916-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }