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)

0
votes
2answers
48 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
42 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
55 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 ...
0
votes
0answers
19 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
27 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
23 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
23 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
23 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
56 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
25 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
43 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
45 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
49 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
67 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
21 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
38 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
32 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
113 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
149 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
27 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
63 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 ...
7
votes
2answers
84 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
61 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
21 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
19 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
83 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
73 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
84 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
30 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
161 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
11 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
91 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 ...
-1
votes
1answer
44 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
79 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
44 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
32 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
20 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
240 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
20 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 ...
1
vote
0answers
27 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 ...
4
votes
1answer
49 views

Fiddler 401 error /_api/web

I am requesting this url with fiddler: http://sitecollectionUrl/_api/web With the header of: Accept: application/json;odata=verbose But I am getting 401 error code when doing so. I am on ...
4
votes
2answers
171 views

Create SharePoint List programmatically

I want to create a SharePoint list programmatically from a SP addin. I would like to know which approach is better: Using JavaScript or Using REST Thanks In Advance
1
vote
0answers
40 views

Uploading Video to video Library using SharePoint2013 Rest APIs

I am using SharePoint RestAPIs to upload video to Video Library using the following urls and the video is uploaded successfully: _api/web/lists/getbytitle('Video ...
0
votes
0answers
21 views

500 Error to SharePoint 2010 Rest call

I'm having issues with other users getting any data from a particular list in SharePoint 2010. I can view the data without any problem, but others cannot. They can access the list normally (through ...
3
votes
0answers
48 views

Using REST API in SharePoint forms in Office 365 using SharePoint Designer

Can someone direct me to some basic tutorial or component that would allow me to consume a REST API from SharePoint forms in Office 365. I would prefer to do all the customization using SharePoint ...
0
votes
0answers
59 views

CustomProperties missing while getting global navigation using REST

I am using the following REST API to get global navigation. http://sitename/_api/navigation/menustate(mapprovidername='GlobalNavigationTaxonomyProvider') It works good, however the only thing which ...
0
votes
0answers
55 views

REST connection in InfoPath forms for View only users

I have configured REST connection in InfoPath form in SharePoint 2010.When i logged in with a user with full control ,REST connection works, but when I logged in as a user who has only View ...
3
votes
3answers
111 views

SharePoint REST API getbytitle with ampersand in title?

Trying to use the SP2013 REST API to ping a library with the title "Prep & Admin Docs" and I can't use getbyID as this snippet will be used in multiple sites where the GUID of the list will vary. ...
0
votes
0answers
21 views

SharePoint online - API data access quality

How much access to the data will I have if I use SharePoint online? Will I be able to do reporting from any list or rdl hosted in SP online via the available javascript api? What about pulling data ...