SharePoint Online: REST API for List, calling Filters and limit the return items

前端 未结 3 1204
野趣味
野趣味 2021-02-11 03:01

I am trying to call REST API for list using below REST API

https://myweb.sharepoint.com/teams/sites/subwebs/_api/web/lists/GetByTitle(\'MyList\')/Items?
$top=1
&         


        
3条回答
  •  有刺的猬
    2021-02-11 03:27

    Promise.all([
    rest call # 1 query : queryFilter:"ID lt '3000' and  Title eq '000672'"
    rest call # 2 query : queryFilter:"ID gt '2999' and  Title eq '000672'"
    
    
    .then( arr=> {
            let fullArr = [...a[0],...a[1]]
    

提交回复
热议问题