GET api/mywork/tasks?PeriodStart={PeriodStart}&PeriodEnd={PeriodEnd}&ShowComplete={ShowComplete}&UserId={UserId}
Get My Work for period
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PeriodStart |
If not defined Start = today-30 |
date |
None. |
PeriodEnd |
If not defined End = today + 20 years |
date |
None. |
ShowComplete |
True to show all tasks including completed |
boolean |
Default value is False |
UserId |
UserId instead of current user (Can only be used with api key) |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkPlanTaskName | Description | Type | Additional information |
---|---|---|---|
WorkTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Created | date |
None. |
|
Modified | date |
None. |
|
Author | string |
None. |
|
Editor | string |
None. |
|
AssignedTo | Collection of globally unique identifier |
None. |
|
NonLaborAssignments | Collection of TaskNonLaborAssignment |
None. |
|
Assignments | Collection of TaskAssignment |
None. |
|
ParentId | globally unique identifier |
None. |
|
WorkTypeParentId | globally unique identifier |
None. |
|
WorkTypeIndex | integer |
None. |
|
Fields | Dictionary of string [key] and Object [value] |
None. |
|
Index | integer |
None. |
|
Complete | boolean |
None. |
|
Comments | Collection of TaskComment |
None. |
|
StartDate | date |
None. |
|
DueDate | date |
None. |
|
TaskScheduleType | TaskType |
None. |
|
StatusUpdate | StatusUpdateClass |
None. |
|
LastComment | date |
None. |
|
IsScheduled | boolean |
None. |
|
Integration | TaskIntegrationInfo |
None. |
|
WorkPlanId | globally unique identifier |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "WorkTypeId": "8e778043-98e2-499d-9c50-0bd4326a93db", "Name": "sample string 1", "Created": "2025-07-02T04:15:33.7422839+00:00", "Modified": "2025-07-02T04:15:33.7422839+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "e919c317-776f-477b-9733-333940030b24", "085f7d3d-c7b5-4693-b554-e4a038ed862d" ], "NonLaborAssignments": [ { "Id": "c1efa8dc-bcda-40d5-badd-45b923351d5f", "ResourceId": "3e5a2d49-e658-4cc0-941a-fee74c016e3b", "Quantity": 3.0 }, { "Id": "c1efa8dc-bcda-40d5-badd-45b923351d5f", "ResourceId": "3e5a2d49-e658-4cc0-941a-fee74c016e3b", "Quantity": 3.0 } ], "Assignments": [ { "Id": "668fc12b-49e5-4be6-972e-443d83072fb3", "Type": 0, "ResourceId": "671abb77-1fdf-4050-9bbf-5c415b753c50", "Units": 3.0 }, { "Id": "668fc12b-49e5-4be6-972e-443d83072fb3", "Type": 0, "ResourceId": "671abb77-1fdf-4050-9bbf-5c415b753c50", "Units": 3.0 } ], "ParentId": "6023d4d9-40fc-46de-8b92-3130d57f87a4", "WorkTypeParentId": "1d9791da-bf70-4256-a4fe-29a744c236e5", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "91281e19-f1c9-483a-8fb7-dbf65781f735", "UPN": "bd0c0675-1047-439c-b1cc-17c6d6ca868c", "PostDate": "2025-07-02T04:15:33.7422839+00:00", "Comment": "sample string 4", "CC": [ "7433f761-cdd7-487a-993d-e50ca2e8b67b", "9a112156-203b-4875-becf-42287b219b03" ], "Users": [ "13ec590e-124d-4a96-b0a7-ac82422eb784", "20114f04-a292-44e5-a17d-efa3e00a3bbf" ] }, { "Id": "91281e19-f1c9-483a-8fb7-dbf65781f735", "UPN": "bd0c0675-1047-439c-b1cc-17c6d6ca868c", "PostDate": "2025-07-02T04:15:33.7422839+00:00", "Comment": "sample string 4", "CC": [ "7433f761-cdd7-487a-993d-e50ca2e8b67b", "9a112156-203b-4875-becf-42287b219b03" ], "Users": [ "13ec590e-124d-4a96-b0a7-ac82422eb784", "20114f04-a292-44e5-a17d-efa3e00a3bbf" ] } ], "StartDate": "2025-07-02T04:15:33.7422839+00:00", "DueDate": "2025-07-02T04:15:33.7422839+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "6bdcf74f-b34b-43fd-a0b5-1adde444a2cc": "e10a3751-a8c5-4887-ba6b-e5e9c0b205c3", "0d303d7a-ec67-40b9-9c98-d84de7339053": "f313023c-9e33-491b-ab39-8a2c65a7212e" }, "HasUpdates": true, "Modified": "2025-07-02T04:15:33.7422839+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": "2025-07-02T04:15:33.7422839+00:00" }, "LastComment": "2025-07-02T04:15:33.7422839+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "dbe93bdb-150c-468e-bdb0-185581ec4f12", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "70d7f8e2-8aea-4d3c-abac-271f75ed6744", "id": "5265fdd9-a8d8-492e-a2cb-0950f82fe201", "ConfigId": "69c6ad54-659b-43c6-b29d-d2e7e5f6a84d" }, { "WorkTypeId": "8e778043-98e2-499d-9c50-0bd4326a93db", "Name": "sample string 1", "Created": "2025-07-02T04:15:33.7422839+00:00", "Modified": "2025-07-02T04:15:33.7422839+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "e919c317-776f-477b-9733-333940030b24", "085f7d3d-c7b5-4693-b554-e4a038ed862d" ], "NonLaborAssignments": [ { "Id": "c1efa8dc-bcda-40d5-badd-45b923351d5f", "ResourceId": "3e5a2d49-e658-4cc0-941a-fee74c016e3b", "Quantity": 3.0 }, { "Id": "c1efa8dc-bcda-40d5-badd-45b923351d5f", "ResourceId": "3e5a2d49-e658-4cc0-941a-fee74c016e3b", "Quantity": 3.0 } ], "Assignments": [ { "Id": "668fc12b-49e5-4be6-972e-443d83072fb3", "Type": 0, "ResourceId": "671abb77-1fdf-4050-9bbf-5c415b753c50", "Units": 3.0 }, { "Id": "668fc12b-49e5-4be6-972e-443d83072fb3", "Type": 0, "ResourceId": "671abb77-1fdf-4050-9bbf-5c415b753c50", "Units": 3.0 } ], "ParentId": "6023d4d9-40fc-46de-8b92-3130d57f87a4", "WorkTypeParentId": "1d9791da-bf70-4256-a4fe-29a744c236e5", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "91281e19-f1c9-483a-8fb7-dbf65781f735", "UPN": "bd0c0675-1047-439c-b1cc-17c6d6ca868c", "PostDate": "2025-07-02T04:15:33.7422839+00:00", "Comment": "sample string 4", "CC": [ "7433f761-cdd7-487a-993d-e50ca2e8b67b", "9a112156-203b-4875-becf-42287b219b03" ], "Users": [ "13ec590e-124d-4a96-b0a7-ac82422eb784", "20114f04-a292-44e5-a17d-efa3e00a3bbf" ] }, { "Id": "91281e19-f1c9-483a-8fb7-dbf65781f735", "UPN": "bd0c0675-1047-439c-b1cc-17c6d6ca868c", "PostDate": "2025-07-02T04:15:33.7422839+00:00", "Comment": "sample string 4", "CC": [ "7433f761-cdd7-487a-993d-e50ca2e8b67b", "9a112156-203b-4875-becf-42287b219b03" ], "Users": [ "13ec590e-124d-4a96-b0a7-ac82422eb784", "20114f04-a292-44e5-a17d-efa3e00a3bbf" ] } ], "StartDate": "2025-07-02T04:15:33.7422839+00:00", "DueDate": "2025-07-02T04:15:33.7422839+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "6bdcf74f-b34b-43fd-a0b5-1adde444a2cc": "e10a3751-a8c5-4887-ba6b-e5e9c0b205c3", "0d303d7a-ec67-40b9-9c98-d84de7339053": "f313023c-9e33-491b-ab39-8a2c65a7212e" }, "HasUpdates": true, "Modified": "2025-07-02T04:15:33.7422839+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": "2025-07-02T04:15:33.7422839+00:00" }, "LastComment": "2025-07-02T04:15:33.7422839+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "dbe93bdb-150c-468e-bdb0-185581ec4f12", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "70d7f8e2-8aea-4d3c-abac-271f75ed6744", "id": "5265fdd9-a8d8-492e-a2cb-0950f82fe201", "ConfigId": "69c6ad54-659b-43c6-b29d-d2e7e5f6a84d" } ]