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
4k 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
1k 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: ...
4
votes
0answers
274 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
58 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
2k 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
263 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
2k 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
502 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
251 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
140 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 ...
4
votes
1answer
2k 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
595 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 ...
4
votes
1answer
195 views

Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

In one of my tasks,i was struck with one issue,that is "While uploading multiple files into document library with REST API". Iam trying to upload multiple files in library with REST calls for an APP ...
0
votes
0answers
68 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
69 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
813 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
2answers
817 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
3answers
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
0answers
92 views

sharepoint app user's self-service registration and authentication

I need to develop an application where users register and authenticate to a website in a self-service manner,and the application is a provider hosted application in Sharepoint 2013. Any ideas of how ...
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 ...
6
votes
3answers
1k views

Updating Lookup Values with the REST API

Is it possible to update a List Item's Lookup Field Value via the Rest API? I can retrieve the field value if I use $select and $expand, but I can't find documentation anywhere that explains how to ...
0
votes
0answers
237 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
1
vote
1answer
217 views

RefinementResults not showing using Search 2013 API with anonymous connection

First of all, I do get results even with selectproperties but RefinementResults give me a null value. Does anyone have a solution for it? Url used is: ...
2
votes
1answer
998 views

Authenticate external systems against SharePoint REST services

I want to make the SharePoint(on prem) REST services available for a number of other applications. The other applications are built on different platforms, Microsoft, Java, etc. Applications should ...
2
votes
2answers
933 views

SP 2013 - Updating a multi-value lookup field via the REST API

When adding a new item to list via the Sharepoint 2013 REST API I want to populate one of its multi-value lookup columns. I've tried passing in an array of Ids or a string with separators but nothing ...
1
vote
1answer
789 views

SharePoint 2013 Search Rest API POST request format

I am hoping to save someone some time as I couldn't find anyone talking about this anywhere. I am looking at the SharePoint 2013 Search Rest API documentation and decided to switch my GET calls to ...
2
votes
1answer
294 views

get all joined community sites under current site collection in search results/REST search/CSOM

I've list of community sites in a site collection, and I have a publishing page on my site collection with a content editor WebPart on it. I've to show list of joined community sites on this webpart ...
0
votes
1answer
510 views

managed property with REST api results Xml

I am using Managed Property in my application, it's a custom column in my site collection, I could make a managed property and link this to the crawled property and everything is ok. Now in my ...
2
votes
2answers
333 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: ...
0
votes
1answer
279 views

SharePoint Rest Api Filter not working and restrict to a site collection

The rest query is as follows, I want to get most viewed pages. I have used ViewsLifeTime property. This query returns some pages (unwanted) which thier ViewsLifeTime is null. ...
0
votes
1answer
195 views

Changing the Publishing New Page Default Settings using JSOM SharePoint 2013

I have a task where I need to Set the New Page Default Settings as you do at "/_layouts/15/AreaTemplateSettings.aspx" but I need to do this via JSOM. Does anyone know how to do this? The New Page ...
2
votes
1answer
68 views

Integrate SharePoint Calendar in hybrid app

I am trying to have a calendar feature in a hybrid mobile application. One company has a SharePoint site, whose calendar events i want to sync to the mobile app. So far through REST i can see in a ...
0
votes
0answers
170 views

using Rest to update a multi choice taxonomy field in a list

Ive been experimenting with the new Rest services in SP2013 and ive come across a problem. It seems that you cant create a new list item with a taxonomy field that is set as multi choice. Seems fine ...
1
vote
1answer
465 views

GetPropertiesFor ajax call from Sharepoint 2013 app

I tried the below code with GetMyProperties in a SharePoint Hosted app and it works, but the following code gives me a bad request url = appweburl + ...
1
vote
1answer
236 views

Help using Excel REST

Posted a question yesterday and got a great suggestion to use Excel REST. I've looked at the documentation but had a basic question about how to apply it. I've got 3 workbooks in a document library ...
0
votes
2answers
1k 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
1answer
37 views

SOAP - Remaining free space

Is there any way how to find out how much free space is remaing in the whole Sharepoint site? I need to find it out by SOAP interface. Thank you for your comments.
1
vote
2answers
1k views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
0
votes
1answer
666 views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
3
votes
2answers
445 views

Creating a SharePoint Wiki Page via JavaScript and REST or CSOM

I'm fairly new to developing SharePoint 2013 Apps, and I was tasked to customize the Create New Wiki Page for a Site. The user has to type in the Title, I do some processing, and then when everything ...
3
votes
2answers
839 views

Why do I have to use POST for REST queries?

I am trying to understand the logic with the SharePoint client.svc (_api) Web service. For some queries, for example List GetItems, or search queries, SharePoint requires the use of POST in ajax ...
2
votes
1answer
716 views

Post to NewsFeed using SharePoint 2013 REST services from a workflow with POST method

In SharePoint 2013, workflows we can do a web service call. With this feature we can use SharePoint REST services within the workflow. I want to post to the current users newsfeed from a workflow by ...
0
votes
2answers
941 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' }," + ...
2
votes
1answer
486 views

How do I query of the current user permissions using REST Call on doesUserHavePermissions method?

I would like to find out whether the current user has "Manage Lists" permission in the site or not. I could not find any example to perform such a query using REST API Calls. The endpoint based on ...
0
votes
1answer
122 views

What are the big enhancements in the 2013 SharePoint REST/Client API? [closed]

The MSDN mentions there are some enhancements in the REST/Client API, but the things it lists seem to already be in the 2010 APIs. Can someone please elaborate on the new features that are NEW In ...
0
votes
2answers
428 views

SharePoint Online: Getting Current User Information

What is the best way to get the current users information. With the UserProfileService unavailable in SharePoint Online what would be the best method for getting a users information. Client was ...
3
votes
1answer
354 views

SharePoint REST POST to upload file produces corrupted or empty file

I've got this jquery/REST process that I thought was uploading a PDF file to SPO 2013 Document library, but it's only producing an empty or corrupt. Anybody know why? function ...
0
votes
2answers
1k views

Access and USE list data across site collections

I have two site collections in SharePoint Online environment (Office 365 dedicated). Site A: https://SharePoint.com/sites/SiteA (Data Source - Read Only Access) Site B: ...
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
1answer
510 views

SharePoint 2013 REST - Possible to Upload accross Site collections with embeded code or NAPA? SP.AppContextSite 403

Has anybody been able to REST Upload cross site/domain of a file to a document Library with REST on SPO 2013 thru embedded page code or NAPA? Wondering how app security is set on the TargetSite? I ...