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": "67e208e5-7b0e-4ade-870e-44c8a288f2ce", "Name": "sample string 1", "Created": "2025-07-16T12:35:35.8709449+00:00", "Modified": "2025-07-16T12:35:35.8709449+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "6afadb39-68fd-41a4-bef8-e02292bb22b2", "c4a2de49-3ac9-4613-88c3-79e90e1a7159" ], "NonLaborAssignments": [ { "Id": "dc90f297-a760-4f82-9dc0-54f09fce9fd0", "ResourceId": "9eefa7e5-8b75-4ed4-b914-67b6807149ce", "Quantity": 3.0 }, { "Id": "dc90f297-a760-4f82-9dc0-54f09fce9fd0", "ResourceId": "9eefa7e5-8b75-4ed4-b914-67b6807149ce", "Quantity": 3.0 } ], "Assignments": [ { "Id": "0f429207-42a1-4c7c-9d73-b406f3603a0a", "Type": 0, "ResourceId": "0045cd64-3fa7-45ec-8750-6830ad336c66", "Units": 3.0 }, { "Id": "0f429207-42a1-4c7c-9d73-b406f3603a0a", "Type": 0, "ResourceId": "0045cd64-3fa7-45ec-8750-6830ad336c66", "Units": 3.0 } ], "ParentId": "c02054a0-b792-45cc-a682-3f136e3d69ec", "WorkTypeParentId": "e3928e00-06a0-4073-a543-0f11beb7eb01", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "7d8cde32-f934-47b3-833d-4587ae9e9705", "UPN": "7f13a441-8802-4a59-8226-6a90b26b9ac5", "PostDate": "2025-07-16T12:35:35.8709449+00:00", "Comment": "sample string 4", "CC": [ "531e7eaa-7b2e-40b5-9910-71a71b3b5c85", "c3cacbfd-8e73-49a5-a0f4-ceb84cbf1a6b" ], "Users": [ "3c380444-0801-4019-bed3-eb9664333b71", "621583a4-72cf-42b3-8c8a-2adf1045efa9" ] }, { "Id": "7d8cde32-f934-47b3-833d-4587ae9e9705", "UPN": "7f13a441-8802-4a59-8226-6a90b26b9ac5", "PostDate": "2025-07-16T12:35:35.8709449+00:00", "Comment": "sample string 4", "CC": [ "531e7eaa-7b2e-40b5-9910-71a71b3b5c85", "c3cacbfd-8e73-49a5-a0f4-ceb84cbf1a6b" ], "Users": [ "3c380444-0801-4019-bed3-eb9664333b71", "621583a4-72cf-42b3-8c8a-2adf1045efa9" ] } ], "StartDate": "2025-07-16T12:35:35.8709449+00:00", "DueDate": "2025-07-16T12:35:35.8709449+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "286b26e1-b90c-4afe-876f-fb5a27dd6873": "9d945793-5096-4be6-8233-0892f064d89c", "35f990e7-c18b-49b8-9577-a7801ba23341": "ddff73c2-a0d0-44a9-bc83-bef249ca7d63" }, "HasUpdates": true, "Modified": "2025-07-16T12:35:35.8709449+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-16T12:35:35.8709449+00:00" }, "LastComment": "2025-07-16T12:35:35.8709449+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "3a4009a3-3d3e-4445-a33a-bc08a7b30765", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "aa526b3a-dc05-4fef-86aa-1ce74f458ad3", "id": "ca30868d-f86e-4a7f-9031-bb2c66a10726", "ConfigId": "c95bf625-bd63-4698-8875-932358f9a6c5" }, { "WorkTypeId": "67e208e5-7b0e-4ade-870e-44c8a288f2ce", "Name": "sample string 1", "Created": "2025-07-16T12:35:35.8709449+00:00", "Modified": "2025-07-16T12:35:35.8709449+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "6afadb39-68fd-41a4-bef8-e02292bb22b2", "c4a2de49-3ac9-4613-88c3-79e90e1a7159" ], "NonLaborAssignments": [ { "Id": "dc90f297-a760-4f82-9dc0-54f09fce9fd0", "ResourceId": "9eefa7e5-8b75-4ed4-b914-67b6807149ce", "Quantity": 3.0 }, { "Id": "dc90f297-a760-4f82-9dc0-54f09fce9fd0", "ResourceId": "9eefa7e5-8b75-4ed4-b914-67b6807149ce", "Quantity": 3.0 } ], "Assignments": [ { "Id": "0f429207-42a1-4c7c-9d73-b406f3603a0a", "Type": 0, "ResourceId": "0045cd64-3fa7-45ec-8750-6830ad336c66", "Units": 3.0 }, { "Id": "0f429207-42a1-4c7c-9d73-b406f3603a0a", "Type": 0, "ResourceId": "0045cd64-3fa7-45ec-8750-6830ad336c66", "Units": 3.0 } ], "ParentId": "c02054a0-b792-45cc-a682-3f136e3d69ec", "WorkTypeParentId": "e3928e00-06a0-4073-a543-0f11beb7eb01", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "7d8cde32-f934-47b3-833d-4587ae9e9705", "UPN": "7f13a441-8802-4a59-8226-6a90b26b9ac5", "PostDate": "2025-07-16T12:35:35.8709449+00:00", "Comment": "sample string 4", "CC": [ "531e7eaa-7b2e-40b5-9910-71a71b3b5c85", "c3cacbfd-8e73-49a5-a0f4-ceb84cbf1a6b" ], "Users": [ "3c380444-0801-4019-bed3-eb9664333b71", "621583a4-72cf-42b3-8c8a-2adf1045efa9" ] }, { "Id": "7d8cde32-f934-47b3-833d-4587ae9e9705", "UPN": "7f13a441-8802-4a59-8226-6a90b26b9ac5", "PostDate": "2025-07-16T12:35:35.8709449+00:00", "Comment": "sample string 4", "CC": [ "531e7eaa-7b2e-40b5-9910-71a71b3b5c85", "c3cacbfd-8e73-49a5-a0f4-ceb84cbf1a6b" ], "Users": [ "3c380444-0801-4019-bed3-eb9664333b71", "621583a4-72cf-42b3-8c8a-2adf1045efa9" ] } ], "StartDate": "2025-07-16T12:35:35.8709449+00:00", "DueDate": "2025-07-16T12:35:35.8709449+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "286b26e1-b90c-4afe-876f-fb5a27dd6873": "9d945793-5096-4be6-8233-0892f064d89c", "35f990e7-c18b-49b8-9577-a7801ba23341": "ddff73c2-a0d0-44a9-bc83-bef249ca7d63" }, "HasUpdates": true, "Modified": "2025-07-16T12:35:35.8709449+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-16T12:35:35.8709449+00:00" }, "LastComment": "2025-07-16T12:35:35.8709449+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "3a4009a3-3d3e-4445-a33a-bc08a7b30765", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "aa526b3a-dc05-4fef-86aa-1ce74f458ad3", "id": "ca30868d-f86e-4a7f-9031-bb2c66a10726", "ConfigId": "c95bf625-bd63-4698-8875-932358f9a6c5" } ]