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
3answers
1k views

Get all users filtering by custom property using sharepoint search api

I need get all users with a custom property using sharepoint search api, this custom property already mapped in sharepoint. I'm using this url, and this retrieves all users ...
1
vote
2answers
45 views

SharePoint 2010 REST URI won't return data for only some lists, why?

When creating lists in SharePoint, do you have to enable the REST service feature per list or something similar? I have one SharePoint list that returns data fine using REST, the URI is loosely as ...
0
votes
1answer
83 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
407 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 ...
14
votes
5answers
9k views

How can I authenticate SharePoint REST calls from JavaScript?

I have been banging my head against a wall on this problem for weeks now Warning and Disclaimer .. I have very little JavaScript experience when it comes to REST / Web Services I have an on ...
1
vote
2answers
233 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. ...
2
votes
0answers
128 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 ...
5
votes
1answer
531 views

Workflow getting Access denied when calling the rest webservice from subsite

i have following problem. I am using SP 2013 Online and i am trying to access some informations from the sub site, like http://[SPOnlineUrl]/SubSite/_api/web/title. But i will always get the annoying ...
1
vote
1answer
79 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
825 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 ...
0
votes
2answers
428 views

SharePoint Online: Getting Current User Information

What is the best way to get the current users information. With the UserProfileService unavailable in SharePoint Online what would be the best method for getting a users information. Client was ...
2
votes
2answers
403 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 ...
2
votes
1answer
293 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 ...
0
votes
0answers
26 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 ...
3
votes
1answer
280 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
605 views

SharePoint 2013 RESTful calls returning 404 not found

Using the Get started with the SharePoint 2013 REST service, I am trying to access the following internal SharePoint site: http://mycs.nce.dirc.aon/sites/SuperSecret/default.aspx I have tried sending ...
0
votes
3answers
127 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 ...
1
vote
1answer
93 views

OData.ODataContentTypeException when trying to post via perl

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. ...
0
votes
2answers
1k views

Access and USE list data across site collections

I have two site collections in SharePoint Online environment (Office 365 dedicated). Site A: https://SharePoint.com/sites/SiteA (Data Source - Read Only Access) Site B: ...
0
votes
0answers
88 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 -> ...
2
votes
2answers
467 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 ...
0
votes
1answer
335 views

Create site collection from REST Api

I have read guides like http://sharepointryan.com/2013/09/10/create-a-sharepoint-site-spweb-using-rest-in-spd-2013-workflow/ but that is to help create a subsite and not the actual site collection. ...
0
votes
0answers
67 views

Search api postquery

I am writing a query to the search api using post method , the sample below works properly, I am trying to figure out the syntax to include multiple refinement filters such as filetype = docx AND ...
0
votes
2answers
92 views

Getting all sites for user with permissions

I'm trying to get all sites for a user on which he has permissions. For this I'm using the search api. In a for-loop from 0 to totalRows. This is my request url: ...
0
votes
1answer
286 views

CSOM vs REST in sharepoint 2013 in terms of performance

CSOM vs REST in sharepoint 2013 in terms of performance and why.I have been having this question for a long time and I have not got a clear picture on this.
2
votes
1answer
998 views

Authenticate external systems against SharePoint REST services

I want to make the SharePoint(on prem) REST services available for a number of other applications. The other applications are built on different platforms, Microsoft, Java, etc. Applications should ...
1
vote
1answer
465 views

GetPropertiesFor ajax call from Sharepoint 2013 app

I tried the below code with GetMyProperties in a SharePoint Hosted app and it works, but the following code gives me a bad request url = appweburl + ...
2
votes
1answer
118 views

What is difference between SharePoint REST and ODATA?

I have read that SharePoint REST and ODATA provide web services like WCF to fetch list/items, etc. So what is difference between REST and ODATA? Please provide a programmatic example to show the ...
4
votes
1answer
291 views

App prison break

Me an my colleges were discussing the possibility of breaking out of the sandbox that a SharePoint-hosted apps provide. As most of you know host webs in SharePoint 2013 are protected by deploying apps ...
0
votes
1answer
36 views

where are foreign lists and how to query them?

I use REST/JSON to query Sharepoint 2013 where "expand" helps me to retrieve the authors name from a foreign list. .../_api/lists/getbytitle('list1')/items?$select=*,Author/Title&$expand=Author ...
0
votes
0answers
272 views

Rest API Responsive Web App

