The REST (Representational State Transfer) interface in Microsoft SharePoint Foundation 2010 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 ...

learn more… | top users | synonyms

2
votes
1answer
184 views

Getting List with REST Service to HTML page on different domain

I am trying to get data from SharePoint and display it in an HTML page on a separate domain using SharePoint 2013's API. The SP instance sits on-prem and the other domain is also within our firewall ...
0
votes
1answer
666 views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
0
votes
1answer
109 views

Understanding authorization schemas for a custom SharePoint web service

I am building a custom Rest service to be hosted on a SharePoint 2013 farm. The service currently has only one method called "Ping" which simply return the current DateTime. public interface IService ...
1
vote
0answers
267 views

How to upload a file using REST and C#

I already go a connection with the OAuth 2.0 protocol. I am using REST and C# to get file- and folder information, create folders etc. through WinForms. Im not able to upload a picture. (A text file ...
0
votes
0answers
42 views

Enable Create/Update/Delete operations for the REST API

I'm using the REST API with two Sharepoint installations (one using Sharepoint Online, the second using Sharepoint Server). When I'm using Sharepoint Online, everything is fine. When I'm using ...
0
votes
1answer
177 views

How to parse the output returned from REST (/_api/)?

When we use REST we get output as xml how do we parse this via JSOM and fetch the values? Also, please provide some information on how to use this in SSOM instead of JSOM?
0
votes
1answer
42 views

Error when using REST URL

Hello we can use foll URL in IE and get XML output: http://intranet:1111/_api/SP.UserProfiles.PeopleManager/GetMyProperties/PictureUrl But if we try to use the below URL we get error as feed format ...
1
vote
1answer
151 views

How can I authenticate SharePoint REST calls from Android App?

I have a website that is built using SharePoint Foundation 2013.I have a number of list and libraries there. For Example: I need to develop a android application to show the SharePoint List ...
0
votes
1answer
138 views

What governs the decision to use server object model or client object model or javascript object model or REST?

What governs the decision to use (in SharePoint 2013)?: server object model (ssom) client object model (csom) JavaScript object model (jsom) REST
0
votes
1answer
64 views

SharePoint 2010 REST API to get entry permissions

Using the SharePoint 2013 REST API, I am able to get file\folder permissions using GetFileByServerRelativeUrl or GetFolderByServerRelativeUrl and then expanding RoleAssignments to get all the ...
0
votes
2answers
150 views

Error: The security validation for this page is invalid

I have as simple function to just upload 1 document in 1 library. I made a REST service as part of a SharePoint solution which I deploy/debug against sp2013. However the list.Rootfolder.Files.Add ...
1
vote
1answer
59 views

SP 2013 REST API retrieve values from lookup library

I have a custom list 'MyList', containing a (single value) lookup field 'MyLookupField', which points to a library 'MyLibrary'. I now want to retrieve all items from 'MyList', including the Link to ...
0
votes
2answers
116 views

How to get all the files created by an user on Sharepoint using REST API

I am trying to get all the files created by a specific user using userid. The below REST url is what I am trying: ...
0
votes
1answer
216 views

Multiple File Upload with Metadata Using REST

I want to upload multiple file with metadata using REST service. I am using http://msdn.microsoft.com/en-us/library/office/dn769086(v=office.15).aspx it works perfectly fine with single file upload ...
1
vote
1answer
454 views

Can a sharepoint hosted app get access to data in another site collection?

Can a sharepoint hosted app get access to data in another site collection? I'm getting a windows login dialog when accessing data in another site collection (other than the host webs site ...
2
votes
1answer
3k views

Properties when uploading Files using REST in SP 2013

After a lot of research I finally got uploads via REST working in SharePoint 2013. But I would like to provide additional properties to the Add Function like Title. This code works so far but the only ...
0
votes
1answer
134 views

SharePoint2013 Add folder/sub folders to document library from outside SharePoint environment

My requirement is when a button clicked in my application(hosted on a different server), need to check folder exists with the named supplied. If not exits, able to create folder and sub folders in a ...
0
votes
0answers
12 views

Querying 'Append Changed to Existing Text' from client script?

Is there a way, preferably via REST but JSOM would work, to query a SharePoint 2010 field to get all entries when 'Append Changes to Existing Text' on a multiple lines of text field is enabled?
0
votes
0answers
117 views

Sharepoint 2010 REST API to get groups a user is assigned to

Does the Sharepoint 2010 REST interface allow you to get groups that a user is assigned to? I tried pulling users from UserInformationList, but that does not give group data. I've been searching ...
0
votes
0answers
34 views

ko is not defined - Knockout and SharePoint 2013 Code Embed?

Any special considerations when loading Knockout with code embed on a SharePoint 2013 Page? <script type="text/javascript" ...
1
vote
0answers
108 views

Copy file to another folder with REST API

I'm trying to copy a file located in user's personal folder (OneDrive Pro) using REST API. The resulting link seems to become too long and server returns 400 BadRequest: The length of the URL for ...
0
votes
1answer
55 views

Date functions with $select in REST API

