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. |
|
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": "7c1ce433-0db8-41ed-a859-abe8fe614ef0", "Name": "sample string 1", "Created": "2025-09-03T18:15:19.9507643+00:00", "Modified": "2025-09-03T18:15:19.9507643+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "8675d405-2a49-4d6c-984f-0642a756f1d9", "e40773e3-1a55-406f-8416-4c2f9000004d" ], "NonLaborAssignments": [ { "Id": "517877c3-4671-4630-a4bb-0172f5cd6fed", "ResourceId": "b24300df-a98e-465b-b75c-a9c562212d35", "Quantity": 3.0 }, { "Id": "517877c3-4671-4630-a4bb-0172f5cd6fed", "ResourceId": "b24300df-a98e-465b-b75c-a9c562212d35", "Quantity": 3.0 } ], "Assignments": [ { "Id": "9409381f-c38b-45f0-9f4e-54abea2963f0", "Type": 0, "ResourceId": "f1f4d2b5-a7b2-4183-b988-78c2cc439a91", "Units": 3.0 }, { "Id": "9409381f-c38b-45f0-9f4e-54abea2963f0", "Type": 0, "ResourceId": "f1f4d2b5-a7b2-4183-b988-78c2cc439a91", "Units": 3.0 } ], "ParentId": "33c89b98-988f-4e67-b8bc-4cc5666bc45d", "WorkTypeParentId": "7bcb1766-f881-4c63-955f-aa2a7502e201", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "9942dea4-3e25-4a65-bcbe-96fa76674214", "UPN": "206250b4-7324-4c26-9969-cba9ed4b6fb0", "PostDate": "2025-09-03T18:15:19.9507643+00:00", "Comment": "sample string 4", "CC": [ "363b9b3f-fb1f-4b09-b589-bdad1821528b", "1a5b9c51-b44d-4d69-8e04-e06d3a21fa61" ], "Users": [ "9dc73160-4278-48e2-bc08-3f64016a1229", "77c63471-2323-4ecc-a5a6-b89234d7df1a" ] }, { "Id": "9942dea4-3e25-4a65-bcbe-96fa76674214", "UPN": "206250b4-7324-4c26-9969-cba9ed4b6fb0", "PostDate": "2025-09-03T18:15:19.9507643+00:00", "Comment": "sample string 4", "CC": [ "363b9b3f-fb1f-4b09-b589-bdad1821528b", "1a5b9c51-b44d-4d69-8e04-e06d3a21fa61" ], "Users": [ "9dc73160-4278-48e2-bc08-3f64016a1229", "77c63471-2323-4ecc-a5a6-b89234d7df1a" ] } ], "StartDate": "2025-09-03T18:15:19.9507643+00:00", "DueDate": "2025-09-03T18:15:19.9507643+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "24bb6a07-4de3-4796-9a90-c4db9ec41b1d": "145974c4-57b9-4055-89ec-d47f13266b7a", "c7addd33-498e-484a-9ae6-9be4465c811f": "49f1b482-caae-49b1-a750-6e0ee0e6147f" }, "HasUpdates": true, "Modified": "2025-09-03T18:15:19.9507643+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-03T18:15:19.9507643+00:00" }, "LastComment": "2025-09-03T18:15:19.9507643+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "606010dc-fe1d-4ac1-b3aa-36ee4914c55f", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "db089308-ba63-435d-ba3b-0a5870f42f56", "id": "c6a0446a-791d-4ef9-9636-54ce5c7a6123", "ConfigId": "d4e0c4c2-85d1-4c87-bad3-9e596263202e" }, { "WorkTypeId": "7c1ce433-0db8-41ed-a859-abe8fe614ef0", "Name": "sample string 1", "Created": "2025-09-03T18:15:19.9507643+00:00", "Modified": "2025-09-03T18:15:19.9507643+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "8675d405-2a49-4d6c-984f-0642a756f1d9", "e40773e3-1a55-406f-8416-4c2f9000004d" ], "NonLaborAssignments": [ { "Id": "517877c3-4671-4630-a4bb-0172f5cd6fed", "ResourceId": "b24300df-a98e-465b-b75c-a9c562212d35", "Quantity": 3.0 }, { "Id": "517877c3-4671-4630-a4bb-0172f5cd6fed", "ResourceId": "b24300df-a98e-465b-b75c-a9c562212d35", "Quantity": 3.0 } ], "Assignments": [ { "Id": "9409381f-c38b-45f0-9f4e-54abea2963f0", "Type": 0, "ResourceId": "f1f4d2b5-a7b2-4183-b988-78c2cc439a91", "Units": 3.0 }, { "Id": "9409381f-c38b-45f0-9f4e-54abea2963f0", "Type": 0, "ResourceId": "f1f4d2b5-a7b2-4183-b988-78c2cc439a91", "Units": 3.0 } ], "ParentId": "33c89b98-988f-4e67-b8bc-4cc5666bc45d", "WorkTypeParentId": "7bcb1766-f881-4c63-955f-aa2a7502e201", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "9942dea4-3e25-4a65-bcbe-96fa76674214", "UPN": "206250b4-7324-4c26-9969-cba9ed4b6fb0", "PostDate": "2025-09-03T18:15:19.9507643+00:00", "Comment": "sample string 4", "CC": [ "363b9b3f-fb1f-4b09-b589-bdad1821528b", "1a5b9c51-b44d-4d69-8e04-e06d3a21fa61" ], "Users": [ "9dc73160-4278-48e2-bc08-3f64016a1229", "77c63471-2323-4ecc-a5a6-b89234d7df1a" ] }, { "Id": "9942dea4-3e25-4a65-bcbe-96fa76674214", "UPN": "206250b4-7324-4c26-9969-cba9ed4b6fb0", "PostDate": "2025-09-03T18:15:19.9507643+00:00", "Comment": "sample string 4", "CC": [ "363b9b3f-fb1f-4b09-b589-bdad1821528b", "1a5b9c51-b44d-4d69-8e04-e06d3a21fa61" ], "Users": [ "9dc73160-4278-48e2-bc08-3f64016a1229", "77c63471-2323-4ecc-a5a6-b89234d7df1a" ] } ], "StartDate": "2025-09-03T18:15:19.9507643+00:00", "DueDate": "2025-09-03T18:15:19.9507643+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "24bb6a07-4de3-4796-9a90-c4db9ec41b1d": "145974c4-57b9-4055-89ec-d47f13266b7a", "c7addd33-498e-484a-9ae6-9be4465c811f": "49f1b482-caae-49b1-a750-6e0ee0e6147f" }, "HasUpdates": true, "Modified": "2025-09-03T18:15:19.9507643+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-03T18:15:19.9507643+00:00" }, "LastComment": "2025-09-03T18:15:19.9507643+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "606010dc-fe1d-4ac1-b3aa-36ee4914c55f", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "db089308-ba63-435d-ba3b-0a5870f42f56", "id": "c6a0446a-791d-4ef9-9636-54ce5c7a6123", "ConfigId": "d4e0c4c2-85d1-4c87-bad3-9e596263202e" } ]