Skip to main content

Posts

Showing posts from June, 2021

SharePoint REST API URL for accessing List items,documents,assign permission in list, document libraries, Search and user profile property

  List related RES API To get all List items https:// {site Url}/_api/web/lists/getbytitle(‘Employee Leave Requests’)/items To get Item by ID https:// {site Url}/_api/web/lists/getbytitle(‘Employee Leave Requests’)/items(1) To filter using a column https:// {site Url}/_api/web/lists/getbytitle(‘Employee Leave Requests’)/items(1)?$filter=Title eq ‘sample’ To filter using multiple column https:// {site Url}/_api/web/lists/getbytitle(‘Employee Leave Requests’)/items(1)?$filter=(Title eq ‘sample’)  and (Name eq ‘sivam’) To Filter using date column https:// {site Url}/_api/web/lists/getbytitle(‘Employee Leave Requests’)/items(1)?$filter= (Created ge ‘6/7/2016’) and (Created le ‘6/7/2016’) To filter using date and time, datetime should be iso formatted https:// {site Url}/_api/web/lists/getbytitle(‘Employee Leave Requests’)/items(1)?$filter= (Created ge datetime’2016-06-08T07:00:00Z’) and (Created le datetime’2016-06-08T18:29:00Z’) Breaking role inheritance (HTTP POST) https:// {site Url}/_a