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)

2
votes
0answers
46 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
143 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
140 views

Approve folder in document library from Rest API (SharePoint Foundation 2013)

I am able to approve files easily enough with the url var url = SPAppWebUrl + "/_api/SP.AppContextSite(@target)/web/GetFileByServerRelativeUrl('" + filePath + "')/Approve(comment='AutoApprove - " + ...
2
votes
0answers
179 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
130 views

GetUserEffectivePermissionInfo for the 2013 Rest API

Does anyone know if there is a client-side (preferably REST) equivalent to SPSecurableObject.GetUserEffectivePermissionInfo(username)??
2
votes
0answers
605 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). ...
1
vote
0answers
21 views

Sharepoint app REST Authorization Header

I have developed a Sharepoint app that I installed on my sharepoint site for testing. I filled it with data and now I want to run REST queries on my app with Postman in Chrome. Once I am logged in to ...
1
vote
0answers
19 views

MVC web api in sharepoint 2013 farm solution

How to consume the MVC web api in SharePoint 2013 farm solution? When I try to consume with httpclient I cannot refer to the assembly WebApiRestService.WebApiClient, it's showing error as not strong ...
1
vote
0answers
38 views

Accessing Groups Created in Office 365 in SharePoint

I've created a Group in the Office 365 admin area and added a couple of users. However I can't seem to find it through the API. When you go to share a file and use the search function it appears in ...
1
vote
0answers
44 views

Authentication using Sharepoint Online REST API to create Task for Organizational Site

I have a Office 365 Organizational SharePoint Online Account. I want to Add Few Tasks in one of the list programmatically. I saw options of using JavaScript API or hitting the REST URL's ...
1
vote
0answers
18 views

How to create multiple fields using REST query

According to MSDN, we can create field like below.. $.ajax({ url: "http://<site url>/_api/web/lists(guid'da58632f-faf0-4a78-8219-99c307747741') /fields", type: "POST", data: "{ ...
1
vote
0answers
25 views

How to get Title Resource from a View with JSOM or REST?

I am able to get title/name resource from lists, content types and fields. However, I'm not able to get title resource from views. I'm not sure how well documented this is, but this is how I get ...
1
vote
0answers
42 views

Get ContentType by “internal name” through REST/JSOM

I understand content types has nothing equivalent to fields internal name, they only have Name, which is like a title. This can be changed, and alters between locales. My impression is that the safe ...
1
vote
0answers
70 views

Cross Site Collection call in SP Hosted App

I want to read a list from one of my site collection(SiteColl A) using a SP Hosted App. This App will be deployed in another Site collection(SiteColl B) in the same web application. I know one way to ...
1
vote
0answers
35 views

2013 workflow, get list item in parent web

In a sandboxed sharepoint 2013/office 365 workflow, I'm trying to query a list (using REST) in the root web, for a value. If the workflow fires in the root web, I get the value. If you call it in a ...
1
vote
0answers
96 views

API calls limit for Office365 REST APIs (Sharepoint/OneDrive)

I want to know the limit for API calls per minute/hour for Office365 REST APIs (Sharepoint/OneDrive). Is there any documentation for it?
1
vote
0answers
73 views

Sharepoint 2013 REST API with user without admin rights

I'm developing a web application which integrate with the sharepoint (multi-tenant). The app is supposed to upload and download files to the sharepoint. I'm using the Sharepoint 2013 REST and trying ...
1
vote
0answers
71 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
379 views

Getting Calendar items on Office 365 using REST API

Hi SharePoint Ninjas, I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am ...
1
vote
0answers
100 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
132 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
426 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
139 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
35 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
233 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
68 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
1k views

User Profile in SharePoint 2013 REST Service

I have a problem with SharePoint REST service. I can not get the User properties by User Id. This is my approach: function GetUserByID(id) { jQuery.ajax({ url: "/_api/Web/GetUserById('" + id + ...
1
vote
0answers
246 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
131 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
156 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
273 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
38 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
63 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
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
93 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
306 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
759 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
20 views

How do I access a Custom List from a client web part via the REST API?

I am using the following code to try and access my newly created Custom List called Announcements: $.ajax({ url: appWebUrl + "/_api/web/lists/getbytitle('Announcements')/items", method: ...
0
votes
0answers
11 views

Get specific user based on a custom user profile field - REST

I've got a custom user profile field ex: CompanyID If CompanyID=444 then return "microsoft" Something like this: ...
0
votes
0answers
7 views

What can I do to get users that doesn't come in sharepoint rest api search to show up in result set list?

greetings! I am facing a trouble and it is driving me crazy. I created a webpart for searching people using sharepoint rest api and I had specified the rowlimit with 500 which is the max row numbers ...
0
votes
0answers
17 views

Sharepoint 2010 REST Api Copy Files

I want to create a program that takes all files from a specified list from my sharepoint 2010 and copies them to a local location on the server. In the REST-Api for the 2013 version there is a method ...
0
votes
0answers
11 views

File Shared with

In OneDrive for Business you have the option to share a file. Can Edit/Can View I can find out who a file is shared with from SharedWithUsersId when using the below /_api/Web/Lists(guid'ID IN ...
0
votes
0answers
31 views

How to get Sugested People, Documents and Sites to follow in Sharepoint online using REST

I know we can use http://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getmysuggestions API but I am unable to get the Data
0
votes
0answers
37 views

Guest link via REST API

I would know if exist a way to generate a guest link for a file stored on sharepoint 2013 online via Rest api and access token. I tried this link passing the access token but doesn't work if you are ...
0
votes
0answers
37 views

Upload aspx file to host web in App Installed remote event receiver (rest file upload)

I'm creating AppInstalled remote event receiver that should upload aspx file to host web library (library is also created in app installed receiver). If I set app permissions to Web:Manage I can't ...
0
votes
0answers
35 views

Update people field 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 ...
0
votes
0answers
27 views

Rest API Endpoint for Site Collection “NewsFeed”

I have a NewsFeed on the home page of my Site Collection (out of the box feature). I am developing an iOS application to read the NewsFeed, but none of the endpoints seem to satisfy the one on my site ...
0
votes
0answers
34 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
52 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 + ...