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
91 views

REST API 2013 $skiptoken Doesn't work with $filter - returns the same result set

I'm trying to implement paging in SP 2013 REST. This is the endpoint / querystring that I have: /_api/web/lists/getbytitle('Projects')/Items?$top=15&$orderby=Created%20desc&$filter=(((Status%...
1
vote
1answer
39 views

Cannot Break Role Inheritance on Task Items Using REST in SharePoint 2013 Workflow

The title pretty much says it all. I'm getting an 'Unauthorized' response when I try to /breakroleinheritance on a Tasks list item in a 2013 workflow (inside an App Step). The strange thing is that ...
3
votes
2answers
89 views

Get lookup from REST API

REST API url is /sites/MySite/_api/web/lists/getbytitle('MyList')/items?&$top=100 I have a lookup column called Sector in the list. How to retrieve this lookup value from the success call of ...
0
votes
0answers
77 views

The request ETag value does not match the object's ETag value

I tried updating SharePoint Online List using REST APIs. For this I have sent some headers with POST request in POSTMAN, described below. Accept : application/json; odata=verbose Authorization : ...
1
vote
0answers
95 views

Sharepoint 2013 Search anonymous REST API query always returns zero results

TLDR version: Is there some trick to using refinementFilters or a result set in an anonymous query to the Sharepoint Search REST API? Whenever I try, I get zero results, even though it returns all ...
-1
votes
1answer
41 views

Cannot find resource for the request AppTiles

I am working with Office 365 and using below service to get details of all AppTiles https://<site>/_api/Web/AppTiles So to get details of specific tile i am using below url https://<site&...
6
votes
0answers
105 views

REST: set ReadSecurity / WriteSecurity (Item Level Permissions)

Is it possible to set this with REST (or JSOM?) (these are not exposed as properties in List REST endpoint: MSDN List) I can set this: with PowerShell: $spList.ReadSecurity=2 # 1=read all items, ...
0
votes
1answer
47 views

SharePoint 2013 REST no permission to POST siteuser

I am trying to POST new siteusers to <sp_url>/_api/web/sitegroups(6)/users. I have managed to do so using the chrome rest client application addon. The request contains following headers and ...
1
vote
0answers
126 views

Access Denied while accessing SharePoint Custom List Using Rest APIs via POSTMAN

From couple of days, I am trying to access Custom made SharePoint Online (Office 365) List for CRUD Operation with the help of Rest APIs Endpoints using Postman, but all the time i am getting "Access ...
0
votes
0answers
33 views

how to search, filter and retrieve 20k items in SharePoint

I have a lists containing 20k items.I want it to display it in a page and that page also contains filters just like in ecommerce site.I tried to retrieve the whole items at the beginning using rest ...
0
votes
1answer
48 views

Problem reading list items from a custom SP list in a workflow

I don't see any workflow 2013 action that would let me readily retrieve items from a custom list in a SP online team site. Therefore I have to rely on REST/_API calls as discussed in this article. ...
0
votes
2answers
59 views

Display Profile Image, Can't Select Picture Url

I am attempting to retrieve some profile properties for the current user, and am having a hard time with the profile picture Url specifically. Version is Sharepoint Foundation 2013. When I open the ...
0
votes
1answer
52 views

RESTing create View

I searched but not found example. See CSOM:http://www.c-sharpcorner.com/blogs/how-to-create-a-view-in-sharepoint-2013-using-csom and Powershel: http://sharepoint-community.net/forum/topics/...
1
vote
0answers
27 views

interface sharepoint <=> own independent web application

I'm really sorry to annoy you with this, but I just don't get a clear answer though I try hard to find it. I've learned a lot about the REST interface - but it looks like that it is simply impossible ...
2
votes
1answer
137 views

Authenticating into Active directory using REST API

I started looking into sharepoint and from what I understood from my company architecture is It runs an on premise hosted server. SharePoint uses Active directories to authenticate the users. How ...
0
votes
2answers
111 views

Get User ID from ClientPeoplePickerWebServiceInterface Web Service through Javascript

I am using this webservice /_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser to build an autocomplete solution for my SP app. The problem is, the ...
3
votes
0answers
28 views

Reaching subsites of SharePoint domain

I am writing an application that scrapes all the files from a given SharePoint site and all of its sub-sites. This worked perfectly when I ran it locally however, now that it's running on a server ...
2
votes
1answer
214 views

How to make a rest call to SharePoint 2013 from node.js?

In my node.js app, I want to make a rest call to sharepoint 2013. This is the node.js code function downloadData(res, key, success, fail) { var opts = url.parse(key); opts.method = 'GET'...
0
votes
1answer
33 views

How do i get current user's RegionalSettings using .net \ rest request?

I'm trying to get current user's regional settings. var regionalSettings = context.Web.RegionalSettings works but there is no RegionalSettings on context.Web.CurrentUser.
3
votes
1answer
99 views

Getting item id from newly created item

I am using SharePoint 2013 Enterprise version. I am using below rest api code to add the record I kept below code in common js file function CreateListItemWithDetails(listName, webUrl, newItem, ...
0
votes
2answers
78 views

Merging the results of 2 REST calls in a dataTable

I am trying to add results from two REST calls, into one Data Tables view. I am getting just one of the Rest calls results shown. //'use strict'; var appweburl; var hostweburl; var results; var ...
2
votes
1answer
174 views

How to upload large files through SharePoint Rest API (Cross Domain Call)

I am trying to upload large files greater than 10MB(Ex: 40 MB) through SharePoint cross domain Rest API calls. I am able to upload files that are upto 10MB using the code below. But when it comes to ...
0
votes
0answers
50 views

Rest API for searching list items from a task list from all sub sites in a site collection

I am looking for Rest API thus create a UI/webpart for searching list items from a task list from all sub sites in a site collection. I have created a site collection[project site collec.] and tasks ...
0
votes
1answer
29 views

I want SharePoint REST API which returns particular document level permission User Name

We need to view document item level permission, with User Names. We need REST API call to get item level permission. Also just for particular item which permission contains. Till now I have used ...
1
vote
0answers
21 views

Chaining rest calls

I've got a page where I want users to add themselves to a sharepoint group and then read the contents of the library. This requires three things, get the current user, add to group, and read the ...
0
votes
1answer
49 views

Get _spPageContextInfo is not defined

I have a regular .html file under root site and trying to make a REST call using _spPageContextInfo. What am I doing wrong here? Basically trying the code in this url but with _spPageContexInfo https:...
0
votes
0answers
87 views

How to compare dates in SharePoint 2013 REST search api?

I have a rest URL that uses Search API, for SP2013. I can use regular filters "/_api/search/query?querytext='contenttype:News Item' like this says, get all items with content type is news item, but ...
3
votes
2answers
64 views

Get User Properties (personal site) without admin permissions

Is possible to get a users personal site information from this endpoint /_api/sp.userprofiles.peoplemanager/getpropertiesfor or by another means without having admin rights? I need to be able to get ...
0
votes
2answers
25 views

Can you add permissions for user using their login name instead of user ID using SP2013 REST?

In SP2013 Rest api, I want to add permissions to a user. The user is picked from the people picker control. And I can only get the key like i:0#.w|ups\stom I can't get the actual user ID (number ...
1
vote
0answers
26 views

How to optimize for REST heavy code in SP2013?

In my sharepoint 2013 environment, I am using REST a lot, but I use techniques like storing in client side cache, and lazy loading. But I was wondering if there was anything more I can do. In ...
1
vote
0answers
46 views

Custom javascript REST solution vs Content search webpart in SP2013?

If I have a solution to make in SP2013, I have two approaches I can do which I would like to know the advantages/disadvantages of each. I could do a fully custom jquery/js/css/html solution using ...
1
vote
0answers
40 views

Call JavaScript Function after list data has successfully updated via quick edit

I am trying to call a custom JavaScript function after content is saved into a list via quick edit. Once the data is saved, I would like to make an AJAX call to get the newly updated items. I do not ...
0
votes
0answers
10 views

Authenticating into share point using Hurlit

I started working on share point this afternoon, I am trying to authenticate into share point server from an external system. For now trying hurlit to see how I can auth in. Looking around I saw ...
1
vote
1answer
51 views

Set List GUID when adding to SP.ListCollection (REST or JSOM)?

Sharepoint Online context; I've read lots os posts and the class reference and seems it's not possible, so I want to confirm if is it not possible to set List GUID when adding to SP.ListCollection (...
1
vote
4answers
83 views

How to get filtered sharepoint list item using REST API

I am using REST Api to get sharepoint List items. Now I am trying to retrieve all filtered list items where status is completed. But i was getting 400 request error I was fire query like below. ...
0
votes
0answers
38 views

WarmUp script that handles ajax / rest request - System.Net.WebClient

It seams that my warmup script does not work as expected. In my personal.aspx (mysite) we got several ajax /rest request that list several user data (lists, user properties, etc) that runs on document....
1
vote
1answer
105 views

Get CreatedBy using REST API SharePoint

How can I get CreatedBy field using REST API SharePoint? Below is the code var Ownurl = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('Listname')/items?$select=Author,ID&$filter=...
0
votes
1answer
46 views

How to use different permission level when breaking permissions for current user in SP2013 REST api?

I am using SP2013 rest api to break permissions using this tutorial: http://spsite.pro/Blog/Post/3/SharePoint-2013-REST-API-%E2%80%93-How-to-set-Unique-Permissions-(Item-Level-Permissions) When I ...
0
votes
1answer
46 views

How get multiples users by id with REST API?

I need get multiple users by ID with REST API. I looked this question: How to get multiple users with REST API But is not answered. I've the ID's in an array: var people = [426, 352, 155]; I've ...
0
votes
0answers
20 views

Set up “Review items” permissions on a list/library

I have a library with content that is pushed out to a large audience -- read permissions. We have several people who work on developing the content -- contribute permissions. We've turned on content ...
2
votes
1answer
72 views

How to write a jquery ajax REST api function to create a list in SP2013?

I am trying to create a list in SP2013 REST. This is what I get var url = "http://mysite/_api/web/lists"; $.ajax({ url: url, type: "POST", ...
0
votes
0answers
27 views

How to expand the group name within a list with REST

I have a list with a People/Group field that I want to access via REST call: /administration/_api/web/lists/getbytitle('Permissions')/items?$top=10000 The problem is that it just loads the list IDs ...
1
vote
1answer
64 views

SP2013 get List EmailAlias with JavaScript

I've been struggling with a problem today that I wasn't able to solve. I got a List which is Email Enabled (Calendar List) and has an Emailalias set (e.g.: cal@mysharepoint.local) Now I want to ...
0
votes
1answer
79 views

Using REST, How can you add a user to the User Information List so that he/she has a user ID?

I want to create a form which allows users to search for a particular user who may not exist on the current site. I can do that using the SearchPrincipals web service, but the users will have an ID of ...
0
votes
1answer
133 views

SharePoint Designer, REST API and Loop workflow to send email

My aim is to create a looping workflow in SPD 2013 - this will send a daily summary email of a users active tasks. There should be 1 email per user with tasks. So the REST query should be for unique ...
0
votes
0answers
18 views

REST client-side List services filter fails when filtering in SharePoint 2010

When accessing REST services for a list on my site: http://example.com/Financial/_vti_bin/ListData.svc/Remittance() The results display properly. But when I try to run a filter, or an orderby: http:...
1
vote
2answers
75 views

Populate navigation menu with ajax

I have a Sharepoint Online site with about 100 subsites. I want to populate the navigation menu with only the top 5 subsites and 2 static subsites. I created an empty navigation column named ...
0
votes
1answer
47 views

REST getItems with CAML for proper managed metadata labels

I'm using REST to retrieve some information from a document library. There are some managed metadata fields attached to the items I'm returning. I've found that if the managed metadata column is a ...
0
votes
1answer
43 views

Filter Rest API AssignedToId

I've been trying to filters with rest API, but I seem to be struggeling with easy requests. So this one works without any problems http://myserver/_api/web/lists/getbytitle%28'Tickets'%29/items?$...
3
votes
1answer
47 views

How to query data on app web from host web

I need to query a list located inside a SharePoint hosted app, when located on host web, using JavaScript (REST preferably). I control both app and host. It's possible to communicate with an app ...