Forum Discussion
naijacoder
Aug 23, 2018Copper Contributor
How to use rest API with PowerShell
Hi All, I have a list and I need to check if a date field column minus 10 days is today send an email.
Is this achievable using rest API with PowerShell on premises?
Thanks in advance
Is this achievable using rest API with PowerShell on premises?
Thanks in advance
- Heiko WatzIron Contributor
I didn't know how to do it with REST API - but when you use Powershell: Take al look at PNP Powershell
I use it often to work with SharePoint without coding.
- spucelik
Microsoft
Here is the REST API reference. I'm not aware of a way to call a function (IE A DateDiff type of function) within the REST call. Another approach would be to have a calculated field that is evaluated during the REST call.