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": "cb0268a7-6d94-41a7-b208-903ab315aff1", "Name": "sample string 1", "Created": "2025-09-13T00:46:53.076972+00:00", "Modified": "2025-09-13T00:46:53.076972+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "342abf18-32e6-4dbb-b324-a4ca05dd3a01", "c43d02cd-7cc5-48ed-88d6-9901421a2b55" ], "NonLaborAssignments": [ { "Id": "a700b20e-2d86-4a7b-a2ea-e739b73da72d", "ResourceId": "4545c100-fa32-426b-b3e5-85f97f1c0f19", "Quantity": 3.0 }, { "Id": "a700b20e-2d86-4a7b-a2ea-e739b73da72d", "ResourceId": "4545c100-fa32-426b-b3e5-85f97f1c0f19", "Quantity": 3.0 } ], "Assignments": [ { "Id": "9b4004eb-b7f9-4dae-9098-61f43761bd17", "Type": 0, "ResourceId": "69bc9ca7-8d99-46c2-b0d5-3462a499bec0", "Units": 3.0 }, { "Id": "9b4004eb-b7f9-4dae-9098-61f43761bd17", "Type": 0, "ResourceId": "69bc9ca7-8d99-46c2-b0d5-3462a499bec0", "Units": 3.0 } ], "ParentId": "f735aa42-3682-4abb-bbef-1e24837bd5fa", "WorkTypeParentId": "edad05b1-19f0-4e1c-a6dd-6c8a86801d2c", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "50e80630-bf25-4f56-9bf2-2de1480fce0b", "UPN": "d6c4e6da-a8be-4203-9c97-484bd0d86ea9", "PostDate": "2025-09-13T00:46:53.076972+00:00", "Comment": "sample string 4", "CC": [ "6afa246a-631c-489d-8fe2-b537a6df0787", "fd3a206c-5ad0-42b0-8be8-a3f7e89dadfc" ], "Users": [ "4f75582e-57fa-424a-b881-915590aefb24", "20b4f3c2-d02f-46c4-bd05-444ff860541f" ] }, { "Id": "50e80630-bf25-4f56-9bf2-2de1480fce0b", "UPN": "d6c4e6da-a8be-4203-9c97-484bd0d86ea9", "PostDate": "2025-09-13T00:46:53.076972+00:00", "Comment": "sample string 4", "CC": [ "6afa246a-631c-489d-8fe2-b537a6df0787", "fd3a206c-5ad0-42b0-8be8-a3f7e89dadfc" ], "Users": [ "4f75582e-57fa-424a-b881-915590aefb24", "20b4f3c2-d02f-46c4-bd05-444ff860541f" ] } ], "StartDate": "2025-09-13T00:46:53.076972+00:00", "DueDate": "2025-09-13T00:46:53.076972+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "95dec43c-6883-4d89-ba96-7c852e383cc1": "850cc6f2-791c-42f4-a184-2738d67cdfb8", "2a037c5e-1e3d-442c-9251-413f27cbca30": "58b86137-85a6-4f8d-b364-ef2d4e6ee0cf" }, "HasUpdates": true, "Modified": "2025-09-13T00:46:53.076972+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-09-13T00:46:53.076972+00:00" }, "LastComment": "2025-09-13T00:46:53.076972+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "e49a6ca4-8cbb-44ec-8bae-2188ff9a53e2", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "d5336981-21be-4eb7-8378-146f52d2d41e", "id": "52388b34-2bd9-43a5-a3ee-f0bf7745a67e", "ConfigId": "24bdc19d-a577-4efb-aa05-5e362fffa9bd" }, { "WorkTypeId": "cb0268a7-6d94-41a7-b208-903ab315aff1", "Name": "sample string 1", "Created": "2025-09-13T00:46:53.076972+00:00", "Modified": "2025-09-13T00:46:53.076972+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "342abf18-32e6-4dbb-b324-a4ca05dd3a01", "c43d02cd-7cc5-48ed-88d6-9901421a2b55" ], "NonLaborAssignments": [ { "Id": "a700b20e-2d86-4a7b-a2ea-e739b73da72d", "ResourceId": "4545c100-fa32-426b-b3e5-85f97f1c0f19", "Quantity": 3.0 }, { "Id": "a700b20e-2d86-4a7b-a2ea-e739b73da72d", "ResourceId": "4545c100-fa32-426b-b3e5-85f97f1c0f19", "Quantity": 3.0 } ], "Assignments": [ { "Id": "9b4004eb-b7f9-4dae-9098-61f43761bd17", "Type": 0, "ResourceId": "69bc9ca7-8d99-46c2-b0d5-3462a499bec0", "Units": 3.0 }, { "Id": "9b4004eb-b7f9-4dae-9098-61f43761bd17", "Type": 0, "ResourceId": "69bc9ca7-8d99-46c2-b0d5-3462a499bec0", "Units": 3.0 } ], "ParentId": "f735aa42-3682-4abb-bbef-1e24837bd5fa", "WorkTypeParentId": "edad05b1-19f0-4e1c-a6dd-6c8a86801d2c", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "50e80630-bf25-4f56-9bf2-2de1480fce0b", "UPN": "d6c4e6da-a8be-4203-9c97-484bd0d86ea9", "PostDate": "2025-09-13T00:46:53.076972+00:00", "Comment": "sample string 4", "CC": [ "6afa246a-631c-489d-8fe2-b537a6df0787", "fd3a206c-5ad0-42b0-8be8-a3f7e89dadfc" ], "Users": [ "4f75582e-57fa-424a-b881-915590aefb24", "20b4f3c2-d02f-46c4-bd05-444ff860541f" ] }, { "Id": "50e80630-bf25-4f56-9bf2-2de1480fce0b", "UPN": "d6c4e6da-a8be-4203-9c97-484bd0d86ea9", "PostDate": "2025-09-13T00:46:53.076972+00:00", "Comment": "sample string 4", "CC": [ "6afa246a-631c-489d-8fe2-b537a6df0787", "fd3a206c-5ad0-42b0-8be8-a3f7e89dadfc" ], "Users": [ "4f75582e-57fa-424a-b881-915590aefb24", "20b4f3c2-d02f-46c4-bd05-444ff860541f" ] } ], "StartDate": "2025-09-13T00:46:53.076972+00:00", "DueDate": "2025-09-13T00:46:53.076972+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "95dec43c-6883-4d89-ba96-7c852e383cc1": "850cc6f2-791c-42f4-a184-2738d67cdfb8", "2a037c5e-1e3d-442c-9251-413f27cbca30": "58b86137-85a6-4f8d-b364-ef2d4e6ee0cf" }, "HasUpdates": true, "Modified": "2025-09-13T00:46:53.076972+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-09-13T00:46:53.076972+00:00" }, "LastComment": "2025-09-13T00:46:53.076972+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "e49a6ca4-8cbb-44ec-8bae-2188ff9a53e2", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "d5336981-21be-4eb7-8378-146f52d2d41e", "id": "52388b34-2bd9-43a5-a3ee-f0bf7745a67e", "ConfigId": "24bdc19d-a577-4efb-aa05-5e362fffa9bd" } ]