Get all tasks assigned to me:
----------------------------------
/_api/web/lists/getbytitle('Development Tasks')/items?$expand=AssignedTo&$select=Title,AssignedTo/Title&$filter=AssignedTo/Title eq 'Anderson, Marc'
Get all tasks that have not been completed, showing the status and the % complete:
-----------------------------------------------------------------------------------------------------
/_api/web/lists/getbytitle('Development Tasks')/items?$expand=AssignedTo&$select=Title,AssignedTo/Title,Status,PercentComplete&$filter=Status ne 'Completed'
----------------------------------
/_api/web/lists/getbytitle('Development Tasks')/items?$expand=AssignedTo&$select=Title,AssignedTo/Title&$filter=AssignedTo/Title eq 'Anderson, Marc'
Get all tasks that have not been completed, showing the status and the % complete:
-----------------------------------------------------------------------------------------------------
/_api/web/lists/getbytitle('Development Tasks')/items?$expand=AssignedTo&$select=Title,AssignedTo/Title,Status,PercentComplete&$filter=Status ne 'Completed'
Source:
========
https://msdn.microsoft.com/en-us/library/gg309461.aspx
No comments:
Post a Comment