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": "64d7360b-2082-42ee-9726-e17d16c0061d", "Name": "sample string 1", "Created": "2025-05-23T21:29:31.1909474+00:00", "Modified": "2025-05-23T21:29:31.1909474+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "a9872b18-1794-4951-9d73-ade11558fa63", "54787791-60b0-4983-b209-f7738a79e27d" ], "Assignments": [ { "Id": "42666ddb-5c92-4494-86be-3d8de74564fd", "Type": 0, "ResourceId": "5b80d82f-64f5-47f7-8750-c835ff15de90", "Units": 3.0 }, { "Id": "42666ddb-5c92-4494-86be-3d8de74564fd", "Type": 0, "ResourceId": "5b80d82f-64f5-47f7-8750-c835ff15de90", "Units": 3.0 } ], "ParentId": "bf8c58da-c3ad-4539-95a0-471ca5b9107e", "WorkTypeParentId": "4e5b543f-6a04-423e-80ae-f52ad662f9a6", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "87bcb9f2-58ef-431f-9662-2f1252623f8a", "UPN": "e96dea18-f246-4f7b-9924-b93881b5c431", "PostDate": "2025-05-23T21:29:31.1909474+00:00", "Comment": "sample string 4", "CC": [ "6ad116cc-354b-4ce8-98a1-355e9ed34a2c", "d5587ded-65f9-4845-9020-df9e9ced3217" ], "Users": [ "e9a6747d-9c02-48a6-8f48-b846ef4583b2", "da4b8f6b-875d-473b-b8bc-313e12dddf48" ] }, { "Id": "87bcb9f2-58ef-431f-9662-2f1252623f8a", "UPN": "e96dea18-f246-4f7b-9924-b93881b5c431", "PostDate": "2025-05-23T21:29:31.1909474+00:00", "Comment": "sample string 4", "CC": [ "6ad116cc-354b-4ce8-98a1-355e9ed34a2c", "d5587ded-65f9-4845-9020-df9e9ced3217" ], "Users": [ "e9a6747d-9c02-48a6-8f48-b846ef4583b2", "da4b8f6b-875d-473b-b8bc-313e12dddf48" ] } ], "StartDate": "2025-05-23T21:29:31.1909474+00:00", "DueDate": "2025-05-23T21:29:31.1909474+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "2ca93642-15fc-4959-9ac6-0097e6df8a1e": "a6e2e273-ffbe-4aa9-a34e-803c5e578bee", "80b5ef4b-0303-475f-9413-f070f377a780": "87a257b0-95de-486e-9198-5593c65b5770" }, "HasUpdates": true, "Modified": "2025-05-23T21:29:31.1909474+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-05-23T21:29:31.1909474+00:00" }, "LastComment": "2025-05-23T21:29:31.1909474+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "b046e5a2-e038-407e-87c6-e5b7e50959cc", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "3a1f6936-9ddc-424e-816f-2f7c8a8700bd", "id": "31246757-01e2-4eb5-8c41-16ee88b4ae3b", "ConfigId": "3d1c2906-7db1-40fb-b02c-5d872aa57a5c" }, { "WorkTypeId": "64d7360b-2082-42ee-9726-e17d16c0061d", "Name": "sample string 1", "Created": "2025-05-23T21:29:31.1909474+00:00", "Modified": "2025-05-23T21:29:31.1909474+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "a9872b18-1794-4951-9d73-ade11558fa63", "54787791-60b0-4983-b209-f7738a79e27d" ], "Assignments": [ { "Id": "42666ddb-5c92-4494-86be-3d8de74564fd", "Type": 0, "ResourceId": "5b80d82f-64f5-47f7-8750-c835ff15de90", "Units": 3.0 }, { "Id": "42666ddb-5c92-4494-86be-3d8de74564fd", "Type": 0, "ResourceId": "5b80d82f-64f5-47f7-8750-c835ff15de90", "Units": 3.0 } ], "ParentId": "bf8c58da-c3ad-4539-95a0-471ca5b9107e", "WorkTypeParentId": "4e5b543f-6a04-423e-80ae-f52ad662f9a6", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "87bcb9f2-58ef-431f-9662-2f1252623f8a", "UPN": "e96dea18-f246-4f7b-9924-b93881b5c431", "PostDate": "2025-05-23T21:29:31.1909474+00:00", "Comment": "sample string 4", "CC": [ "6ad116cc-354b-4ce8-98a1-355e9ed34a2c", "d5587ded-65f9-4845-9020-df9e9ced3217" ], "Users": [ "e9a6747d-9c02-48a6-8f48-b846ef4583b2", "da4b8f6b-875d-473b-b8bc-313e12dddf48" ] }, { "Id": "87bcb9f2-58ef-431f-9662-2f1252623f8a", "UPN": "e96dea18-f246-4f7b-9924-b93881b5c431", "PostDate": "2025-05-23T21:29:31.1909474+00:00", "Comment": "sample string 4", "CC": [ "6ad116cc-354b-4ce8-98a1-355e9ed34a2c", "d5587ded-65f9-4845-9020-df9e9ced3217" ], "Users": [ "e9a6747d-9c02-48a6-8f48-b846ef4583b2", "da4b8f6b-875d-473b-b8bc-313e12dddf48" ] } ], "StartDate": "2025-05-23T21:29:31.1909474+00:00", "DueDate": "2025-05-23T21:29:31.1909474+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "2ca93642-15fc-4959-9ac6-0097e6df8a1e": "a6e2e273-ffbe-4aa9-a34e-803c5e578bee", "80b5ef4b-0303-475f-9413-f070f377a780": "87a257b0-95de-486e-9198-5593c65b5770" }, "HasUpdates": true, "Modified": "2025-05-23T21:29:31.1909474+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-05-23T21:29:31.1909474+00:00" }, "LastComment": "2025-05-23T21:29:31.1909474+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "b046e5a2-e038-407e-87c6-e5b7e50959cc", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "3a1f6936-9ddc-424e-816f-2f7c8a8700bd", "id": "31246757-01e2-4eb5-8c41-16ee88b4ae3b", "ConfigId": "3d1c2906-7db1-40fb-b02c-5d872aa57a5c" } ]