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

1
vote
0answers
83 views

How to dynamically set credentials when calling a REST web service with code in Infopath

Our SharePoint is configured to use Claims Based Authentication. We want authenticated users in SharePoint to fill a form and some fields will be automatically filled with their personal data. We ...
0
votes
1answer
41 views

Check In file with Javascript and REST

I am trying to check in a file from my sharepoint-hosted app with jsom and rest, but it wont work my code look like this: function checkInFile() { var hostUrl = ...
3
votes
1answer
82 views

Downloading and saving sharepoint 2013 file into browser client

I'm trying to get and save files from SharePoint app using REST, the files are located inside the host SP. Once got the file, I'm saving/downloading it into the browser with a save function. When I ...
0
votes
1answer
656 views

SharePoint 2013 REST-API: Reliable way to retrieve all field values of a list item?

I am trying to retrieve all field values of a specific list item via the REST-API of SharePoint 2013. The values will be used for further processing. The goal is to retrieve all field values ...
0
votes
2answers
275 views

SharePoint2013 REST: Get user profile properties

I've been fighting to get user data using the REST API but I can't get it to work mainly because I am getting a server error 500 "Network Error: 500 Internet Server Error - ...
0
votes
0answers
6 views

Listdata.svc is available on a site, but not its parent

I have a Sharepoint 2010 Enterprise site with many subsites. I'd like to access listdata.svc with REST, but I find that out of 60 sites and subsites, ...
0
votes
0answers
100 views

Using SharePoint REST API to retrieve user group in InfoPath

I'd like to display a current user's group list somewhere in my custom InfoPath form. I can't use static addresses (like http://mysite) so I can't use the SOAP services. Does someone know how to ...
0
votes
0answers
46 views

Office Online Public Site Cross Domain using REST Api to query List

I have a public Office 365 SharePoint site. I am using the REST Api to query some lists. Well since I have a custom DNS name, upon making my site public I lost the SSL cert on the site. This is ...
1
vote
2answers
178 views

Insert a list item using REST form webpart: 403 error even when X-RequestDigest is present

I intend to insert a list item from the main page in intranet to a list hosted on another site collection. I made this simple HTML & JS to get it done, but I always get the 403 / FORBIDDEN error: ...
3
votes
1answer
1k views

SharePoint 2013 REST - Create list item with user field and lookup field

I'm trying to add an SPListItem to an SPList via REST, but have a problem with User or Group and Lookup (information already on this site). function adddullitem() { var item = { ...
0
votes
0answers
35 views

Javascript REST API clearing error state

I am working on a SharePoint web app, and using the cross-domain library. I am looking for ways to recover from errors that the deferred functions return, and was wondering if SharePoint REST API has ...
1
vote
0answers
96 views

Updating multi-value fields using REST API

I searched previous posts and the closest to my question is: Updating Lookup Values with the REST API however I am using the cross-domain library and my update query uses ValidateUpdateListItem ...
0
votes
2answers
191 views

REST API OData Filter on Boolean not Working

When I perform a REST query to the following URL: _api/web/lists/getbytitle('BtProjects')/items?$filter=Active eq true I receive only the one item that has this field marked as false. I get the same ...
2
votes
2answers
310 views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
2
votes
2answers
289 views

Copying files AND folders via REST/Javascript

I'm trying to build a the following functionality into a library view: Each document has a checkbox beside it User checks off which documents/folders they want to copy User clicks a "Copy Files" ...
2
votes
1answer
197 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
237 views

creating a subsite using c# and the rest api

Im trying to create a site using the rest api from a console app. I keep getting a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...
0
votes
1answer
110 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
273 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 ...
2
votes
1answer
678 views

Using JSOM or REST get list items stored in a different web application

In an on-premises SharePoint 2013 environment I need to read list items stored in a different web application using JavaScript based solution. This could either be JavaScript in Script Editor web part ...
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 ...
0
votes
1answer
178 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
147 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
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
166 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
223 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 ...
0
votes
1answer
145 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
13 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?
1
vote
1answer
153 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
2answers
121 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
65 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
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
109 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
136 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
1k 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
489 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. ...
3
votes
3answers
122 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
1answer
109 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 ...
3
votes
2answers
244 views

Sharepoint REST service

Is there any way of reading the documents names of a Document Library using JavaScript from a web application that is not hosted in SharePoint? by the way, my requirement if for SharePoint 2010 not ...
5
votes
1answer
183 views

Avoid NTLM Authorization Handshake On Every Request to the REST API?

I am accessing SharePoint 2010 REST API with a System.Net.Http.HttpClient. The server is set up with NTLM authentication, and I am accessing it over the Internet. Every time I send a request from my ...
1
vote
1answer
255 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
126 views

Search REST API call not working for anonymous

I'm trying to execute the following query for anonymous users. But, its not getting any results. When login, its working fine. Any idea about this ? /_api/search/query?QueryText='Category: "About ...
2
votes
1answer
120 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 ...