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. |
|
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": "98f2c083-7612-40e9-8f6d-947ed52b90d0", "Name": "sample string 1", "Created": "2024-12-18T20:12:35.8311597+00:00", "Modified": "2024-12-18T20:12:35.8311597+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "3cd6d226-dd6e-44c5-9f92-dbd0813a20ad", "bbf9f8f8-73a0-4142-b89c-88856ca65c0b" ], "Assignments": [ { "Id": "d6e30cfa-5fe4-423e-bbd3-e8cf90eff89d", "Type": 0, "ResourceId": "221514fb-ae60-4271-a921-6bc6ad83a2d6", "Units": 3.0 }, { "Id": "d6e30cfa-5fe4-423e-bbd3-e8cf90eff89d", "Type": 0, "ResourceId": "221514fb-ae60-4271-a921-6bc6ad83a2d6", "Units": 3.0 } ], "ParentId": "5e1cd857-6389-445f-81b9-471111208ac7", "WorkTypeParentId": "6bd16a61-7382-4ede-a146-d86b0f6dbfac", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "ef6b2082-321b-449f-a617-89ec5aa71d0d", "UPN": "57a62b11-5a40-40eb-a744-7e000c327613", "PostDate": "2024-12-18T20:12:35.8311597+00:00", "Comment": "sample string 4", "CC": [ "39b8ce3f-cf87-49c7-b77b-1d7df7c04603", "7b6019fd-fdab-49a9-883f-530be2f989ad" ], "Users": [ "a4207259-be7f-4fa5-b4bd-a27d6273da87", "0f6def7f-d02b-4306-9447-12e6dd33cd55" ] }, { "Id": "ef6b2082-321b-449f-a617-89ec5aa71d0d", "UPN": "57a62b11-5a40-40eb-a744-7e000c327613", "PostDate": "2024-12-18T20:12:35.8311597+00:00", "Comment": "sample string 4", "CC": [ "39b8ce3f-cf87-49c7-b77b-1d7df7c04603", "7b6019fd-fdab-49a9-883f-530be2f989ad" ], "Users": [ "a4207259-be7f-4fa5-b4bd-a27d6273da87", "0f6def7f-d02b-4306-9447-12e6dd33cd55" ] } ], "StartDate": "2024-12-18T20:12:35.8311597+00:00", "DueDate": "2024-12-18T20:12:35.8311597+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "e76bb025-5648-488e-b97f-617f06ac07ed": "59a86660-b415-463e-9c80-a6f2835974df", "177ba42f-4bc4-46ac-92f4-0468f5a05839": "2bca0a1e-5610-441c-9556-9260ba28832b" }, "HasUpdates": true, "Modified": "2024-12-18T20:12:35.8311597+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-12-18T20:12:35.8311597+00:00" }, "LastComment": "2024-12-18T20:12:35.8311597+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "8ffcbcba-f08c-4f37-8476-354fb5f3afeb", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "71e1cb7c-0bc0-45e2-9ee0-5c1827bd2c28", "id": "77b0d62a-4309-4165-b820-c5fdaa641b96", "ConfigId": "4b791b6d-4aea-4a09-bf3a-394151226493" }, { "WorkTypeId": "98f2c083-7612-40e9-8f6d-947ed52b90d0", "Name": "sample string 1", "Created": "2024-12-18T20:12:35.8311597+00:00", "Modified": "2024-12-18T20:12:35.8311597+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "3cd6d226-dd6e-44c5-9f92-dbd0813a20ad", "bbf9f8f8-73a0-4142-b89c-88856ca65c0b" ], "Assignments": [ { "Id": "d6e30cfa-5fe4-423e-bbd3-e8cf90eff89d", "Type": 0, "ResourceId": "221514fb-ae60-4271-a921-6bc6ad83a2d6", "Units": 3.0 }, { "Id": "d6e30cfa-5fe4-423e-bbd3-e8cf90eff89d", "Type": 0, "ResourceId": "221514fb-ae60-4271-a921-6bc6ad83a2d6", "Units": 3.0 } ], "ParentId": "5e1cd857-6389-445f-81b9-471111208ac7", "WorkTypeParentId": "6bd16a61-7382-4ede-a146-d86b0f6dbfac", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "ef6b2082-321b-449f-a617-89ec5aa71d0d", "UPN": "57a62b11-5a40-40eb-a744-7e000c327613", "PostDate": "2024-12-18T20:12:35.8311597+00:00", "Comment": "sample string 4", "CC": [ "39b8ce3f-cf87-49c7-b77b-1d7df7c04603", "7b6019fd-fdab-49a9-883f-530be2f989ad" ], "Users": [ "a4207259-be7f-4fa5-b4bd-a27d6273da87", "0f6def7f-d02b-4306-9447-12e6dd33cd55" ] }, { "Id": "ef6b2082-321b-449f-a617-89ec5aa71d0d", "UPN": "57a62b11-5a40-40eb-a744-7e000c327613", "PostDate": "2024-12-18T20:12:35.8311597+00:00", "Comment": "sample string 4", "CC": [ "39b8ce3f-cf87-49c7-b77b-1d7df7c04603", "7b6019fd-fdab-49a9-883f-530be2f989ad" ], "Users": [ "a4207259-be7f-4fa5-b4bd-a27d6273da87", "0f6def7f-d02b-4306-9447-12e6dd33cd55" ] } ], "StartDate": "2024-12-18T20:12:35.8311597+00:00", "DueDate": "2024-12-18T20:12:35.8311597+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "e76bb025-5648-488e-b97f-617f06ac07ed": "59a86660-b415-463e-9c80-a6f2835974df", "177ba42f-4bc4-46ac-92f4-0468f5a05839": "2bca0a1e-5610-441c-9556-9260ba28832b" }, "HasUpdates": true, "Modified": "2024-12-18T20:12:35.8311597+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-12-18T20:12:35.8311597+00:00" }, "LastComment": "2024-12-18T20:12:35.8311597+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "8ffcbcba-f08c-4f37-8476-354fb5f3afeb", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "71e1cb7c-0bc0-45e2-9ee0-5c1827bd2c28", "id": "77b0d62a-4309-4165-b820-c5fdaa641b96", "ConfigId": "4b791b6d-4aea-4a09-bf3a-394151226493" } ]