I'm using the following REST call to get the data. Here is the url structure: SiteURL+'/_api/web/lists/GetByTitle(\''ListTitle+'\')/items?$select=AlternateThumbnailUrl,Title,Created this is ...
0
votes
0answers
12 views

Is there an elegant way to download the source of a <content> tag from ATOM?

I am trying to download the forms XML from a Sharepoint 2010 list using the REST API's ATOM feed: http://sharepoint.example.org/Site/_vti_bin/listdata.svg/ListName I want to download the content, ...
1
vote
2answers
134 views

SharePoint User Profile REST API unknown error

I activated user profiles (and managed metadata services), but when I call: http://<mysharepointsite>/_api/SP.UserProfiles.PeopleManager/GetMyProperties I get: <m:error ...
1
vote
1answer
33 views

Access Sharepoint Images from app

I'm in the process of setting up a REST call to access images in a SP folder via Office365. My question is where do I add my onedrive credentials as part of the REST call? Once the call is ...
0
votes
0answers
31 views

Expand Group data in Lists

I'm trying to get the list Items with the REST api but I would like to add the group data of the owner (especially the group ID or the groupname) within the items data, Is there a way to expand the ...
0
votes
0answers
31 views

List Item Filtering for Adminsitrators

I have a list that I'm querying using RESTful uris like so: http://site/_api/lists/getByTitle('Links')/items Each item in the list has individual permissions applied to it (both users, and groups) ...
4
votes
3answers
990 views

REST API filter by start and end dates

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
1
vote
0answers
85 views

Update folder name using rest api

I am using REST to update folder name via sharepoint apps. My code as follows. executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + ...
0
votes
2answers
463 views

REST Adding New List Item

I am currently using office 365 and lots of REST queries to display data. However I am now creating my own forms using bootstrap and JQuery. However, how do I use REST to add the data to the list. ...
1
vote
2answers
1k views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
3
votes
3answers
121 views

Soap + Rest: Trying to understand differences for selecting fields between the two

I'm working on a Java-Application that integrates with SharePoint. The different SharePoint services are currently requested via the SOAP API. I am now working on an abstraction layer to also ...
0
votes
2answers
2k views

Public facing website with SharePoint 2013

I'm just getting started with Sharepoint and my assignment is to create a public facing website based on Sharepoint 2013. If I get it correctly, the new way of buildning things in 2013 is the app ...
0
votes
1answer
104 views

Get all documents in a Document library using SharePoint 2010 services and Javascript

I am trying to retrieve all documents in a document library using SharePoint 2010 Services (Listdata.svc or lists.asmx) and JavaScript. I have searched on Internet and found some, none of them gets ...
1
vote
1answer
251 views

SharePoint Online REST API Image upload AJAX

I'm trying to upload an image to SharePoint using native JavaScript/jQuery - NOT SP.RequestExecutor. I've cracked the authentication issue, nice and easy, so now it's just a case of working out how ...
1
vote
1answer
423 views

SP2013 C# REST File upload

I'm working on a piece of software that uploads files into a given sharepoint directory from a remote location (ASP.NET MVC). I have everything working properly, uploading with CSOM when files are ...
2
votes
1answer
117 views

How to List Documents in a SharePoint 2010 Folder with REST

I'm trying to access an SPS 2010 document library that contains folders, which in turn contain documents. I can successfully list the content of the library and see all folders and root-level ...
0
votes
2answers
551 views

SharePoint list as data source for jQuery DataTables plugin

I trying to create a table using a SharePoint list as source. I followed this tutorial and it worked perfectly. But this method would not work if you need to reload the data using, let's say a drop ...
0
votes
1answer
54 views

Search Autocomplete

I've been making a custom SharePoint Web Page and I had a basic search bar that searches either Google or our SharePoint site depending on which of two radio buttons are selected upon searching. If ...
1
vote
2answers
924 views

Invalid field or parameter requestInfo.url

I am trying to get users blog post (newsfeed blog posts) which are located on same web application as other site collections and show them within a web part by using JavaScript. I use ...
0
votes
2answers
158 views

Use Google Visualization with Datatables plugin and which get data from REST

I have this code that get the data from SharePoint using ajax, and the datatable plugin creates the table. function LoadAIP(state){ var call = $.ajax({ ...
0
votes
3answers
364 views

Using REST call and Datatables plugin to retrieve SharePoint Date field

I'm having an issue with a REST call that's giving me some headaches. This is the code I'm using: function LoadAIP(state) { var call = $.ajax({ url: "https://xxxx/xxxx/_vti_bin/listdata.svc/AIPList? ...
0
votes
3answers
346 views

Get User Details From REST Data using CSOM

I am currently using REST to query a discussion board list. The results I am then displaying nicely in a table using bootstrap. We are using office 365. The REST query returns an authorID. How can we ...
1
vote
1answer
111 views

Need help retrieving site column names using REST service call in SP 2013

I need to retrieve content types and accompanying site column names and fields. Does anyone know how to construct the REST notation to accomplish this? I have tried variations of: /lists/sitecontents ...
1
vote
2answers
91 views

MultiChoice doesn't show up in REST service Content Types

I've added a multichoice column to a content type, and when I call listdata.svc and look inside of the content types and find the one I want, the multichoice column isn't there. When I change the ...
0
votes
1answer
69 views

Checking if the site I'm following has newsfeed enabled

Problem: I want to fetch all the sites that I'm following but want to eliminate those that don't have newsfeed/site feed enabled. There is a REST endpoint to fetch all the sites that I'm following: ...
0
votes
0answers
82 views

Authorizing Project Server 2013 REST queries

I'm trying to make queries to the REST API in Project Server 2013 from a Sharepoint Hosted App. The app is running on app12345.sharepoint.domain.com/SharePointApp7/Pages/Default.aspx. The PWA instance ...
0
votes
1answer
117 views

Expanding columns in lookup fields

Using the SharePoint 2013 REST API, Can I get more than one column from the lookup column by using the $select and $expand endpoints?
0
votes
0answers
69 views

How to use the file data downloaded by REST API

how can I use the $value downloaded by the REST API? $.ajax ( { url : _spPageContextInfo.siteAbsoluteUrl + "/_api/web/getFileByServerRelativeUrl('" + selected + "')/$value", type : "GET", ...
4
votes
3answers
3k views

SharePoint 2013 Call the REST API from SharePoint hosted app

I've successfully deployed a SharePoint hosted app to office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...