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

4
votes
2answers
552 views

Create Page using REST API

I have spent two days trying to create a page with a specific Content Type in Pages list using REST API. It goes into error handler and returns ...
1
vote
1answer
453 views

Retrieve toplevel site's subsites using REST _api

I'm currently working on an iOS app which uses _api-services to retrieve data stored in documents libraries of a SharePoint Online. Consuming _api/web/Lists/ works well so far. At the moment the REST ...
2
votes
1answer
159 views

REST listdata.svc call to another site in collection doesn't return people picker values

I have two sites on the same collection. There is a people picker field on my list in site2. I am in Sharepoint 2010. mysharepointsite/site1 mysharepointsite/site2 I am using the Sharepoint REST API ...
1
vote
0answers
48 views

Workflow HTTP PUT request error

Receiving this error when trying to update a list item via HTTP PUT in SPD Workflow: error":{"code":"-1, ...
0
votes
1answer
531 views

Using CORS with SharePoint REST services from SPA

Continuing from my earlier question SharePoint Webpart development using SPA or JavaScript library for better performance I ma exploring Durandal with JayData and also KO and SPServices. The ...
3
votes
1answer
179 views

2013 Collaboration - How to programmatically get a list of all the community sites a user has access to?

Is there a way to get a list of all of the community sites that a user has read/write access to, using an API that can be easily consumed by C#? We would like to get a list of all of the community ...
3
votes
1answer
79 views

Error calling REST API in Firefox

I am using Rest API for Follow Functionality. My JS is working fine on IE but it doesn't work on Firefox(neither it goes under success call function neither under error. Is anyone having any idea ...
5
votes
2answers
538 views

How to return all user profiles

I need to query the entire user profile store and do multiple operations such as filtering based on one user profile property, sorting by another, and grouping on yet another. Is this possible using ...
3
votes
0answers
241 views

How to add items to a document library when uploading a file using Rest in SP 2013?

I am trying to add file to document library by using REST IN SP 2013 APP MODEL. This is my code I can upload file to document library but I can't add items value to that document library in fields ...
3
votes
2answers
211 views

Retrieve site collection quota and used storage from REST or JSOM

Is there a way to retrieve the amount of storage used and the quota limit for the Site Collection using the JSOM client or the REST web services?
0
votes
1answer
37 views

Assign Meta-Data to Doc-Lib-Item with Rest in a ajax chain

i developed a custom Upload-Form to be able to upload a local file and pre-populate Metadata Fields at once. So the file will be uploaded to a document library and specific meta data fields will be ...
1
vote
2answers
819 views

Checked null with dateTime in REST API SharePoint

I want to get all article pages which Article Date is not null. so I have try to do by this way. var ArticlePageContentTypeID = ...
1
vote
1answer
147 views

Search Api, filter by parameter

I'm using the Search Api to get the last modified documents by the person using the search. My search string is looking like that: https://www.intranet.i/site/_api/search/query?querytext='* ...
2
votes
2answers
233 views

Querying the documents result source SharePoint online returns incorrect results

I'm trying to use the REST api on a SharePoint online site to get results that are only documents. My query string looks like this: ...
4
votes
3answers
408 views

SharePoint REST API call with more than 500 rows

