GET Tasks?taskId={taskId}

Retrieves a task by its Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taskId

Id of the task

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

On success, the task.

NameDescriptionTypeAdditional information
Data

Task

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "TaskId": "7a612084-6c63-46e7-8412-6d4169cf3ec2",
    "Asset": {
      "AssetId": "4085ce7c-253d-48af-b8dc-2a6d4aba1f2e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "a5fb98c8-db36-4266-9552-67b55624c98c",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "4719d58d-ce77-42b6-ab94-6337d9112f81",
        "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "AssetGroup": {
        "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
        "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
        "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
      "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "ea7471c7-16aa-4bdd-8694-dff25d457194",
      "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "Title": "sample string 1",
    "Description": "sample string 2",
    "TaskStatusType": {
      "TaskStatusTypeId": "a8ae5038-7599-4f47-8361-44d96bcd40e6",
      "Name": "sample string 1"
    },
    "TaskCategory": {
      "TaskCategoryId": "a9b0818a-82d6-4025-a5df-852757fc527a",
      "Name": "sample string 1",
      "SourceSystemId": "sample string 2",
      "CompanyId": "b8ef280f-5987-4cca-9844-bdcdd46ecae4",
      "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
      "CreateUser": "sample string 4",
      "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
      "LastModifiedUser": "sample string 5"
    },
    "TaskType": {
      "TaskTypeId": "4ab73abf-8dc6-4af4-ad11-a687fcf77fa4",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Fields": [
        {
          "TaskTypeFieldId": "1b6b97dc-ac11-488f-b7cb-d59ca3ddf8c0",
          "Section": {
            "TaskTypeSectionId": "d6690c89-6bdf-4c42-a82d-d4f36c682fd1",
            "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": "43cf1444-16e0-45fd-bc8d-803dbce080b9",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "d14cbee8-6336-48eb-83a6-8606d97657d6",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f46a72e0-bb73-481f-88da-da4ec6060294",
            "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-27T05:00:43.9657552-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": "1b6b97dc-ac11-488f-b7cb-d59ca3ddf8c0",
          "Section": {
            "TaskTypeSectionId": "d6690c89-6bdf-4c42-a82d-d4f36c682fd1",
            "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": "43cf1444-16e0-45fd-bc8d-803dbce080b9",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "d14cbee8-6336-48eb-83a6-8606d97657d6",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f46a72e0-bb73-481f-88da-da4ec6060294",
            "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-27T05:00:43.9657552-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 3",
      "CompanyId": "22214bc3-fa62-4abb-bfa6-adcf8306bf84",
      "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "AssignedOnDate": "2022-11-27T05:00:43.9657552-08:00",
    "AssignedToUser": {
      "UserId": "81851cde-dd26-4b32-bbf6-7613e4174007",
      "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": "84c0194f-7056-49f8-ac5a-68bc549a7af0",
      "Teams": [
        {
          "TeamId": "7ffa648e-a18c-4cd4-8216-de8986f5f459",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Users": [],
          "AssetGroups": [
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            },
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            }
          ],
          "SourceSystemId": "sample string 3",
          "CompanyId": "ac98da5e-1d56-425b-8f43-6e6ae6971169",
          "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
          "LastModifiedUser": "sample string 6"
        },
        {
          "TeamId": "7ffa648e-a18c-4cd4-8216-de8986f5f459",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Users": [],
          "AssetGroups": [
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            },
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            }
          ],
          "SourceSystemId": "sample string 3",
          "CompanyId": "ac98da5e-1d56-425b-8f43-6e6ae6971169",
          "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
          "LastModifiedUser": "sample string 6"
        }
      ]
    },
    "AssignedByUser": {
      "UserId": "81851cde-dd26-4b32-bbf6-7613e4174007",
      "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": "84c0194f-7056-49f8-ac5a-68bc549a7af0",
      "Teams": [
        {
          "TeamId": "7ffa648e-a18c-4cd4-8216-de8986f5f459",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Users": [],
          "AssetGroups": [
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            },
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            }
          ],
          "SourceSystemId": "sample string 3",
          "CompanyId": "ac98da5e-1d56-425b-8f43-6e6ae6971169",
          "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
          "LastModifiedUser": "sample string 6"
        },
        {
          "TeamId": "7ffa648e-a18c-4cd4-8216-de8986f5f459",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "Users": [],
          "AssetGroups": [
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            },
            {
              "AssetGroupId": "954d05f4-7c4f-4fde-a635-f51ac36999f6",
              "Name": "sample string 1",
              "Description": "sample string 2",
              "ParentGroup": null,
              "DisplayOrder": 1,
              "FormValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "MeasurementValueNeededDate": "2022-11-27T05:00:43.9657552-08:00",
              "SourceSystemId": "sample string 3",
              "CompanyId": "909c41e0-143f-462a-bee4-ca199fbcbcbb",
              "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
              "CreateUser": "sample string 5",
              "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
              "LastModifiedUser": "sample string 6"
            }
          ],
          "SourceSystemId": "sample string 3",
          "CompanyId": "ac98da5e-1d56-425b-8f43-6e6ae6971169",
          "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
          "LastModifiedUser": "sample string 6"
        }
      ]
    },
    "DueDate": "2022-11-27T05:00:43.9657552-08:00",
    "CompletedDate": "2022-11-27T05:00:43.9657552-08:00",
    "Priority": 1,
    "HasAttachments": true,
    "Attachments": [
      {
        "TaskAttachmentId": "79370ab8-ddc1-4a85-95cb-8097701781ac",
        "Name": "sample string 1",
        "FileType": "sample string 2",
        "FileSize": 1,
        "Content": "QEA=",
        "SourceSystemId": "sample string 3"
      },
      {
        "TaskAttachmentId": "79370ab8-ddc1-4a85-95cb-8097701781ac",
        "Name": "sample string 1",
        "FileType": "sample string 2",
        "FileSize": 1,
        "Content": "QEA=",
        "SourceSystemId": "sample string 3"
      }
    ],
    "Values": [
      {
        "TaskFieldValueId": "26cdce73-ee9a-45a0-937a-4231c8aac629",
        "TaskTypeField": {
          "TaskTypeFieldId": "1b6b97dc-ac11-488f-b7cb-d59ca3ddf8c0",
          "Section": {
            "TaskTypeSectionId": "d6690c89-6bdf-4c42-a82d-d4f36c682fd1",
            "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": "43cf1444-16e0-45fd-bc8d-803dbce080b9",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "d14cbee8-6336-48eb-83a6-8606d97657d6",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f46a72e0-bb73-481f-88da-da4ec6060294",
            "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-27T05:00:43.9657552-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": "26cdce73-ee9a-45a0-937a-4231c8aac629",
        "TaskTypeField": {
          "TaskTypeFieldId": "1b6b97dc-ac11-488f-b7cb-d59ca3ddf8c0",
          "Section": {
            "TaskTypeSectionId": "d6690c89-6bdf-4c42-a82d-d4f36c682fd1",
            "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": "43cf1444-16e0-45fd-bc8d-803dbce080b9",
            "Name": "sample string 1"
          },
          "Unit": {
            "UnitId": "d14cbee8-6336-48eb-83a6-8606d97657d6",
            "Code": "sample string 1",
            "Description": "sample string 2",
            "SourceSystemId": "sample string 3",
            "CompanyId": "f46a72e0-bb73-481f-88da-da4ec6060294",
            "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
            "CreateUser": "sample string 5",
            "LastModifiedDate": "2022-11-27T05:00:43.9657552-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": "e55ef939-6b94-442b-a64f-746c8dbb1682",
    "CreateDate": "2022-11-27T05:00:43.9657552-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2022-11-27T05:00:43.9657552-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}