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
0answers
271 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: ...
3
votes
0answers
309 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 ...
2
votes
0answers
32 views

SPListItem.BackwardLinks equivalent in CSOM, JSOM, or REST?

In the Server API for SPListItem there is a property called BackwardLinks that returns a collection of items that link to the item. I don't see the same property in CSOM, JSOM, or REST. Is there a ...
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 ...
2
votes
0answers
167 views

using sharepoint OOTB DragDrop.js library in Custom webpart

I implemented drag and drop file upload functionality with using REST api in my webpart . But i found an OOTB sharepoint dragdrop.js library which has numerous methods to create drag drop control. ...
2
votes
0answers
503 views

I cannot get “orderby” to work in SPS 2010 listdata.svc REST query

I can get the return list from this query, but if i add the orderby syntax, it just ignores it (no error, just doesn't sort the return set). ...
2
votes
0answers
246 views

Order field not available in a ListData.svc query

I want to query a links list using ListData.svc and have this ordered, using the query string $orderby, by Sharepoint's own internal order field. By internal order field I specifically mean the field ...
1
vote
0answers
39 views

SPException error codes and meanings (refreshing form request digest via SharePoint REST services)

Where can I find a list of error codes and their meanings for SharePoint exceptions? I can't find any list of any kind online, just specific cases here and there. My specific need arises out of the ...
1
vote
0answers
79 views

How to dynamically set credentials when calling a REST web service with code in Infopath

Our SharePoint is configured to use Claims Based Authentication. We want authenticated users in SharePoint to fill a form and some fields will be automatically filled with their personal data. We ...
1
vote
0answers
92 views

Updating multi-value fields using REST API

I searched previous posts and the closest to my question is: Updating Lookup Values with the REST API however I am using the cross-domain library and my update query uses ValidateUpdateListItem ...
1
vote
0answers
252 views

How to upload a file using REST and C#

I already go a connection with the OAuth 2.0 protocol. I am using REST and C# to get file- and folder information, create folders etc. through WinForms. Im not able to upload a picture. (A text file ...
1
vote
0answers
104 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 ...
1
vote
0answers
84 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 + ...
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. ...
1
vote
0answers
219 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" ...
1
vote
0answers
60 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, ...
1
vote
0answers
228 views

PublishingPageImage Field is missing when get data through Rest Api to Pages Lib 2013

I want to get PublishingPageImagefield value on REST API method on Pages library with below script. executor = new SP.RequestExecutor(appwebUrl); executor.executeAsync({ url: appwebUrl + ...
1
vote
0answers
122 views

Return a Single Entity from SharePoint OData Service

I've created a custom OData service in SharePoint 2010 to return a list of entities representing subsites, however I'd also like to be able to return the root. To this end, I've created a function to ...
1
vote
0answers
136 views

executeAsync strange behavior - sharepoint rest services

I'm using Sharepoint Rest services to update List Items. To do the update, I'm using the function executeAsync from the SP.RequestExecutor object. The code was working fine, but while I was testing it ...
1
vote
0answers
254 views

ListData.svc: How to upload attachment?

How does one upload an attachment to a list item using JavaScript/HTL5 file upload API and the ListData.svc API? I know I can do this using managed CSOM but I want to understand the SP 2010 REST API ...
1
vote
0answers
1k views

Sharepoint 2013 REST API - Shared Documents / Author Info In one Call?

We are in the process of integrating from Sharepoint 2007 to Sharepoint 2013. We have a java based application using Sharepoint 2007 SOAP based webservices. In Sharepoint 2013 we are using the REST ...
1
vote
0answers
37 views

Exporting document content from SP2013 to external webapp

How should I do to make a document viewable on a webpage, that is exported from SP2013 document library. A user should be able to, through a webpage send a request to view the content of a specific ...
1
vote
0answers
61 views

Find all lists that look up a Contacts list

I have a Contacts list in my site collection, and it is used in lookup columns by multiple other lists. Is there an easy way to get all the lists that have a lookup column pointing to the Contacts ...
1
vote
0answers
117 views

GetUserEffectivePermissionInfo for the 2013 Rest API

Does anyone know if there is a client-side (preferably REST) equivalent to SPSecurableObject.GetUserEffectivePermissionInfo(username)??
1
vote
0answers
100 views

Getting column information from a sharepoint 2010 list

I'm trying to figure out how i can get information about a column in a Sharepoint List, like what type of column it is (single line, number, date etc...) and whatever additional column info that ...
1
vote
0answers
88 views

REST services - Flag to force PUT and POST to return the record instead of nothing?

I'm updating a record in a list via a PUT to the '_vti_bin/listdata.svc' service. When I initially POST the data, I get the list item I posted back from SharePoint, with a timestamp, etc. When I PUT ...
1
vote
0answers
303 views

Rules for Transforming List Column Names into XML Element Names

I am using the ListData.svc service to pull data from several lists. Many of the column names have punctuation and spaces, so their names are transformed as they're rendered as Atom in the ListData ...
1
vote
0answers
735 views

How do I call SharePoint 2010 REST API from C# if that site has claims based auth?

For example, this site is secured via Claims Auth (It has both FBA and Windows Auth). My guess my issue is security. I ultimately want to use the credentials that my IIS app pool is running under. ...
0
votes
0answers
4 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. Here is the code: var d = $.Deferred(), oDataUrl = this.appUrl + ...
0
votes
0answers
13 views

JSON feed for Excel data?

There is an OData feed to get data from an excel workbook via Excel Services. However, it only supports ATOM, and not JSON. is there another way to get JSON data for an excel workbook? Along these ...
0
votes
0answers
18 views

Displaying user profile image using rest- broken image link in IE - SharePoint online

I'm having a problem displaying user profile picture for users using var imgurl = "https://xxxx-my.sharepoint.com/User%20Photos/Profile%20Pictures/" + data.d.results[i].Username + ...
0
votes
0answers
34 views

Any access vba/macros code to read/write to SharePoint O365 list using REST API

Can anyone help me with a sample code to read/write to SharePoint O365 list using REST services. I have searched the net and i see examples for excel that im unable to use in access. Also the other ...
0
votes
0answers
18 views

Reading a SharePoint list from an on-prem farm from SharePoint Online no Apps

Been going mad for the last couple of hours trying to do what I thought was simple. I have a CEWP on a SharePoint online site. I am trying to make a javascript REST call to a SharePoint list that ...
0
votes
0answers
43 views

How to retrieve the breadcrumb with REST Api

All, People who have worked on SharePoint 2007 and SharePoint 2010 will notice that breadcrumb is missing in the SharePoint 2013(BTW, Why Microsoft want to remove it in the SharePoint 2013?). But I ...
0
votes
0answers
16 views

Is it not possible to add user to sharepoint group using REST for cross domain calls?

I am trying to add user to a sharepoint group via "sharepoint hosted app". First I am checking whether the user is existed in that particular group or not, if not I am trying to add that user to a ...
0
votes
0answers
7 views

Interacts with custom list in app-web that the app from a web application outside

I have a provider-hosted app that interacts with a list in his web-app. I wanted to know if there was a chance to interact with REST with that list is that the app from a web application outside. If I ...
0
votes
0answers
60 views

error 404 for REST web service

I have deployed a REST service in a local SharePoint 2013 with Visual Studio 2012. Anyway, when I try to access the svc url: http://mylocalpc/_vti_bin/adsvc/Service.svc I get error 404 file not ...
0
votes
0answers
6 views

Listdata.svc is available on a site, but not its parent

I have a Sharepoint 2010 Enterprise site with many subsites. I'd like to access listdata.svc with REST, but I find that out of 60 sites and subsites, ...
0
votes
0answers
100 views

Using SharePoint REST API to retrieve user group in InfoPath

I'd like to display a current user's group list somewhere in my custom InfoPath form. I can't use static addresses (like http://mysite) so I can't use the SOAP services. Does someone know how to ...
0
votes
0answers
39 views

Office Online Public Site Cross Domain using REST Api to query List

I have a public Office 365 SharePoint site. I am using the REST Api to query some lists. Well since I have a custom DNS name, upon making my site public I lost the SSL cert on the site. This is ...
0
votes
0answers
34 views

Javascript REST API clearing error state

I am working on a SharePoint web app, and using the cross-domain library. I am looking for ways to recover from errors that the deferred functions return, and was wondering if SharePoint REST API has ...
0
votes
0answers
41 views

Enable Create/Update/Delete operations for the REST API

I'm using the REST API with two Sharepoint installations (one using Sharepoint Online, the second using Sharepoint Server). When I'm using Sharepoint Online, everything is fine. When I'm using ...
0
votes
0answers
11 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?
0
votes
0answers
32 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" ...
0
votes
0answers
12 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, ...
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
31 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) ...
0
votes
0answers
80 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
0answers
69 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
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 ...