The REST (Representational State Transfer) interface in provides access to lists and libraries as a relational data service. A core concept of any RESTful interface is the resource, and in SharePoint Foundation, lists and items are represented as HTTP resources that can be addressed by remote URLs.

learn more… | top users | synonyms (1)

1
vote
1answer
122 views

JSLink and REST API issue with async

I am trying to use REST API inside JS Link. SPClientTemplates.TemplateManager.RegisterTemplateOverrides(OverrideFieldContext); function OverrideFieldContext(ctx) { var groupingName = ...
2
votes
2answers
103 views

How to get all user profile in sharepoint using REST API

I am trying to get list of all user profiles using RestAPI in office 365, But could not find any method for it. I can get property of any specific user successfully by following method: ...
1
vote
0answers
139 views

Rename Sharepoint 2013 document library file name using REST and JS

I am new to Sharepoint. I have a list of files in a document library. Files are placed within the year folder, followed by the sub-folder of month and the day wise sub-folders. I have a list of ...
1
vote
0answers
52 views

BCS REST Performance Issues

So we're migrating from On-Prem 2010 to Office 365 and I need to convert some of our simple calendar webparts to online solutions. I've setup an External Content Type in 365 using SharePoint ...
2
votes
2answers
54 views

Best way to create a multiple item submit form

I'm looking for a way to create a form in SharePoint 2013 which will allow me to submit multiple items into a list (each line as an individual record). So, for example, i'd have a form with inputs for ...
1
vote
2answers
69 views

Cross Domain REST Calls - Always 401 before 200 received

I am attempting to create a REST call across domains (we have different farms with different domains in our organization. I am not doing this through an app, but instead I am doing it via a CEWP ...
0
votes
1answer
216 views

Query multiple SharePoint lists Using REST API and angular JS

I am using a provider hosted app and developing the app using angular js and SharePoint REST API for fetching List data. I am facing an issue with calling SharePoint lists through multiple cross ...
0
votes
1answer
43 views

How to create a new SharePoint list with data from existing list using PowerShell?

For a university project, I have to create a new list with data from existing lists in SharePoint 2013. From my little experience in this field, I would use PowerShell with SharePoint's REST API to ...
-2
votes
1answer
39 views

What is client object model SharePoint online ie office 365?

What is client object model SharePoint online ie office 365 ?
0
votes
2answers
74 views

What is client object model SharePoint 2013?

I am new to SharePoint, I want to know what is CSOM and REST in SharePoint 2013. what is the basic difference between CSOM and REST in SharePoint 2013
1
vote
1answer
49 views

Issue with symbol “&” in REST API

In REST API when I pass a value with &(ex: India & China), it throws error and when I checked it in browser it shows &amnp; in place of &. ...
3
votes
2answers
63 views

Performance will be better using CSOM or REST API to retrieve data from 4 lists simultaneously.?

I am developing Sharepoint hosted app, and there is a situation where i need to get the data from 4 lists simultaneously, then use it later on. I am able to do it using CSOM. But performance wise what ...
1
vote
0answers
40 views

How to set associatedOwnerGroup with REST API in SharePoint 2013?

Can you please let me know how to set associatedOwnerGroup with REST API to new site which does not have any group. I have created new group & able to Add Role. But I am not able to get any help ...
0
votes
1answer
34 views

Which ajax code runs first

I have two ajax call in my jquery code, I would need one value from the first one to be used in second ajax call. But I observed that the second ajax code is running first. $.ajax({ url: ...
0
votes
1answer
33 views

Executing multiple REST queries without error

I've pulled the following example of a REST Query from the SharePoint 2010 Documentation. It's working well except when I try to run multiple queries at once by renaming the functions: ...
0
votes
1answer
38 views

Retrieving Groups for current user always returns zero results

I'm using the new REST api in 2013 to retrieve information about the current user. My issue is that I always get zero results for the Groups element. This is what I'm using: ...
1
vote
0answers
41 views

REST API SharePoint 2013 Document Upload

I'm working an on prem SharePoint site which I want to upload a document to it from a website. I can open up the IP from the site to allow for traffic. The site is built in PHP so I would like to use ...
3
votes
2answers
120 views

How to consume SP REST using only JavaScript\CSS\HTML5 (from CRM, outside Sharepoint, same AD)

How do I do to consume a REST DataSet using only something like JQuery? For example, if I have the items in a list\library and retrieve them as follows: ...
0
votes
0answers
70 views

Can't expand ListItemAllFields on root of site

I want to be able to retrieve a list of folders on a site that contain user files (as opposed to the system files, .aspx files) I am trying to use the recommendation from Vadim Gremyachev in answer ...
0
votes
1answer
33 views

REST: Can not see items in a list

So I tried to the get the contents of a list using REST https://xxxxxx.sharepoint.com/tsm/_api/web/lists/GetByTitle(‘OnSite Visits') but I get the following error: Not sure what is wrong?
3
votes
1answer
49 views

Using REST to retrieve lists

I have entered the following into Firefox to retrieve my lists and I get this back I was expecting xml, what am I doing wrong?
2
votes
1answer
91 views

SP2013 use Rest with CAML query and expand lookup column

I'm trying to query a sharepoint list that contains lookup columns and taxonomyfields. When I use the $expand option I can't expand taxonomyfields, but when I use a camlquery i can't expand lookup ...
2
votes
0answers
54 views

Is it possible to create a site in a different Farm via SharePoint Designer Workflow

UPDATE: It looks a little bit like a cross domain limitation. I was able to successfully complete a site creation within farm the WF is executed on via REST, but as soon as I attempt to hit another ...
4
votes
1answer
186 views

Search by content type using Search API in REST

I have two content types, softs ct and softs ct page having parent content types item and page . I managed to display results from custom list which is having softs ct but it doesn't display results ...
2
votes
0answers
28 views

How to include managed properties in SharePoint 2013 REST api?

I want to include managed properties in the REST api call in SP 2013, but when I try, it doesn't include them. For example ...
0
votes
0answers
74 views

Improving performance of a OData REST API call on a large document library

I have a requirement that requires that we use a built URL leveraging the REST API for our SharePoint 2013 site on a document library with many (about 800,000) documents. The format of the URL is ...
0
votes
0answers
72 views

Access Sharepoint 2013 List from outside SP

Good morning, I wanted to be able to access items in a Sharepoint List from a stand-alone web page hosted on a different server. I've read through references to the REST API and I can see that I can ...
7
votes
1answer
156 views

SharePoint JavaScript REST Api, how is the access token passed

I have the following code in my SharePoint add-in (SharePoint Online). Simple code just to load the list items, the code works fine $.ajax({ url: appweburl + ...
6
votes
3answers
208 views

Creating Lookup column using rest which can take multiple values

To create a lookup column.. $.ajax({ url: "https://test/_api/Lists/getbytitle('abc')/fields/addfield", type: "POST", data: "{ 'parameters': { '__metadata': { 'type': ...
0
votes
1answer
55 views

Get users filtering Sharepoint search API refinementfilter by month

I need to get all users by refining hire date managed property in this week using SharePoint search APi. I'm tried lots of ways but not succeeded. Please help me on this. What will come in ...
1
vote
1answer
85 views

Sharepoint Online: Retrieving PersonalURL for a user through the REST API?

I am looking for a way to the retrieve the following information for a user https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.userprofiles.personproperties.aspx Especially ...
8
votes
2answers
146 views

Basic batched get requests using REST API

I'm hunting around on the web right now for some basic (preferably working) examples of making a batch of get requests using the new $batch endpoint in O365 with the REST API. I've located some good ...
3
votes
2answers
100 views

Error when updating a document properties using REST API

I need to update the version number of a document in a document library in SharePoint Online. I used postman to test this. Here is the POST Request I used. ...
1
vote
1answer
28 views

How can I run SPService or RestService with contribute access?

Is there a way to run REST service or SPService in JQuery with Admin. privilege same like RunWithElevatedPrivilege. In DispForm.aspx there is a button. I want to add logged user who has read access ...
0
votes
0answers
27 views

How to get data from level 2 lookup lists by REST API

I want to get Users (UserLookup) where SbuId equal something and RoleLookupId equal something Below is code is to select those fields without $filter, the code ...
6
votes
3answers
108 views

Get minor version of a document using REST API

I have a requirement to get all minor versions of documents in document libraries and list items in lists within a specific SharePoint site(SPWeb). To simplyfy the solution, first I obtained all the ...
1
vote
1answer
232 views

Get all items within a site collection using SharePoint Search REST API

How can I get all the items of lists and document libraries within a specific SharePoint site collection using SharePoint Search REST API?
3
votes
1answer
143 views

REST call to get list not working

I would like to make a function to pass a list name, if it exists, then append random number to its name and create a new one, if there's no list with the passed list name, then create it. So I am ...
3
votes
1answer
59 views

Setting X-RequestDigest from html page

I have html page in an app, I want to submit data to sharepoint using REST, so I don't have access to $("#__REQUESTDIGEST"). How do I get the request digest from my html page? Thanks.
4
votes
2answers
182 views

Get all minor versions of a list or library using REST

I need to get information about all the minor versions of a specific list or library using REST API. I tried it with '_api/web/getchanges' But it didn't get what I wanted.
1
vote
0answers
14 views

InheritedFrom property not appearing in permissions object in OneDrive for Business 2.0 api

When retrieving items permission using the OneDrive v2.0 API, the "inheritedFrom" property/object is missing. I'm getting the rest of the details: the permissions object, roles, granted to, and even ...
2
votes
1answer
192 views

The field or property does not exist in REST

I am trying to query a list with lookup column to another list, basically I have sub announcements, and announcements, I want to get all sub announcements of particular announcement, so my query looks ...
0
votes
1answer
92 views

Move Sharepoint document Library files to other site using REST withour executor method

Move SharePoint document library files to another site using REST API calls without using the SP.RequestExecutor object. I just tried the Copy to and Move to methods, but these methods are working in ...
1
vote
2answers
208 views

SharePoint Rest api to get a single user profile property [duplicate]

I'm trying to retrieve a single user property from a jsom script. The property is a custom one, not in the default schema. When I retrieve ...
1
vote
1answer
91 views

How to encode a list name for REST in sharepoint 2013 [duplicate]

I created a list in the en site called hello's~`!@#$%^&*(){}[]:;"'<>?/\|*-+. What I am trying to do is figure out what exactly is the encoded version of the name if I am trying to target ...
0
votes
1answer
69 views

Best way to encode list names in sharepoint 2013 rest url's?

In SharePoint 2013 rest url's, some of them includes a list name which is passed by a user (in the web part settings) which I then use in a web part. I then stick the list name in a rest url, but now ...
2
votes
0answers
26 views

Can you target a list by GUID in rest in Sharepoint 2013 regardless of which site it is in?

In sharepoint 2013 rest api, I know you can reference a list by GUID, but typically you still have to provide the site that the list is on in the beginning of the rest url when you target by list ...
3
votes
2answers
1k views

SharePoint Online REST API - Get List selecting all fields excluding one

The below will get a list containing all fields $.ajax({ url: "http://<site url>/_api/web/lists/GetByTitle('ListTitle')/items?$select=*" ,type: "GET", dataType: "json", headers: ...
1
vote
0answers
28 views

odata = verbose vs. select query options

I know that odata = verbose gets everything from the results in REST, and more data than necessary, but what's the use of the query option $select then if we're going to get everything when specifying ...
2
votes
0answers
54 views

Develop organizational chart with REST

Is there a way to build an organizational chart with REST? How do we get user manager and colleagues in REST, I guess I need to use profiles end point, but how do we build the structure for the web ...