GET api/worklog?TaskId={TaskId}&ExternalId={ExternalId}&IntegrationId={IntegrationId}&LogDate={LogDate}

Get worklog info on a task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TaskId

globally unique identifier

Required

ExternalId

string

Required

IntegrationId

globally unique identifier

Required

LogDate

date

Required

Body Parameters

None.

Response Information

Resource Description

WorkLogInfo
NameDescriptionTypeAdditional information
Task

WorkPlanTask

None.

Plan

WorkPlan

None.

PeriodFound

boolean

None.

PeriodClosed

boolean

None.

TaskFound

boolean

None.

RowFound

boolean

None.

TotalUsedHours

decimal number

None.

Hours

Dictionary of globally unique identifier [key] and decimal number [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Task": {
    "WorkTypeId": "ea9a295e-ac3a-421a-b1f7-6f37d55d6516",
    "Name": "sample string 1",
    "Created": "2024-10-18T08:36:01.8249795+00:00",
    "Modified": "2024-10-18T08:36:01.8249795+00:00",
    "Author": "sample string 4",
    "Editor": "sample string 5",
    "AssignedTo": [
      "9f11e5e1-7b0f-4708-ad3f-5c308cb08aca",
      "14556a34-f204-4d20-8cac-d4cef990961a"
    ],
    "Assignments": [
      {
        "Id": "17d23b08-1a18-4bea-9189-5f32942f93f2",
        "Type": 0,
        "ResourceId": "fe9ec53c-5556-405d-92c8-42b1446b50e2",
        "Units": 3.0
      },
      {
        "Id": "17d23b08-1a18-4bea-9189-5f32942f93f2",
        "Type": 0,
        "ResourceId": "fe9ec53c-5556-405d-92c8-42b1446b50e2",
        "Units": 3.0
      }
    ],
    "ParentId": "604e8b78-83b0-4715-a013-edbb9be35e6e",
    "WorkTypeParentId": "a3c5fee5-d21d-4579-b207-a6f772ff5561",
    "WorkTypeIndex": 9,
    "Fields": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "Index": 10,
    "Complete": true,
    "Comments": [
      {
        "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
        "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
        "PostDate": "2024-10-18T08:36:01.8249795+00:00",
        "Comment": "sample string 4",
        "CC": [
          "61e7e454-83a4-4735-8985-83166fda6d47",
          "e37d64dd-85fe-4387-9c74-b903298bf539"
        ],
        "Users": [
          "c21f671a-7a7d-489c-99ca-8a722070e50c",
          "cd7c5867-8bfe-420c-b2da-ea624da53b32"
        ]
      },
      {
        "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
        "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
        "PostDate": "2024-10-18T08:36:01.8249795+00:00",
        "Comment": "sample string 4",
        "CC": [
          "61e7e454-83a4-4735-8985-83166fda6d47",
          "e37d64dd-85fe-4387-9c74-b903298bf539"
        ],
        "Users": [
          "c21f671a-7a7d-489c-99ca-8a722070e50c",
          "cd7c5867-8bfe-420c-b2da-ea624da53b32"
        ]
      }
    ],
    "StartDate": "2024-10-18T08:36:01.8249795+00:00",
    "DueDate": "2024-10-18T08:36:01.8249795+00:00",
    "TaskScheduleType": 0,
    "StatusUpdate": {
      "ResourceReplacements": {
        "5622a2e3-0850-43fe-8566-df53ce4c8ebe": "8a2ddda7-e9c9-4701-8555-82aa3a1dfd2c",
        "c975c58b-1b0e-4ddd-ba94-a495302b62bc": "1accb210-ada8-4002-a5a8-d781478d1e46"
      },
      "HasUpdates": true,
      "Modified": "2024-10-18T08:36:01.8249795+00:00",
      "Editor": "sample string 3",
      "Fields": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "CalcFields": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "State": 0,
      "ApproveRejectBy": "sample string 4",
      "ApproveRejectDate": "2024-10-18T08:36:01.8249795+00:00"
    },
    "LastComment": "2024-10-18T08:36:01.8249795+00:00",
    "IsScheduled": true,
    "Integration": {
      "IntegrationId": "fe5b0080-07cc-4348-ae8d-c831004c0640",
      "ExternalItemId": "sample string 2",
      "ExternalUrl": "sample string 3",
      "ReadOnlyFields": [
        "sample string 1",
        "sample string 2"
      ]
    },
    "WorkPlanId": "4479f6f0-d886-48d1-b6bb-700ceadcee6c",
    "id": "747e6885-2fd1-4a81-aa15-7db4d763762b",
    "ConfigId": "68136cfc-2589-49c7-8943-63098144c52d"
  },
  "Plan": {
    "Name": "sample string 1",
    "Archived": true,
    "Author": "7fed9dff-19cc-4ec9-b2a8-891e1a67a8f6",
    "Created": "2024-10-18T08:36:01.8249795+00:00",
    "Modified": "2024-10-18T08:36:01.8249795+00:00",
    "Editor": "cfda4385-3ecf-4632-899c-1d72a9f43eee",
    "PlannerTypeId": "5108b248-7bb5-4355-9a88-baf8370a9e09",
    "ParentPlanId": "06ecbe0a-8d15-4447-8b4e-3316c1e0e836",
    "PortfolioParentId": "7601152e-808d-4eee-9b19-b9de0b01e6ed",
    "PortfolioOrder": 9,
    "UserList": [
      {},
      {}
    ],
    "InheritUserList": [
      {},
      {}
    ],
    "TeamList": [
      {},
      {}
    ],
    "InheritTeamList": [
      {},
      {}
    ],
    "Fields": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "SummaryFields": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "Folder": true,
    "Fragment": true,
    "FragmentInfo": {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Category": "sample string 3",
      "WorkTypes": "sample string 4",
      "Personal": true
    },
    "Hidden": true,
    "Comments": [
      {
        "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
        "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
        "PostDate": "2024-10-18T08:36:01.8249795+00:00",
        "Comment": "sample string 4",
        "CC": [
          "61e7e454-83a4-4735-8985-83166fda6d47",
          "e37d64dd-85fe-4387-9c74-b903298bf539"
        ],
        "Users": [
          "c21f671a-7a7d-489c-99ca-8a722070e50c",
          "cd7c5867-8bfe-420c-b2da-ea624da53b32"
        ]
      },
      {
        "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
        "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
        "PostDate": "2024-10-18T08:36:01.8249795+00:00",
        "Comment": "sample string 4",
        "CC": [
          "61e7e454-83a4-4735-8985-83166fda6d47",
          "e37d64dd-85fe-4387-9c74-b903298bf539"
        ],
        "Users": [
          "c21f671a-7a7d-489c-99ca-8a722070e50c",
          "cd7c5867-8bfe-420c-b2da-ea624da53b32"
        ]
      }
    ],
    "LastComment": "2024-10-18T08:36:01.8249795+00:00",
    "DateSets": [
      {
        "CostTypeId": "bf0d3e4a-9676-439b-83e5-438ddf259f58",
        "SetType": 0,
        "StartDate": "2024-10-18T08:36:01.8249795+00:00",
        "EndDate": "2024-10-18T08:36:01.8249795+00:00"
      },
      {
        "CostTypeId": "bf0d3e4a-9676-439b-83e5-438ddf259f58",
        "SetType": 0,
        "StartDate": "2024-10-18T08:36:01.8249795+00:00",
        "EndDate": "2024-10-18T08:36:01.8249795+00:00"
      }
    ],
    "Integrations": [
      {
        "IntegrationId": "918bf441-2fa7-4532-93af-00d0be4f1123",
        "ItemUrl": "sample string 2",
        "ItemId": "sample string 3",
        "TransactionId": "4ec59e82-6593-4fa9-afe1-c2ecbab1f504",
        "LastExport": "2024-10-18T08:36:01.8249795+00:00",
        "LastImport": "2024-10-18T08:36:01.8249795+00:00",
        "IntegrationVersion": 7,
        "Properties": {
          "sample string 1": {},
          "sample string 3": {}
        }
      },
      {
        "IntegrationId": "918bf441-2fa7-4532-93af-00d0be4f1123",
        "ItemUrl": "sample string 2",
        "ItemId": "sample string 3",
        "TransactionId": "4ec59e82-6593-4fa9-afe1-c2ecbab1f504",
        "LastExport": "2024-10-18T08:36:01.8249795+00:00",
        "LastImport": "2024-10-18T08:36:01.8249795+00:00",
        "IntegrationVersion": 7,
        "Properties": {
          "sample string 1": {},
          "sample string 3": {}
        }
      }
    ],
    "Snapshots": [
      {
        "Date": "2024-10-18T08:36:01.8249795+00:00",
        "StatusReportId": "99135413-3a42-46ba-991c-025e3bfa1d6a",
        "Fields": {
          "sample string 1": {},
          "sample string 3": {}
        }
      },
      {
        "Date": "2024-10-18T08:36:01.8249795+00:00",
        "StatusReportId": "99135413-3a42-46ba-991c-025e3bfa1d6a",
        "Fields": {
          "sample string 1": {},
          "sample string 3": {}
        }
      }
    ],
    "SubPlans": [
      "d9ad583e-fb1e-45d8-88de-70c07f8092e3",
      "4e4e7cf0-1458-42e6-9a2c-96441369f539"
    ],
    "PlanNumber": "sample string 14",
    "RateTables": [
      {
        "Id": "89b2d55a-e776-46f1-bd6b-6d49a7cf8704",
        "Name": "sample string 2",
        "Multipliers": [
          {
            "Start": "2024-10-18T08:36:01.8406039+00:00",
            "End": "2024-10-18T08:36:01.8406039+00:00",
            "PercentRevenue": 3.0,
            "PercentCost": 4.0
          },
          {
            "Start": "2024-10-18T08:36:01.8406039+00:00",
            "End": "2024-10-18T08:36:01.8406039+00:00",
            "PercentRevenue": 3.0,
            "PercentCost": 4.0
          }
        ],
        "ResourceRates": [
          {
            "ResourceId": "b2e4141d-1f7a-46b2-9f55-b9188a4bb063",
            "BaseRate": 2.0
          },
          {
            "ResourceId": "b2e4141d-1f7a-46b2-9f55-b9188a4bb063",
            "BaseRate": 2.0
          }
        ]
      },
      {
        "Id": "89b2d55a-e776-46f1-bd6b-6d49a7cf8704",
        "Name": "sample string 2",
        "Multipliers": [
          {
            "Start": "2024-10-18T08:36:01.8406039+00:00",
            "End": "2024-10-18T08:36:01.8406039+00:00",
            "PercentRevenue": 3.0,
            "PercentCost": 4.0
          },
          {
            "Start": "2024-10-18T08:36:01.8406039+00:00",
            "End": "2024-10-18T08:36:01.8406039+00:00",
            "PercentRevenue": 3.0,
            "PercentCost": 4.0
          }
        ],
        "ResourceRates": [
          {
            "ResourceId": "b2e4141d-1f7a-46b2-9f55-b9188a4bb063",
            "BaseRate": 2.0
          },
          {
            "ResourceId": "b2e4141d-1f7a-46b2-9f55-b9188a4bb063",
            "BaseRate": 2.0
          }
        ]
      }
    ],
    "Splits": [
      {
        "Field": "sample string 1",
        "Value": "861c69c9-3372-4d4c-a9b4-e572fa955862",
        "Split": 3.0,
        "Values": {
          "sample string 1": 2.0,
          "sample string 3": 4.0
        }
      },
      {
        "Field": "sample string 1",
        "Value": "861c69c9-3372-4d4c-a9b4-e572fa955862",
        "Split": 3.0,
        "Values": {
          "sample string 1": 2.0,
          "sample string 3": 4.0
        }
      }
    ],
    "LockInfo": {
      "LockedSid": "3a1c4d23-2aa9-47f0-85c1-27c2ed725389",
      "LockedBy": "2b5b4d67-0eb0-4c54-9469-f24cfe187e08",
      "LockedDate": "2024-10-18T08:36:01.8406039+00:00"
    },
    "LastLocation": "sample string 15",
    "StageGateFlow": {
      "Id": "65850ee3-1d1e-45bc-ab49-7225808fccda",
      "CurrentGateId": "46d9d175-9289-4b06-a59d-fd6e6d218f72",
      "EnteredGate": "2024-10-18T08:36:01.8406039+00:00",
      "ExitedGate": "2024-10-18T08:36:01.8406039+00:00",
      "GateClosed": true,
      "StepStarter": "69eb95f9-40f5-43a4-829d-07cf79b1702e",
      "StepApprover": "56c75333-845c-4db8-959a-d8535fd8c817",
      "ApprovalState": 0,
      "StepState": 0,
      "Comments": "sample string 8",
      "Approvals": [
        {
          "StepId": "851cf920-b2ed-49f2-8747-f2c29e45ba50",
          "AutoApproved": true,
          "Completed": true,
          "Expired": true,
          "ApprovalStates": {
            "b76aacad-4821-4804-b2da-d11ba60476ab": {
              "TaskId": "b9a585a2-74f4-4e59-a26f-42e9772728ed",
              "Status": 0,
              "Comments": [
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                },
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                }
              ]
            },
            "a512205c-548e-4387-91c0-c68d7904aaab": {
              "TaskId": "b9a585a2-74f4-4e59-a26f-42e9772728ed",
              "Status": 0,
              "Comments": [
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                },
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                }
              ]
            }
          }
        },
        {
          "StepId": "851cf920-b2ed-49f2-8747-f2c29e45ba50",
          "AutoApproved": true,
          "Completed": true,
          "Expired": true,
          "ApprovalStates": {
            "b76aacad-4821-4804-b2da-d11ba60476ab": {
              "TaskId": "b9a585a2-74f4-4e59-a26f-42e9772728ed",
              "Status": 0,
              "Comments": [
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                },
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                }
              ]
            },
            "a512205c-548e-4387-91c0-c68d7904aaab": {
              "TaskId": "b9a585a2-74f4-4e59-a26f-42e9772728ed",
              "Status": 0,
              "Comments": [
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                },
                {
                  "Id": "fb88e29a-8858-4558-899e-bb9540814c9e",
                  "UPN": "a3e29a1b-4cc1-47a2-86f1-21b9c3f812f6",
                  "PostDate": "2024-10-18T08:36:01.8249795+00:00",
                  "Comment": "sample string 4",
                  "CC": [
                    "61e7e454-83a4-4735-8985-83166fda6d47",
                    "e37d64dd-85fe-4387-9c74-b903298bf539"
                  ],
                  "Users": [
                    "c21f671a-7a7d-489c-99ca-8a722070e50c",
                    "cd7c5867-8bfe-420c-b2da-ea624da53b32"
                  ]
                }
              ]
            }
          }
        }
      ],
      "RulesRejected": [
        {
          "Id": "a7074f0b-f633-4c1f-a781-edce98a63042",
          "Name": "sample string 2",
          "FailureText": "sample string 3",
          "Filter": "sample string 4"
        },
        {
          "Id": "a7074f0b-f633-4c1f-a781-edce98a63042",
          "Name": "sample string 2",
          "FailureText": "sample string 3",
          "Filter": "sample string 4"
        }
      ],
      "ApprovalRejectionOrFailReason": "sample string 9"
    },
    "id": "edfa69c8-33cb-4b58-8b31-6ab5322fba15",
    "ConfigId": "3b9156b9-10c8-46d5-8196-54005e63089d"
  },
  "PeriodFound": true,
  "PeriodClosed": true,
  "TaskFound": true,
  "RowFound": true,
  "TotalUsedHours": 5.0,
  "Hours": {
    "c0141ef4-de00-44cd-a13d-8b5deb1ae77b": 2.0,
    "97a3ca65-0076-48d1-9027-dd5cf1684e70": 4.0
  }
}