Answers for "filter date wise in sharepoint rest api get request"

0

filter date wise in sharepoint rest api get request

var requestUrl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('" + _weaklyQuestion + "')/items?$select=Id,Title,answersOptions,dateFrom,dateTo&$filter=(datetime('" + ReFormatTime() + "') ge dateFrom) and (datetime('" + ReFormatTime() + "') le dateTo)&$top=1";
Posted by: Guest on February-16-2021

Browse Popular Code Answers by Language