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": "d4e7d558-1b30-45d1-b924-6c5399b99aa4", "Name": "sample string 1", "Created": "2025-07-11T13:50:54.0760309+00:00", "Modified": "2025-07-11T13:50:54.0760309+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "a8619f77-abe5-45d2-910b-043c9c69d4b4", "a3f18384-41a1-4889-8f51-a580659e2ea6" ], "NonLaborAssignments": [ { "Id": "c7ecba7a-fe0e-4db0-9683-8a1524013beb", "ResourceId": "7f601bf8-3d55-45b1-a381-f974d06f9a58", "Quantity": 3.0 }, { "Id": "c7ecba7a-fe0e-4db0-9683-8a1524013beb", "ResourceId": "7f601bf8-3d55-45b1-a381-f974d06f9a58", "Quantity": 3.0 } ], "Assignments": [ { "Id": "0c0f0cba-ad60-4c92-a5b8-859c7a5b0521", "Type": 0, "ResourceId": "9ca4d864-9822-48b6-9353-f7b0be316822", "Units": 3.0 }, { "Id": "0c0f0cba-ad60-4c92-a5b8-859c7a5b0521", "Type": 0, "ResourceId": "9ca4d864-9822-48b6-9353-f7b0be316822", "Units": 3.0 } ], "ParentId": "510f9cb6-b094-47c2-9b34-f18da881cacf", "WorkTypeParentId": "837e1f60-c8ca-4120-a451-941a4ef7bad6", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "cadb6a9c-9969-463b-abcd-43fd214c7f1a", "UPN": "45297861-7f8f-43e3-a4a1-1c114bdd9fdc", "PostDate": "2025-07-11T13:50:54.0760309+00:00", "Comment": "sample string 4", "CC": [ "cd80ba32-1187-4837-8ab9-0a6600708757", "7f58247b-b23f-41dc-9e53-21951db98b07" ], "Users": [ "1e71b6cb-6202-4b9d-b7f4-8960f22d2e92", "0b1f316d-24fe-49e9-aa56-c53cb8b1ab19" ] }, { "Id": "cadb6a9c-9969-463b-abcd-43fd214c7f1a", "UPN": "45297861-7f8f-43e3-a4a1-1c114bdd9fdc", "PostDate": "2025-07-11T13:50:54.0760309+00:00", "Comment": "sample string 4", "CC": [ "cd80ba32-1187-4837-8ab9-0a6600708757", "7f58247b-b23f-41dc-9e53-21951db98b07" ], "Users": [ "1e71b6cb-6202-4b9d-b7f4-8960f22d2e92", "0b1f316d-24fe-49e9-aa56-c53cb8b1ab19" ] } ], "StartDate": "2025-07-11T13:50:54.0760309+00:00", "DueDate": "2025-07-11T13:50:54.0760309+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "0777c798-2727-4764-8af6-4ca528569a63": "c7d5ea01-9a8a-4ff9-8e15-2a4c96aeae1d", "57c455c0-0b16-4072-8a18-b37b03bfcbd6": "72370534-e1c8-4fe4-9631-aec9a4f9060e" }, "HasUpdates": true, "Modified": "2025-07-11T13:50:54.0760309+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-07-11T13:50:54.0760309+00:00" }, "LastComment": "2025-07-11T13:50:54.0760309+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "b4f9a1b5-58e2-4102-bb32-7d3341023453", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "013f7774-2011-452e-80dd-6513b0c6f7f1", "id": "7f14fef8-64e6-416d-82a8-2235e7969b34", "ConfigId": "e5d44721-103e-4814-a0b9-b5e3cae33287" }, { "WorkTypeId": "d4e7d558-1b30-45d1-b924-6c5399b99aa4", "Name": "sample string 1", "Created": "2025-07-11T13:50:54.0760309+00:00", "Modified": "2025-07-11T13:50:54.0760309+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "a8619f77-abe5-45d2-910b-043c9c69d4b4", "a3f18384-41a1-4889-8f51-a580659e2ea6" ], "NonLaborAssignments": [ { "Id": "c7ecba7a-fe0e-4db0-9683-8a1524013beb", "ResourceId": "7f601bf8-3d55-45b1-a381-f974d06f9a58", "Quantity": 3.0 }, { "Id": "c7ecba7a-fe0e-4db0-9683-8a1524013beb", "ResourceId": "7f601bf8-3d55-45b1-a381-f974d06f9a58", "Quantity": 3.0 } ], "Assignments": [ { "Id": "0c0f0cba-ad60-4c92-a5b8-859c7a5b0521", "Type": 0, "ResourceId": "9ca4d864-9822-48b6-9353-f7b0be316822", "Units": 3.0 }, { "Id": "0c0f0cba-ad60-4c92-a5b8-859c7a5b0521", "Type": 0, "ResourceId": "9ca4d864-9822-48b6-9353-f7b0be316822", "Units": 3.0 } ], "ParentId": "510f9cb6-b094-47c2-9b34-f18da881cacf", "WorkTypeParentId": "837e1f60-c8ca-4120-a451-941a4ef7bad6", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "cadb6a9c-9969-463b-abcd-43fd214c7f1a", "UPN": "45297861-7f8f-43e3-a4a1-1c114bdd9fdc", "PostDate": "2025-07-11T13:50:54.0760309+00:00", "Comment": "sample string 4", "CC": [ "cd80ba32-1187-4837-8ab9-0a6600708757", "7f58247b-b23f-41dc-9e53-21951db98b07" ], "Users": [ "1e71b6cb-6202-4b9d-b7f4-8960f22d2e92", "0b1f316d-24fe-49e9-aa56-c53cb8b1ab19" ] }, { "Id": "cadb6a9c-9969-463b-abcd-43fd214c7f1a", "UPN": "45297861-7f8f-43e3-a4a1-1c114bdd9fdc", "PostDate": "2025-07-11T13:50:54.0760309+00:00", "Comment": "sample string 4", "CC": [ "cd80ba32-1187-4837-8ab9-0a6600708757", "7f58247b-b23f-41dc-9e53-21951db98b07" ], "Users": [ "1e71b6cb-6202-4b9d-b7f4-8960f22d2e92", "0b1f316d-24fe-49e9-aa56-c53cb8b1ab19" ] } ], "StartDate": "2025-07-11T13:50:54.0760309+00:00", "DueDate": "2025-07-11T13:50:54.0760309+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "0777c798-2727-4764-8af6-4ca528569a63": "c7d5ea01-9a8a-4ff9-8e15-2a4c96aeae1d", "57c455c0-0b16-4072-8a18-b37b03bfcbd6": "72370534-e1c8-4fe4-9631-aec9a4f9060e" }, "HasUpdates": true, "Modified": "2025-07-11T13:50:54.0760309+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-07-11T13:50:54.0760309+00:00" }, "LastComment": "2025-07-11T13:50:54.0760309+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "b4f9a1b5-58e2-4102-bb32-7d3341023453", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "013f7774-2011-452e-80dd-6513b0c6f7f1", "id": "7f14fef8-64e6-416d-82a8-2235e7969b34", "ConfigId": "e5d44721-103e-4814-a0b9-b5e3cae33287" } ]