GET api/insights/work?Due={Due}
Get my work
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Due |
0 = Overdue, 1 = This week, 2 = This Month |
integer |
Required |
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": "457b312f-c7da-49ef-abda-e7c70fcaa78a", "Name": "sample string 1", "Created": "2024-12-18T20:06:27.7622156+00:00", "Modified": "2024-12-18T20:06:27.7622156+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "bc3dea0e-f682-446f-9408-0765db352385", "f5b991de-4238-4a4f-a8b7-8a46f65722f9" ], "Assignments": [ { "Id": "d1244cda-1363-46ae-8b87-6fd58362d822", "Type": 0, "ResourceId": "262ed819-f667-4d13-97d6-2a1f2532f350", "Units": 3.0 }, { "Id": "d1244cda-1363-46ae-8b87-6fd58362d822", "Type": 0, "ResourceId": "262ed819-f667-4d13-97d6-2a1f2532f350", "Units": 3.0 } ], "ParentId": "72da416c-4695-4944-a03d-5979443c08d5", "WorkTypeParentId": "3fa6a4f2-769f-4675-89e0-52330e948231", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "f172fa7c-c02f-48d4-a882-fb40e1b3c9ec", "UPN": "616aba61-7d23-489a-a33b-ccba70bf0abe", "PostDate": "2024-12-18T20:06:27.7622156+00:00", "Comment": "sample string 4", "CC": [ "a714fd49-2916-4b6e-8384-f7801abc9c3b", "f6022b2a-43ef-4ead-979f-71430d2519a5" ], "Users": [ "4a20f73f-b4e1-49e9-b9cd-81840c954bb4", "d06e3bd3-d5a6-4bac-af3c-91a7453a384e" ] }, { "Id": "f172fa7c-c02f-48d4-a882-fb40e1b3c9ec", "UPN": "616aba61-7d23-489a-a33b-ccba70bf0abe", "PostDate": "2024-12-18T20:06:27.7622156+00:00", "Comment": "sample string 4", "CC": [ "a714fd49-2916-4b6e-8384-f7801abc9c3b", "f6022b2a-43ef-4ead-979f-71430d2519a5" ], "Users": [ "4a20f73f-b4e1-49e9-b9cd-81840c954bb4", "d06e3bd3-d5a6-4bac-af3c-91a7453a384e" ] } ], "StartDate": "2024-12-18T20:06:27.7622156+00:00", "DueDate": "2024-12-18T20:06:27.7622156+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "086c976a-c801-45bb-a69a-4e46299958de": "caccdbfd-ca54-43c0-961f-03095bf89095", "57cfad8f-a74a-4e78-a0c2-334ef0eb9194": "7fbcd0ce-49ad-4c35-bc23-64045a82a67d" }, "HasUpdates": true, "Modified": "2024-12-18T20:06:27.7622156+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:06:27.7622156+00:00" }, "LastComment": "2024-12-18T20:06:27.7622156+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "72dcc1e1-0d71-4809-b4a4-a0c093e50352", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "ca68f2c8-82d1-4d13-9a73-e92886f77a75", "id": "6e6c93be-c1d9-4283-9b5c-b11c72c532da", "ConfigId": "e996bb61-0874-49a6-ab46-d0db25c05593" }, { "WorkTypeId": "457b312f-c7da-49ef-abda-e7c70fcaa78a", "Name": "sample string 1", "Created": "2024-12-18T20:06:27.7622156+00:00", "Modified": "2024-12-18T20:06:27.7622156+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "bc3dea0e-f682-446f-9408-0765db352385", "f5b991de-4238-4a4f-a8b7-8a46f65722f9" ], "Assignments": [ { "Id": "d1244cda-1363-46ae-8b87-6fd58362d822", "Type": 0, "ResourceId": "262ed819-f667-4d13-97d6-2a1f2532f350", "Units": 3.0 }, { "Id": "d1244cda-1363-46ae-8b87-6fd58362d822", "Type": 0, "ResourceId": "262ed819-f667-4d13-97d6-2a1f2532f350", "Units": 3.0 } ], "ParentId": "72da416c-4695-4944-a03d-5979443c08d5", "WorkTypeParentId": "3fa6a4f2-769f-4675-89e0-52330e948231", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "f172fa7c-c02f-48d4-a882-fb40e1b3c9ec", "UPN": "616aba61-7d23-489a-a33b-ccba70bf0abe", "PostDate": "2024-12-18T20:06:27.7622156+00:00", "Comment": "sample string 4", "CC": [ "a714fd49-2916-4b6e-8384-f7801abc9c3b", "f6022b2a-43ef-4ead-979f-71430d2519a5" ], "Users": [ "4a20f73f-b4e1-49e9-b9cd-81840c954bb4", "d06e3bd3-d5a6-4bac-af3c-91a7453a384e" ] }, { "Id": "f172fa7c-c02f-48d4-a882-fb40e1b3c9ec", "UPN": "616aba61-7d23-489a-a33b-ccba70bf0abe", "PostDate": "2024-12-18T20:06:27.7622156+00:00", "Comment": "sample string 4", "CC": [ "a714fd49-2916-4b6e-8384-f7801abc9c3b", "f6022b2a-43ef-4ead-979f-71430d2519a5" ], "Users": [ "4a20f73f-b4e1-49e9-b9cd-81840c954bb4", "d06e3bd3-d5a6-4bac-af3c-91a7453a384e" ] } ], "StartDate": "2024-12-18T20:06:27.7622156+00:00", "DueDate": "2024-12-18T20:06:27.7622156+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "086c976a-c801-45bb-a69a-4e46299958de": "caccdbfd-ca54-43c0-961f-03095bf89095", "57cfad8f-a74a-4e78-a0c2-334ef0eb9194": "7fbcd0ce-49ad-4c35-bc23-64045a82a67d" }, "HasUpdates": true, "Modified": "2024-12-18T20:06:27.7622156+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:06:27.7622156+00:00" }, "LastComment": "2024-12-18T20:06:27.7622156+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "72dcc1e1-0d71-4809-b4a4-a0c093e50352", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "ca68f2c8-82d1-4d13-9a73-e92886f77a75", "id": "6e6c93be-c1d9-4283-9b5c-b11c72c532da", "ConfigId": "e996bb61-0874-49a6-ab46-d0db25c05593" } ]