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": "f7e42108-64b2-4caa-a561-d7b32cc0d0f9", "Asset": { "AssetId": "30e218d5-714a-4917-b805-2cc51991c0c3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bd4b6ce4-cb89-4356-ba43-9f9f0f211365", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "977c3f2d-3cf3-471a-b07a-faf88ebf040f", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9ffd7f55-ada4-48c7-b56a-fef7db98bd53", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 8" }, "Title": "sample string 1", "Description": "sample string 2", "TaskStatusType": { "TaskStatusTypeId": "40bd9922-82ff-4a15-8404-10ccc02300e6", "Name": "sample string 1", "CompanyId": "66a21cfd-ce48-479d-a4d0-274bc56eda6e" }, "TaskCategory": { "TaskCategoryId": "e3c1f423-72dd-4610-9e6d-382758049d94", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "aa59c1d7-3ad8-4684-b943-b8b8ec376a99", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 5" }, "TaskType": { "TaskTypeId": "2e6125b6-e7e6-432a-957a-9c6811819905", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "e5959c54-db7c-41a8-8975-badb00ecbdca", "Section": { "TaskTypeSectionId": "7abdc69b-768d-4adc-a417-9502e497644e", "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": "d4b5b0db-8d72-4676-b75f-d4b92d2f9d6d", "Name": "sample string 1" }, "Unit": { "UnitId": "addeafaf-dc52-4034-9d39-59171dfeacf7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "157a32ad-062d-45d4-bc62-b5aeef24ca5b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-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": "e5959c54-db7c-41a8-8975-badb00ecbdca", "Section": { "TaskTypeSectionId": "7abdc69b-768d-4adc-a417-9502e497644e", "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": "d4b5b0db-8d72-4676-b75f-d4b92d2f9d6d", "Name": "sample string 1" }, "Unit": { "UnitId": "addeafaf-dc52-4034-9d39-59171dfeacf7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "157a32ad-062d-45d4-bc62-b5aeef24ca5b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-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": "d88feb0b-383e-497c-9851-589841e1637c", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 7" }, "AssignedOnDate": "2024-10-10T15:23:30.0120216-07:00", "AssignedToUser": { "UserId": "9dc6b6ec-4fb1-4e0b-92d9-33f44b4fa3e0", "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": "1fd022aa-d86a-4295-beab-ac45c3509ba7", "Teams": [ { "TeamId": "2c710052-5ca4-43bd-acb1-150f33864600", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3d7331ab-319b-4467-8c08-e7d1d08127fc", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "2c710052-5ca4-43bd-acb1-150f33864600", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3d7331ab-319b-4467-8c08-e7d1d08127fc", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" } ] }, "AssignedByUser": { "UserId": "9dc6b6ec-4fb1-4e0b-92d9-33f44b4fa3e0", "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": "1fd022aa-d86a-4295-beab-ac45c3509ba7", "Teams": [ { "TeamId": "2c710052-5ca4-43bd-acb1-150f33864600", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3d7331ab-319b-4467-8c08-e7d1d08127fc", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "2c710052-5ca4-43bd-acb1-150f33864600", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "175bfc4a-e341-4585-bddd-79331a052ef7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "MeasurementValueNeededDate": "2024-10-10T15:23:30.0120216-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1b61626d-1903-4665-af3f-ea2eec262c1b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3d7331ab-319b-4467-8c08-e7d1d08127fc", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 6" } ] }, "DueDate": "2024-10-10T15:23:30.0120216-07:00", "CompletedDate": "2024-10-10T15:23:30.0120216-07:00", "Priority": 1, "HasAttachments": true, "Attachments": [ { "TaskAttachmentId": "f8448b04-1edf-4050-b3fc-df44483613ba", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" }, { "TaskAttachmentId": "f8448b04-1edf-4050-b3fc-df44483613ba", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" } ], "Values": [ { "TaskFieldValueId": "5f2aab27-5136-4212-9440-fec295efc5ff", "TaskTypeField": { "TaskTypeFieldId": "e5959c54-db7c-41a8-8975-badb00ecbdca", "Section": { "TaskTypeSectionId": "7abdc69b-768d-4adc-a417-9502e497644e", "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": "d4b5b0db-8d72-4676-b75f-d4b92d2f9d6d", "Name": "sample string 1" }, "Unit": { "UnitId": "addeafaf-dc52-4034-9d39-59171dfeacf7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "157a32ad-062d-45d4-bc62-b5aeef24ca5b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-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": "5f2aab27-5136-4212-9440-fec295efc5ff", "TaskTypeField": { "TaskTypeFieldId": "e5959c54-db7c-41a8-8975-badb00ecbdca", "Section": { "TaskTypeSectionId": "7abdc69b-768d-4adc-a417-9502e497644e", "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": "d4b5b0db-8d72-4676-b75f-d4b92d2f9d6d", "Name": "sample string 1" }, "Unit": { "UnitId": "addeafaf-dc52-4034-9d39-59171dfeacf7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "157a32ad-062d-45d4-bc62-b5aeef24ca5b", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:23:30.0120216-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": "86348ca2-c98b-4bdb-9b40-6204147ed9dc", "CreateDate": "2024-10-10T15:23:30.0120216-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:23:30.0120216-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }