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)

3
votes
0answers
26 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 ...
1
vote
1answer
73 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 = ...
0
votes
1answer
31 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
77 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
56 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
94 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
26 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
27 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
20 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
30 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 ...
0
votes
0answers
45 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
47 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
18 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
21 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
33 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
32 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
37 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
70 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
25 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 ...
1
vote
1answer
100 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 + ...
0
votes
1answer
29 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
44 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
48 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
22 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
51 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
65 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
61 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
10 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: ...
1
vote
2answers
65 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
27 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
33 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 ...
2
votes
1answer
31 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 ...
1
vote
1answer
49 views

Updating SharePoint list field property

I am trying to set the property ReadOnlyField to false on a column using the REST API. I am trying to do this using Postman in chrome and not able to get this to work. The Microsoft API lists how to ...
0
votes
1answer
47 views

REST to retrieve items in folder and metadata

I'm trying to retrieve all the documents in a document set using REST. If I use the Lists/GetByTitle(''). I'm able to retrieve an individual item and some associated metadata like so: ...
0
votes
0answers
18 views

Using Rest API for the anonymously accessible SharePoint website having _vti_bin blocked

When learning how to Secure anonymously accessible SharePoint website, I went through this article in http://www.c-sharpcorner.com To increase security, one should enable lockdown mode and also ...
0
votes
2answers
29 views

Communicating with REST web service in SharePoint

I've just started with SharePoint, I've set up a website and now i'm wondering, how i can communicate with a REST Web Service with Sharepoint. What's best practice in this case?
3
votes
1answer
76 views

How to Add List Item in SharePoint Using REST API in Android

I'm working on Android app. I want To add List items in Particular SharePoint list using Rest API. I can get list items from SharePoint using REST API. I don't know how to add list item in ...
0
votes
0answers
29 views

How to minimize data returned from SharePoint 2013 REST search api?

In sp2013 rest, you can get json returned. But also depending on the header type, you can specify a no metadata option to get less data as shown here. ...
0
votes
1answer
107 views

SharePoint 2013 REST: Value does not fall within the expected range

Creating and updating list items via jQuery/REST. The script has been functional for roughly four months now, but this morning decided to start throwing an error. error: {code: "-2147024809, ...
3
votes
3answers
33 views

Changing created through REST

I was having a hard time getting my list items to POST back to the SharePoint list when I discovered if I delete the Modified and Created properties from the JSON it would work. The JSON that is being ...
4
votes
2answers
101 views

REST expand people column

I have a list with a people column called AssignedTo. I'm making a rest call: .../_api/web/Lists/GetByTitle('listname')/Items?$expand=AssignedTo&$select=*,AssignedTo/Title Which is ...
2
votes
1answer
32 views

Copy a file (document) with REST/JSOM and set field values of the copied file

I wan't to copy a file from one library to another and set some field values. I used the following code to perform the file copy: function copyFileREST(name) { var call = $.ajax({ url : ...
4
votes
0answers
58 views

Web/Lists/GetByTitle returns only 100 rows

I am facing a problem in Web/Lists/GetByTitle method. Be default it returns only 100 rows. I changed it to http://sitename/_api/Web/Lists/GetByTitle('list')/Items?$top=300. When i hit this url into ...
0
votes
0answers
7 views

Different permissions on a list depending on the operation source

Is it possible to have a permission group that grants you, say, full control, on a list via rest operation but when you access it via the ui, youll have only view permissions.
1
vote
1answer
80 views

List all subsites with REST API

I have a SharePoint site wich I named ''Portal'' and under Portal I have several communities (subsites). For each subsite I disabled permission inheritance and I setted up the groups and roles ...
0
votes
0answers
4 views

Adding an App to an Infopath template

I have a REST App to retrieve the User Profile Information and I need to add this App to an existing SharePoint 2013 template. I am new to InfoPath and to REST. The current template is very complex ...
0
votes
1answer
32 views

update list from another list using ECMA/client object model?

I have eleven lists list1,list2,..list10.and listDup Now i want to update ListDup's SID column based on List1's SID . when the time of adding item in List1(List2,List3,..List10) i have to check sid ...
0
votes
0answers
36 views

How to expand assistant property name in SharePoint 2013 REST search query?

In my SP2013, I have a out of the box property Assistant which is a people picker. I want to use REST to download user profiles using search api, but also include the assistant in it. BUT, by default ...