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": "23d26e2f-dbdb-496c-92a5-22fab1c30751", "Asset": { "AssetId": "42d1309a-a4c7-4afa-968a-354e956f4bd8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "10afb61b-64da-44fb-89ac-1b25a7170ae3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ea498c70-392c-4ca6-9ef4-f9497a4f4304", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d131273a-e612-4a87-950a-a44f4dba2db9", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 8" }, "Title": "sample string 1", "Description": "sample string 2", "TaskStatusType": { "TaskStatusTypeId": "b6f3f6da-4f4d-429a-8dc5-aa62d8137d96", "Name": "sample string 1", "CompanyId": "4de4113d-39ab-494f-b34d-896753360710" }, "TaskCategory": { "TaskCategoryId": "b6748911-0d41-4e2f-9e1f-523091760f9b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a33a574e-f355-4d1a-81b8-96927781167b", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 5" }, "TaskType": { "TaskTypeId": "d95297e7-22a9-4221-b41b-bbfbbe6596b0", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "f1e1a553-13b0-45e2-8c20-1cc88a1d339b", "Section": { "TaskTypeSectionId": "3c792a20-373f-4560-b8c1-c1179e96b399", "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": "6636cdbc-879d-4b97-8293-0c1b273e97d5", "Name": "sample string 1" }, "Unit": { "UnitId": "95108ec0-9bed-470d-be8e-bd86de630353", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "158d3327-e602-4c4b-a6e4-3aa40b8a8f8a", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-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": "f1e1a553-13b0-45e2-8c20-1cc88a1d339b", "Section": { "TaskTypeSectionId": "3c792a20-373f-4560-b8c1-c1179e96b399", "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": "6636cdbc-879d-4b97-8293-0c1b273e97d5", "Name": "sample string 1" }, "Unit": { "UnitId": "95108ec0-9bed-470d-be8e-bd86de630353", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "158d3327-e602-4c4b-a6e4-3aa40b8a8f8a", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-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": "4d5d2f6c-8897-4b28-ae4f-d6a2ff1eb261", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 7" }, "AssignedOnDate": "2024-12-21T16:50:13.6408731-08:00", "AssignedToUser": { "UserId": "9f247f13-905d-4f9e-abe6-2c208a508218", "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": "a8222a6a-b913-4ef4-be5a-790263a75564", "Teams": [ { "TeamId": "c4f9fd03-fca2-4718-ade0-30bd2075e7dc", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "21966e35-b8cf-48c0-961f-5d99478c2531", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "c4f9fd03-fca2-4718-ade0-30bd2075e7dc", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "21966e35-b8cf-48c0-961f-5d99478c2531", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" } ] }, "AssignedByUser": { "UserId": "9f247f13-905d-4f9e-abe6-2c208a508218", "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": "a8222a6a-b913-4ef4-be5a-790263a75564", "Teams": [ { "TeamId": "c4f9fd03-fca2-4718-ade0-30bd2075e7dc", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "21966e35-b8cf-48c0-961f-5d99478c2531", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "c4f9fd03-fca2-4718-ade0-30bd2075e7dc", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "770506b4-a4a9-4201-af82-3dc64f60f190", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "MeasurementValueNeededDate": "2024-12-21T16:50:13.6408731-08:00", "SourceSystemId": "sample string 3", "CompanyId": "422a4625-3812-4ef7-a03b-d3917390672c", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "21966e35-b8cf-48c0-961f-5d99478c2531", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 6" } ] }, "DueDate": "2024-12-21T16:50:13.6408731-08:00", "CompletedDate": "2024-12-21T16:50:13.6408731-08:00", "Priority": 1, "HasAttachments": true, "Attachments": [ { "TaskAttachmentId": "d2cdfcc1-ed8d-471e-9646-79dc1ac96fc1", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" }, { "TaskAttachmentId": "d2cdfcc1-ed8d-471e-9646-79dc1ac96fc1", "Name": "sample string 1", "FileType": "sample string 2", "FileSize": 1, "Content": "QEA=", "SourceSystemId": "sample string 3" } ], "Values": [ { "TaskFieldValueId": "9f49fa90-c3e6-462f-b23e-e053ff0418ac", "TaskTypeField": { "TaskTypeFieldId": "f1e1a553-13b0-45e2-8c20-1cc88a1d339b", "Section": { "TaskTypeSectionId": "3c792a20-373f-4560-b8c1-c1179e96b399", "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": "6636cdbc-879d-4b97-8293-0c1b273e97d5", "Name": "sample string 1" }, "Unit": { "UnitId": "95108ec0-9bed-470d-be8e-bd86de630353", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "158d3327-e602-4c4b-a6e4-3aa40b8a8f8a", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-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" }, "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": "9f49fa90-c3e6-462f-b23e-e053ff0418ac", "TaskTypeField": { "TaskTypeFieldId": "f1e1a553-13b0-45e2-8c20-1cc88a1d339b", "Section": { "TaskTypeSectionId": "3c792a20-373f-4560-b8c1-c1179e96b399", "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": "6636cdbc-879d-4b97-8293-0c1b273e97d5", "Name": "sample string 1" }, "Unit": { "UnitId": "95108ec0-9bed-470d-be8e-bd86de630353", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "158d3327-e602-4c4b-a6e4-3aa40b8a8f8a", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T16:50:13.6408731-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" }, "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": "afe6d276-630a-4044-9279-aeade8a62567", "CreateDate": "2024-12-21T16:50:13.6408731-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T16:50:13.6408731-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }