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

0
votes
0answers
10 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
111 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
89 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
58 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
26 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
80 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
48 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
11 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
84 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
31 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
30 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
29 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
578 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
62 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
228 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
100 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
77 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
161 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
130 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
169 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
0answers
83 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
88 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
1answer
47 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 ...
0
votes
2answers
349 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 ...
1
vote
1answer
238 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 ...
0
votes
3answers
219 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
86 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 ...
0
votes
1answer
60 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: ...
1
vote
2answers
67 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
0answers
60 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
293 views

Can local SQL Server data be made available in SharePoint Online

We have a SharePoint Online account and local data in a SQL Server instance. The data from the SQL Server is available as an OData feed in SharePoint and can be worked with in Excel Power Query. We ...
0
votes
1answer
285 views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> ...
0
votes
0answers
58 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", ...
0
votes
1answer
72 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
1answer
72 views

SharePoint REST API - How To Enable Incoming Email On A List

am trying to migrate SharePoint 2010 code to SharePoint 2013 using the REST API. I have a list that is created dynamically, and one of the settings I need to enable, is to allow incoming email into ...
1
vote
1answer
331 views

Data from multiple lists using single REST API call

I need to get some data based on a key field from multiple lists. For this, I may need to do multiple API calls. Is there any way to avoid this ? To get all the data from multiple lists in a single ...
2
votes
0answers
106 views

Workflow getting Access denied when calling the rest web service call

I have followed the MSDN article to give app permission to the Workflow and added the app step in the Workflow with elevated privilege. Under this step, made a web service call to {web ...
1
vote
2answers
169 views

logical not of substringof() in 2013 REST API

I'd like to filter a rest request and get the opposite of: filter=substringof('foo', Title) I've tried with a leading "not" and also ending with "eq false" but those it seems are not valid queries. ...
1
vote
1answer
67 views

Upload file using JS and REST. Specify content type

I can upload file to SharePoint library using JS and REST. The content type of added file is as library default content type. How can i specify file content type when uploading file? Thanks!
0
votes
2answers
546 views

Filtering querystring results by date range

Simply, How do you filter results returned using querystring that fit within a given date range. For example I have a custom property RMExpiryDate and the value could be any date, lets say for ...
2
votes
2answers
312 views

How can I search a specific subsite using the REST API in SharePoint 2013?

Which is the best way of limiting search results to a specific subsite when using the search REST API in SharePoint 2013? I've tried adding a new content source ("MySubsiteContentSource") (in ...
0
votes
0answers
25 views

SPO / Rest API Changing TimeLastModified

Is it possible to set (on upload) or modify (e.g. with a PATCH operation) the TimeLastModified attribute in Sharepoint 2013 / SPO via the Rest api? I'm getting mixed signals on this one - I've tried ...
0
votes
2answers
227 views

Force users to enter document metadata before creating a new document in Sharepoint 2013 document library?

First off, I'm new to Sharepoint. With that out of the way, I have a document library based on a custom content type. When working with Sharepoint document libraries some users find the document info ...
0
votes
3answers
103 views

Get the id value from the page url

In SharePoint how do you get the ID value from the url of the page you are on using javascript( Jquery,ajax, Rest..), e.g. I have the url like so: http:// ddd/mypage?ID=xx I tried before to ...
2
votes
1answer
233 views

Invalid JSON. A token was not recognized in the JSON content

I fetch data from Sharepoint using perl on a linuxmachine. This worked real good as long as I only had to read data from there. Now that I also have to change data on Sharepoint I'm stuck. Altough ...
0
votes
2answers
137 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
0answers
75 views

Cannot edit properties after overwriting file in a document library

I am (programmatically) overwriting a file in a document library after which none of the metadata fields can be edited either programmatically or manually: Edit Properties -> change something -> ...
0
votes
0answers
96 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 ...
2
votes
1answer
222 views

Rest Query Managed Metadata Filter

I am currently writing a JSON query for office 365 (sharepoint 2013) where the filter is suppose to filter depending on values returned from a managed metadata field I am trying to filter based on ...
2
votes
2answers
341 views

Rest Javascript Query Managed Metadata field

I am query a list via rest results I retrieve fine in Office 365 (sharepoint 2013). I have two fields of which one is a managed metadata fields. I am looping through the results retrieved but when ...