GET Tasks?taskId={taskId}
Retrieves a task by its Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
taskId |
Id of the task |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
On success, the task.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Task |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "TaskId": "45bd449f-94bd-425c-832f-7abffd75cfad", "Asset": { "AssetId": "a13674f2-9da3-4efc-b4dd-f8acd7edf766", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d5d877d5-4cfd-4f78-9e9b-8ec57fde81f4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d0cd75a9-22a1-411b-a89e-4bc5275c69ef", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "89be0bb4-198d-41be-8c28-39c33d27cc02", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 8" }, "Title": "sample string 1", "Description": "sample string 2", "TaskStatusType": { "TaskStatusTypeId": "de98f653-b389-463c-a4ac-c88baab599d4", "Name": "sample string 1", "CompanyId": "28b92cc1-1eab-47b7-87a1-a63aa199f795" }, "TaskCategory": { "TaskCategoryId": "302de0c5-6491-4155-883e-fbeb5f1e758d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "82340a6b-55b8-45a1-a1fd-8dbb13808af6", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 5" }, "TaskType": { "TaskTypeId": "e7e765c8-2f71-4dc0-b352-5399f895c563", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "eb1a9081-7d1b-4d58-9836-75f2eed04670", "Section": { "TaskTypeSectionId": "8e5295bc-9aa1-4fdf-ac2a-ac4162788a44", "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": "4846b87b-399c-4f2b-b981-0b7c5fee3af1", "Name": "sample string 1" }, "Unit": { "UnitId": "fe5bb8fc-3eba-47a3-b636-e2198c30aa1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e23c75fe-3807-4484-93f5-11fe0d52033c", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-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": "eb1a9081-7d1b-4d58-9836-75f2eed04670", "Section": { "TaskTypeSectionId": "8e5295bc-9aa1-4fdf-ac2a-ac4162788a44", "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": "4846b87b-399c-4f2b-b981-0b7c5fee3af1", "Name": "sample string 1" }, "Unit": { "UnitId": "fe5bb8fc-3eba-47a3-b636-e2198c30aa1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e23c75fe-3807-4484-93f5-11fe0d52033c", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-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": "8dd49d7b-5ae7-436a-a809-2e11d4d59cec", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 7" }, "AssignedOnDate": "2025-08-30T12:59:04.2005677-07:00", "AssignedToUser": { "UserId": "2ceecf16-a74f-490b-87fa-07677231a390", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "8b65bf69-454c-446a-859d-58bc024b7874", "Teams": [ { "TeamId": "050da52c-d1eb-48ba-9203-f07c8646c2e9", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "4e5793fe-f250-4411-b20f-4c4d82b559c0", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "050da52c-d1eb-48ba-9203-f07c8646c2e9", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "4e5793fe-f250-4411-b20f-4c4d82b559c0", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" } ] }, "AssignedByUser": { "UserId": "2ceecf16-a74f-490b-87fa-07677231a390", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "8b65bf69-454c-446a-859d-58bc024b7874", "Teams": [ { "TeamId": "050da52c-d1eb-48ba-9203-f07c8646c2e9", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "4e5793fe-f250-4411-b20f-4c4d82b559c0", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "050da52c-d1eb-48ba-9203-f07c8646c2e9", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "1944590f-9705-41e1-a511-eedd7d083f0a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:59:04.2005677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5e87fcbc-603b-49e9-b300-871b26ff80b1", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "4e5793fe-f250-4411-b20f-4c4d82b559c0", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 6" } ] }, "DueDate": "2025-08-30T12:59:04.2005677-07:00", "CompletedDate": "2025-08-30T12:59:04.2005677-07:00", "Priority": 1, "HasAttachments": true, "Attachments": [ { "TaskAttachmentId": "a6cc5c4f-1a97-4c13-aebc-31441ef94ad0", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" }, { "TaskAttachmentId": "a6cc5c4f-1a97-4c13-aebc-31441ef94ad0", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" } ], "Values": [ { "TaskFieldValueId": "ecf2178f-5912-48ba-9502-6855d62f4c8e", "TaskTypeField": { "TaskTypeFieldId": "eb1a9081-7d1b-4d58-9836-75f2eed04670", "Section": { "TaskTypeSectionId": "8e5295bc-9aa1-4fdf-ac2a-ac4162788a44", "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": "4846b87b-399c-4f2b-b981-0b7c5fee3af1", "Name": "sample string 1" }, "Unit": { "UnitId": "fe5bb8fc-3eba-47a3-b636-e2198c30aa1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e23c75fe-3807-4484-93f5-11fe0d52033c", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-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" }, "SectionIndex": 1, "FieldIndex": 1, "FileName": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "FileContent": "QEA=", "ValueText": "sample string 3", "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6" }, { "TaskFieldValueId": "ecf2178f-5912-48ba-9502-6855d62f4c8e", "TaskTypeField": { "TaskTypeFieldId": "eb1a9081-7d1b-4d58-9836-75f2eed04670", "Section": { "TaskTypeSectionId": "8e5295bc-9aa1-4fdf-ac2a-ac4162788a44", "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": "4846b87b-399c-4f2b-b981-0b7c5fee3af1", "Name": "sample string 1" }, "Unit": { "UnitId": "fe5bb8fc-3eba-47a3-b636-e2198c30aa1c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e23c75fe-3807-4484-93f5-11fe0d52033c", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:59:04.2005677-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" }, "SectionIndex": 1, "FieldIndex": 1, "FileName": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "FileContent": "QEA=", "ValueText": "sample string 3", "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6" } ], "SourceSystemId": "sample string 4", "CompanyId": "dc920dab-273d-4734-b3fd-980a14445dea", "CreateDate": "2025-08-30T12:59:04.2005677-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:59:04.2005677-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }