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
0answers
8 views

How to dynamically change the drawing path in Visio Web Access Web Part

I am wondering if there's any way to dynamically change the drawing shown by a visio web access web part. I have multiple drawings I want to show on a page based on what users click on the page. Any ...
0
votes
0answers
13 views

Rest API create personal site enque

I'm trying to provision My Site by utilizing SharePoint JSOM or REST API. The JSOM code snippet (below) gives System.UnauthorizedAccessException and REST call gives me a 401. The goal here is to ...
0
votes
1answer
20 views

How to combine 2 calenders from 2 different sharepoint online sites?

I've received the assignement to combine 2 calenders from 2 different sharepointonline sites. From what i researched, this is not possible with the out of the box overlay solution SharePoint has to ...
0
votes
0answers
11 views

User Profile REST Endpoint isn't up-to-date

I'm trying to access the User Profile information so that I can personalize some information on our Intranet. I'm using the User Profile REST endpoint for it, but it seems like the REST endpoint is ...
0
votes
0answers
7 views

How to use REST on Form Libraries

I need to edit permissions on individual form items that have been added to a form library. This is within 2013 Workflows. So I only need the http call. I have tried to access using the standard ...
1
vote
0answers
13 views

Changes made in Sharepoint web interface to list aren't reflected when using REST method

I've got a Sharepoint list to which I've added some columns, like so: Now, I've been able to pull data from Sharepoint using the super awesome Rest API, using the below PowerShell code: $Items = ...
0
votes
1answer
18 views

App Permission requests

I am trying to create a 2013 workflow that uses an App step to break inheritance on a form library and give individual forms unique permissions. I am having problems, and constantly receiving ...
2
votes
2answers
30 views

How to create a folder in Sharepoint using Java and RESTFul API?

This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java. I have already gone through Working with folders and files with REST ...
0
votes
1answer
16 views

REST to get list item by Id

I am always comfortable using JSOM, and I have used less of REST calls to access lists and its Items. But now I have a requirement to use only REST to get item by its ID. Can any one help with a ...
0
votes
3answers
27 views

Bringing back fields by internal name in SharePoint REST

Let's say I have the query: http://thisbox/_api/lists/getbytitle('ThisList')/items?$select=* But instead of "*" for selecting fields, I have a list of Field Internal Names and/or GUID's. I'd like ...
0
votes
1answer
17 views

Filtering a Lookup field using REST not working in Sharepoint 2010

I'm trying to filter a column of type lookup from a list using this method. /_vti_bin/ListData.svc/Collections()?$expand=Departments&$filter=Departments/Title eq 'Sales' And its outputting the ...
0
votes
0answers
18 views

REST calls between applications

I have a series of SharePoint applications, one being our Intranet site and one being a system for serviceinformation on our IT-systems (itstatus). I really want to make a section of out intranet ...
0
votes
1answer
21 views

Get image from SharePoint by URL

I try to get an Image from SharePoint by using JavaScript code. I have the complete URL of the image which is stored in a SharePoint Assets Library. My app is SharePoint hosted. This code does not ...
0
votes
1answer
18 views

Cannot find resource for the request $batch Sharepoint server 2013

When i try to execute sample batch code in Sharepoint server 2013 i'm getting the error 'Cannot find resource for the request $batch' Int16 listRetrievalCount = 0; if (IsPostBack) { ...
2
votes
1answer
29 views

Get url of document library from REST call

I am working with O365 SharePoint site where I need to get the name and URL for the document libraries in a site collection. I have made a rest call for it as: https://site/_api/web/lists and select ...
1
vote
0answers
6 views

Apps Permission Request XML for Workflow, and Rest Workflow Help Please

The documentation on msdn is pure junk if you ask me, for setting up App permissions in a Workflow. Here is the link ...
4
votes
0answers
75 views

How to access a custom field of a list using REST

I'm trying to get information from a list in a custom SPField called "My Field" with the internal name "MyField" using this JavaScript code: $.ajax({ url: ...
0
votes
0answers
6 views

How do I set up SharePoint Designer so I can edit list item permissions using a workflow

I need to be able to change list item permissions within a workflow. I have Workflow platform 2010 but the Impersonation step is greyed out. I have Workflow platform 2013, but I dont know where or ...
0
votes
0answers
12 views

SharePoint 2013 Online Permission to User Profiles REST API

I have a SharePoint application which I've built using javascript on a single page (not using an app). I have to make calls to the user profile service to retrieve properties like Manager and Business ...
0
votes
2answers
53 views

Problems while Accessing SharePoint List items in SharePoint 2013 using REST API in NAPA tool

I am trying to access the list item using an APP in my office 365 share point hosted trial environment.It seems like the call REST call is failing, the alert in error function is getting executed. ...
1
vote
1answer
30 views

Get the permission list for a group using jQuery AJAX requests REST API

How can i get the group permissions for a list using an AJAX request with the REST API? I could add or remove permissions for the group but i want to know the actual permissions of the group over the ...
0
votes
1answer
18 views

Get link to image from asset library

I try to access an asset library in a SharePoint-Hosted App via the REST API. The app is hosted in SharePoint Online. I get the properties of the images (e.g. the title etc). But I do not find a ...
0
votes
3answers
47 views

Not able to access sharepoint list using rest api

This is my code function getListItem(url, listname, id, complete, failure) { // Getting our list items $.ajax({ url: url + "/_api/lists/getbytitle('"+ listname +"')/items", ...
1
vote
1answer
27 views

ItemAdded not firing with REST

I have an ItemAdded on a list which creates a Document Library for each item added, and updates some fields of the item. It fires perfectly when items are entered manually. It doesn't fire when ...
0
votes
1answer
12 views

Create an item with REST API from workflow - Sharepoint 2013

The main idea of this is to create an item from workflow in another list which is located on different site collection. So i though if its possible to create an item in list with REST API trough the ...
0
votes
1answer
21 views

Upload new image in asset library in SharePoint Online

I am developing a SharePoint Hosted app for SharePoint Online. Now I wondered if there is a way to upload a new image file to the central asset library. I found several code snippets for C#, but my ...
1
vote
2answers
61 views

Expand a multi value field in REST API

I have a Sharepoint list that has a multi value field which stores Person or Group. In the GET call to the Sharepoint list, I get the following response. Collaborators is the name of the field in ...
0
votes
0answers
15 views

Server error in Sharepoint newsfeed 2013 when uploading image

Whenever i upload any image in share point 2013 newsfeed , the rest api for getting newsfeed(http://siteurl/_api/social.feed/my/news), it returns me "Request Error". Can anyone help ?
1
vote
0answers
27 views

Download SharePoint folder using Python

I am using requests library in python to get pages from SharePoint 2010 and it's working fine, now I need to walk through a SharePoint directory and download all files from there to my local machine. ...
2
votes
2answers
20 views

Search REST API with the User Profile Service and Hyphenated Last Names

Using the Search REST API to get all users where their last name begins with a certain letter to make a custom user directory. For example, I hoped that the following would return all users that have ...
0
votes
2answers
59 views

Passing the Sharepoint Logged in user credentials to a REST API Call

I am having issues passing the current logged in user's credentials in to a REST API call. Here is the scenario: I have a SP 2010 hosted site that has a web part that makes a REST API call to ...
0
votes
2answers
26 views

Path to User photo by ID (URL)

I'm consume data by REST: spApp.controller('blogCtrl', function ($scope, $http) {$http( { method: "GET", url: ...
1
vote
1answer
17 views

Retrieve non-system folders from RestApi given the folder's relative path

'YouDomainServer'/_api/Web/GetFolderByServerRelativeUrl('relativepath')/Folders This call returns the system folders like 'Forms' which are not generally visible to the user. How to exclude the ...
1
vote
0answers
22 views

Trouble with curl and rest

I'm having a problem using curl to pull a specific task from sharepoint 2010 enterpise. We use a very complicated extendscript to process images into archive locations and create web images. We ...
1
vote
1answer
28 views

SharePoint site accessed via AAM url causes 401 Unauthorized error

I have a internet mapping for a SharePoint site that works fine. However, the same site's WCF REST service causes a '401 Unauthorized' error when accessed via a coded functionality. The same code ...
1
vote
2answers
56 views

Get all Files and Folders in one call

I want to get all the files and folders contained inside a SharePoint folder in one rest API call. We have the below API to get all the folders inside a folder ...
1
vote
0answers
37 views

Invalid Audience Id - Office 365

I am trying to connect with office 365 without going through Azure, so I was able to get the access token by calling the following URL ...
1
vote
1answer
23 views

Is it possible to exclude certain user views from ViewsLifeTime?

I'm getting the most popular pages in our site collection using the search REST API: _api/search/query?querytext='ContentTypeId:0x010100C568*'&sortlist='ViewsLifeTime:descending' The problem is ...
1
vote
1answer
69 views

REST endpoint working in SharePoint online and not in on premise

/_api/web/lists/getbytitle('List')/items?$select=Id,AttachmentFiles&$expand=AttachmentFiles The above REST endpoint works in SharePoint online and we are able to fetch attachments but the same ...
5
votes
2answers
155 views

Consume SharePoint online lists using REST API (in R)

I would like to be able to query lists that are on my sharepoint online site via R. I'm having difficulties ascertaining the right method for authenticating my requests. These requests would be ...
0
votes
1answer
46 views

I want to get list of all site collection available on SharePoint Server 2013 using CSOM or REST API but not server object model

I am working on client application for which I don't want to use Server Object Model of SharePoint 2013. I am ready to go for anything other that SOM. I want to get a complete list of site ...
0
votes
0answers
19 views

Can't send Email: Error 500 or 403 when trying to use SP.Utilities.Utility.SendEmail

I am getting a Internal Server 500 error when trying to send an email using the SP.Utilities.Utility.SendEmail in my SharePoint Online App. It is worth noting that I am working from a custom .aspx ...
1
vote
1answer
39 views

Is it possible to get the most popular pages using REST?

I want to show a list on our homepage of the most popular pages in our site collection. Is there a way of accessing this information using REST?
0
votes
1answer
25 views

http post with body content in Java [duplicate]

i have trying to create a document libary by using SharePoint rest api but how do i add the body content with the post in Java? body: { '__metadata': { 'type': 'SP.List' }, 'AllowContentTypes': ...
0
votes
2answers
59 views

Create a document-libary with SharePoint rest api

Is it possible to create a document-library via SharePoint Rest API?
0
votes
0answers
17 views

How to make REST requests from javascript

I have a web site and I want to get a document library from sharepoint. I want to do this in javascript only. Do I need to get OAuth Access token? Is it possible to establish tokens without backend ...
1
vote
2answers
59 views

Get the list of all users from Sharepoint Online

I'm using CSOM .NET library to access Sharepoint data via ClientContext. Is there a way to get the list of all users (including users who don't belong to any group) from Sharepoint? If not, is there a ...
3
votes
2answers
122 views

Get the group of the current user using REST API

I'm trying to get the group of current user. By using this code: function checkGroup() { var group = ["D", "Sup", "A", "CP"]; for (var i = 0; i < group.length; i++) { if ...
0
votes
1answer
26 views

REST API get by author differences by platform

I find that when I want to retrieve custom list items by author (in this case, by the current user) I need to use a different query whether using SP2013 on premise or O365. I tried creating the same ...
1
vote
2answers
39 views

Adding a folder to a list using the REST API

I have a GenericList that accepts folders as elements. I know how to create those folders in Sharepoint's interface. I'd like to be able to generate them with a script, using the REST API. I know ...