I am creating a responsive intranet Web Application using AngularJS and Bootstrap (not a SharePoint App) that will be ported into PhoneGap which leverages SharePoint Server 2013 as its back end (CRUD ...
0
votes
2answers
2k views

REST post with metadata column?

I have a jquery script that uploads a file to document library. I'm trying to set a choice column in the same call, but can't seem to get it to work. The upload is working, but Col1 is a choice ...
2
votes
1answer
49 views

sharepoint online REST API

Is it possible to use sharepoint 2013 REST API, documented there: http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx On a Sharepoint Online site ?
1
vote
0answers
30 views

How to query “Followed Count” for each user?

I found follow this REST API: http://msdn.microsoft.com/en-us/library/dn194080.aspx#bk_FollowedCount By using My/followedcount, I can get current user's count of items he or she currently following. ...
0
votes
1answer
78 views

Rest queries in SP2010 with $top and $skip

I have been reading up on Rest queries for SP2010, but at the moment I dont have an enviroment to test on. would these two queries return items 10-19 of the Example list? var test1= siteUrl + ...
3
votes
1answer
1k views

C# using REST to update a list item in an ASHX page

We have an existing ASHX page in our 2010 farm that users hit to pull in some RSS data. I'm wanting to do some tracking on the usage of this page. I don't want to IIS log parse for this so my thought ...
1
vote
1answer
503 views

REST API filter multi person/ group column by null

I have a multi person/ group column. I need to apply rest api filter on this column. I can filter it by values. eg: _api/Web/Lists/getbytitle('testList')/items?$filter=(Access/Id+eq+21) But when I ...
0
votes
2answers
394 views

SharePoint Rest API internal server error

When I deploy (or debug) the App and I call a REST service (retrieving list items) I get always 500 Internal Server Error, Unknown Error Maybe I tried to get the items before that the list ...
0
votes
0answers
108 views

Excel Rest c# program giving error

I'm facing these issues while I'm trying to compile a simple example of using the excel rest API: Error 4 The type or namespace name 'RangeResponse' could not be found (are you missing a ...
0
votes
0answers
88 views

Excel rest request in C# gives unauthorised exception

I'm trying to call an Excel rest request through my C# console program. the problem is that every time I put in my login details in the console and the request is sent. I get an unauthorized exception ...
1
vote
1answer
721 views

Get ContentType name with select fields

I have a problem with getting the ContentType name for a item. when i use http://sp2013dev/sites/mms/_api/web/lists/GetByTitle('List')/items(1)/?$expand=ContentType I get as response all Fields ...
0
votes
1answer
194 views

How to make a REST call with a console application to the SEARCH REST API?

I have created a console application by using this tutorial: http://blogs.msdn.com/b/kaevans/archive/2014/03/02/building-a-sharepoint-app-as-a-timer-job.aspx With some differences of course, in my ...
0
votes
0answers
383 views

REST API Web/Lists SharePoint Online vs. On-Premise - different responses?

I'm currently working on a client application for iOS which retrieves documents libraries from a remote SharePoint 2013. To support SharePoint Online as well as On-Premise installations i got a test ...
1
vote
1answer
142 views

Cannot see property using search api

I tried to retrieve results from the search api using REST call like this: http://server/Search/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31' I can see the ...
0
votes
0answers
49 views

Set Web Part connection via client side code

Is there a way to set up a Web Part connection using client side code? I am open to any client side solution: SOAP services, JSOM, REST, other...
0
votes
2answers
307 views

Use a WCF service or REST api for JSON?

I've just started working with SharePoint 2013 on a company that uses a WCF service to return JSON data with .svc-files and custom classes. I got the task to populate a table with items from a List, ...
1
vote
1answer
1k views

Get list items created by logged in user with REST api

How can I get all list items created or changed by the currently logged in user with this function? What's the correct query? // Getting list items based on ODATA Query function getListItems(url, ...
2
votes
1answer
200 views

How to add URL to list using JavaScript

I have a list with a title and a url. I'm trying to add a new url using this function function addListItem(url, listname, metadata, success, failure) { // Prepping our update var item = ...
1
vote
1answer
346 views

Sharepoint 2013 delete AttachmentFiles by JS

how can I delete an AttachmentFiles of a list item by Javascript? (with REST or using SP.RequestExecutor) Thank,Nk
0
votes
1answer
74 views

REST query cannot be viewed in Internet Explorer

I am trying to get the results from a site using REST call like this: http://server1/sites/mysite/_api/web/lists/getByTitle('list title') But it's giving me that Internet Explorer Cannot Display This ...