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
63 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
85 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
49 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
163 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
144 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
20 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
1answer
94 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
88 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
129 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
87 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
56 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
51 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
90 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
132 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
92 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. ...
1
vote
1answer
63 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. ...
1
vote
2answers
38 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
0answers
42 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
1answer
88 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.
0
votes
2answers
53 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
2answers
220 views

REST filter=startswith not working when filtering using Id field

When filtering a text column like in built Title field using startswith, proper results are returned. Example: http://aissp2013:111/_vti_bin/ListData.svc/ChangeRules()?$filter=startswith(Title,'Ti') ...
4
votes
1answer
233 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
0answers
116 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
3answers
156 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? ...
2
votes
1answer
291 views

Is it possible to make SharePoint lists accessible cross domain using REST API?

Is it possible to make SharePoint 2013 resources accessible via internet using REST API? Say I want to do CURD with a list from outside of SharePoint. How we can manage credentials for this situation? ...
2
votes
1answer
39 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
26 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
42 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
589 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
195 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
148 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
54 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 ...
0
votes
0answers
71 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 ...
2
votes
1answer
79 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 ...
1
vote
1answer
272 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
109 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 ...
1
vote
1answer
81 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
37 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
104 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, ...
0
votes
1answer
29 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 ...
1
vote
1answer
587 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
180 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
208 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
1
vote
1answer
480 views

How to copy files between sites using REST API in SharePoint Online

I have a file in a document library called images: https://xxx.sharepoint.com/Site1/Images ... and I would like to copy the file to the document library called backup in this site: ...
0
votes
1answer
36 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 ...
0
votes
1answer
506 views

How to Get User Active Directory Groups in Sharepoint Online

I can't find any documentation or a way to find if a user belongs to an AD group with Javascript neither with the REST API or with the client model JSOM. I have a page in a Sharepoint site and I want ...
0
votes
1answer
47 views

Getting extra information with REST API call

So I'm trying to get TeamCalendar information out of Sharepoint in a single call, but I can't get the Attendees out. This is my code: $.ajax({ url: ...
3
votes
1answer
697 views

Access programmatically to SharePoint 2013 Online REST Web Services from Windows 8.1 Application

I have a problem in connecting to SharePoint online from the Windows 8.1 Application. My goal is quite simple: Connect to SharePoint Retrieve the List of Lists Get Items from a List I have tried ...
1
vote
2answers
138 views

Get survey questions via Rest API

I am able to get all the fields in a survey using the web api url : _api/Web/Lists(guid'cecxc8b4-bbvc-472c-ae3f-d648bd0bb025')/Fields How ever I am not able to distinguish questions from the ...
2
votes
2answers
169 views

How to use SharePoint list data in an Android application?

We want to pull in the SharePoint list data into an Android application. Is REST webservices the way ahead? Or is there any other method? Please provide articles reference in your answer. How do ...