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
2answers
252 views

Sharepoint 2013 Rest API _api/Web/SiteUserInfoList filter Name

I have some trouble to use the Sharepoint2013 Rest API _api/Web/SiteUserInfoList. I need to use a $filter on the Name. I get always a 400 Bad Request. This is my endopoint rest ...
0
votes
0answers
126 views

Access Denied Calling listdata.svc

I am trying to create a custom InfoPath form to display a List Information , I used REST API it works fine in the preview mode but when I open it in browser it throws up error XML data that is ...
7
votes
3answers
477 views

How can I query for “AssignedTo = [ME]” using REST?

It is quite common to use "Assigned To = [Me]" in SharePoint views to list the tasks / items which are assigned to the current user. This of course includes both the items which are directly assigned ...
0
votes
0answers
263 views

Office Web Apps Authorization with custom WOPI host from SharePoint 2013

I need to create a custom WOPI Host to serve files from SharePoint to Office Web Apps. The WOPI host is a simple REST service which is deployed in ISAPI. The way office web apps works is like this: ...
0
votes
1answer
66 views

Add file to host web in SharePoint hosted app. Is it possible with Manage permissions?

I wonder is it possible to add a file from a SharePoint hosted App to host web without setting Full permission for the Web? function uploadFile(data) { var url = appUrl + ...
1
vote
0answers
92 views

How to configure SharePoint REST API to return JSON by default?

I'm using a 3rd party HTTP client to retrieve data from SharePoint. I want to get the result in JSON format. I know one method is to add the header "Accept": "application/json; odata=verbose" ...
0
votes
0answers
160 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 ...
0
votes
1answer
88 views

REST api to get the value of richhtml field without tags

I'm trying to get a field named Content from list which is of type RichHtml. When I try to get this using REST api call, I'm getting the content the html tags. How can I get the value only from this ...
3
votes
2answers
343 views

Return Specific Content Type in Site Collection Using REST API

I am looking for a way to use the REST API to return specific fields of a specific content type so that I can bind it to a table. It seems the List API is used against a specific List but in my ...
2
votes
2answers
74 views

Providing searchable metadata or 'tagging' a subsite

I'm a newbie at SharePoint and I was wondering what was the best way to implement this: I am creating subsites under a site collection using a web form and JS plus the REST api. Basically, what I ...
1
vote
1answer
73 views

How to get content types available to a library using the REST API?

Using the REST API, how would I go about obtaining the content types that are available in a specific library in SharePoint 2013? I am aware that I can get the content types of items from a list, but ...
3
votes
1answer
153 views

Using REST to approve a list item

I am hoping that someone else here has tried to do this successfully. I am trying to approve a list item via JavaScript using the REST interface. I know how to do it with CSOM, but in this scenario I ...
2
votes
2answers
280 views

retrieving subsites from parent web using REST

I am trying to get all subsites from a parent web using REST API. I tried following query which shows "The page cannot be found". mysite/_api/web/parentWeb/webs
1
vote
1answer
169 views

How to get username through REST

I am currently working with a task where you have a SPList in one farm that holds some data that we need to aggregate into a view on another farm. Therefore I am working on a Visual Web Part that ...
3
votes
2answers
74 views

taking one day before if save data by REST through Visual Studio

I am saving a date picking from date picker of jqueryUI. While saving I am using REST Services. But the problem is that it taking the date one day before. And timezone is changing (already have ...
1
vote
1answer
455 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 ...
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, ...
2
votes
1answer
163 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 ...
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 ...
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
213 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?
1
vote
1answer
150 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='* ...
1
vote
2answers
826 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 = ...
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 ...
4
votes
3answers
414 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 + ...
5
votes
2answers
541 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 ...
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
207 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 ...
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
532 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 ...
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
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 ...
5
votes
3answers
537 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
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 ...
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 ...
2
votes
2answers
906 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
179 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 ...
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
206 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 ...
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
276 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 ...
0
votes
1answer
126 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

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 ...
1
vote
1answer
442 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 ...