I have an AJAX call querying the SharePoint REST API which will return more than 500 rows: $.ajax( { url: _spPageContextInfo.webAbsoluteUrl + ...
0
votes
2answers
759 views

REST insert new task item

I successfully inserting item in task list, but with only title, like this: string message = "'Title': 'NewTitle2 updated'" string json = "{ '__metadata': { 'type': 'SP.Data.MyTasksListItem' }," + ...
0
votes
2answers
751 views

SharePoint 2010 REST field names capitalization rules

I have a column called "myColumn". When working with that column in SharePoint REST services I must use "MyColumn" instead (note the capitalized leading 'M'). Likewise, if my column name has spaces, ...
0
votes
1answer
73 views

Querying SharePoint search for all departments with REST API

I currently have an ajax request set up in my javascript to call the search API but this only gives me departments matching whatever I input for query: $.ajax( { url: ...
1
vote
1answer
162 views

REST returns List Items but Response is blank in SP2013

I am SOOOO frustrated ... I have a jquery function to grab list data and when I log "data" I see the full {d} with a {results} holding all the list items. But when I run it through an $.each function ...
0
votes
0answers
29 views

Access content put on legal hold via SharePoint REST service

We currently crawl a lot of SharePoint content into an external search engine index by using the SharePoint REST service. With the introduction of SP 2013, there is a new capability to apply site ...
0
votes
1answer
206 views

How do I get List Discussion hierarchy using Sharepoint online 2013 restful interface

I am trying to find the hierarchy of Discussions (Items) for displaying Subject: I have something to sell   Reply: I'll give you $5 for it   Reply: I'll give you $5.01 But I ...
0
votes
0answers
40 views

Get my Current GeoLocation and also to get directions using Navigation in SharePoint 2013

I want to start with getting current geo location from my app in sharepoint 2013 and also to get the directions of the location I wish to go... Will I be able to implement it using NAPA app in SP 2013 ...
5
votes
3answers
535 views

Get if user has permissions to access to a Cloud App for Sharepoint 2013 with JavaScript CSOM or Rest Api

I have developed a Cloud App for SharePoint 2013 on an office 365 server, and I figured out that to set the user permissions(who has access to it) for that app can be find over ...
0
votes
0answers
86 views

Using $expand with BCS External List via REST call

Is it possible to use the $expand odata keyword to expand a child (associated) entity from BCS within an external list using the REST API. Eg to get the country name from querying the customers list ...
0
votes
1answer
116 views

How is ViewsRecent in search results calculated?

I need to find the top 3 visited webs for the last 4 weeks and I need/want to do it via the REST search api. This is SharePoint 2013. The value ViewsRecent returned by a search query seems to be what ...
0
votes
2answers
2k views

Retrieving List Items using REST services in NAPA app

I tried retrieving List items from the List(Marketplace) I created in the Hostweb using REST services in NAPA app , Set the permissions for Web, Site Collection, List to Full Control, Please helpe me ...
3
votes
1answer
1k views

How to get Social Comment in SharePoint 2013 using JavaScript (REST) or Search?

I have added a Noteboard Web Part in my page. Now user is adding comments in Noteboard Web Part. I want those comments count. How can I get it using JavaScript? I am using SharePoint 2013. Is there ...
0
votes
0answers
54 views

Retrieve Profile Picture with REST

Hi i would like to show the profile pictures of the user that have created the item in a list, here is my code: <script type="text/javascript"> $(document).ready(function() { var ...
0
votes
1answer
26 views

Manipulating SharePoint data from an external website

I have a website built on SiteFinity. What I am aiming to do is: 1) Retrieve and display the 'Accounts' lists from SharePoint 2013 Foundation on the website for subscribed members. 2) Create and ...
2
votes
2answers
902 views

How can I get the URL of a Pages List with REST API?

My question is very simple. I would like to display the recent top 10 news with the REST API in Sharepoint 2013. I'm using the following query: ...
2
votes
0answers
178 views

$inlinecount and $count missing in new OData API?

can anybody verify that in the new OData endpoint of SharePoint 2013 found at /_api/ does not implement the keywords $inlinecount and $count? ListData.svc has it implemented. Example: ...
0
votes
0answers
38 views

Is it possible to edit excel file on SharePoint online from iOS app?

Currently, I am developing an iPad app which can manipulate excel file that is stored on SharePoint online service. I am able to retrieve data from excel file using Excel Services REST API, but when ...
0
votes
1answer
125 views

Updating List Item using REST listdata.svc results in internal error 500 http response

I created an ASP.NET web application that allows the user to modify data that is stored in SharePoint I rather not go into the reasons why this application was created but focus more on why doesn't ...
3
votes
1answer
1k views

The field 'EventDate' of type 'DateTime' cannot be used in the query filter expression

I am trying to filter standard Calendar events via SharePoint web api and my query looks like this: /_api/web/lists/getbytitle('calendar')/items?$filter=( EventDate ge ...
2
votes
1answer
1k views

How do I query the OData/REST API in 2013 effectively using JavaScript?

I want to use the improved OData/REST API in Sharepoint 2013 but it's hard to find good examples. As I see it, the OData-endpoint is of little use without a dedicated OData client library. With plain ...
0
votes
0answers
205 views

Update item via SharePoint REST and SharePoint Designer Workflow

I'm trying to update a list item (from SPD 2013) I've successfully been able to create a new site via the REST api, but now I want to update a listitem in the page and it just responds with ...
1
vote
1answer
441 views

SharePoint 2013 REST API: How can I clear a non-string field value?

I'm using the SharePoint 2013 REST API (my last choice, technological constraints require using it vs CSOM) and am encountering an issue when trying to clear any non-string (date, number, etc) field ...
3
votes
3answers
2k views

Query SP2013 Managed metadata term store

I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013. I can't quite seem to work out the naming scheme for the REST API to discover ...
0
votes
2answers
1k views

Display JSON results from REST API

I have the following code function execCrossDomainRequest() { var executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + "/_api/Web/GetUserById(9)", ...
2
votes
2answers
275 views

How to create a form that populates a list in sharepoint?

I need to create an HTML form with two text boxes and a button that you click the update button it inserts the two values ​​in a sharepoint list. Below an example of what I'm trying to do: // ...
1
vote
1answer
117 views

OData query in SPD workflow HTTP GET request

I'm building a 2013 workflow that uses an OData query in an HTTP GET request that is intended to return a list of items with titles that begin with a certain string (which has previously been recorded ...
3
votes
1answer
1k views

How to get Version history of all fields updated for a list item?

I am developing a ticketing system on SharePoint 2013 onprem. I am storing Ticket data in a list with versioning enabled. On my user end (which is not a SharePoint solution, I can access only CSOM and ...
2
votes
3answers
2k views

Paging using REST/OData with SP 2013

I'm trying to do paging on a document library (also trying this on a list) with SP 2013 using REST/OData but I can't seem to get the skipping of items working. Here are some examples of URLs that I'm ...
0
votes
0answers
55 views

REST/OData SharePoint 2013 Security

I wanted to know is ODATA API is secure from injection. I am asking this question as I am using ODATA extensively on my Internet facing website. Kindly give me experience answer and also give me some ...
0
votes
0answers
57 views

Accessing search API in different domain from a sharepoint-hosted app using REST

I am trying to access the profile search which is in a different domain from my APP. For some reason it doesn't work. var executorTest = new SP.RequestExecutor(searchWebUrl); var urlTest = ...
2
votes
2answers
541 views

Reading a list using REST services

I have a list named as Students and it has 3 Columns named - Name, Branch, Age When I try to read them using the REST API with the url: ...
0
votes
1answer
736 views

Using REST API to get Site Groups in SP 2013

I'm trying to use the REST API in SharePoint 2013 to get the site groups. I've been using this link for a little help... http://msdn.microsoft.com/en-us/library/jj245927.aspx It's to do it with the ...
0
votes
2answers
360 views

Reading a list in javascript

I have a list which i want to fetch at the front end using javascript based on some user inputs. The list has 3 columns - 'Name', 'Branch' and 'Age', and the list is named 'Students'. Now if the ...
2
votes
2answers
2k views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
0
votes
1answer
1k views

How do I update a list item using REST and Data.js?

I want to write a simple SP hosted app that edits a single list item in a list in the app web. Getting the list item collection is fine. Then I want to pass the result to a function that changes the ...