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)

1
vote
2answers
161 views

Understanding REST API response

Say you query a ListItem from the API _api/Web/Lists(guid'c5689c37-a28a-4122-bedb-b2ec7c44204f')/Items(1) and Let's say the item is a Page, and the Response looks like below. { "d": { ...
0
votes
1answer
35 views

REST addViewField “Cannot handle the data at position 0.”

I'm currently writing an initialisation script for a SharePoint-hosted application which checks if a list (used for launcher items) exists. If it doesn't, then it runs through a series of processes to ...
2
votes
1answer
46 views

Query Pages using REST

I've developed a newsfeed app part that currently gets its information from a list, however we're keen to have article pages that we can click through too. So far I've not found anything in the REST ...
0
votes
1answer
131 views

SharePoint Provider-hosted app: Can't call REST or use JSOM

I have an AngularJS web app that is registered as a Provider-hosted app on an on-premises SharePoint 2013 site (not Office 365 or SharePoint Online). The Provider-hosted app is hosted on a separate ...
0
votes
1answer
88 views

Adding external user to sharepoint 2013 programmitically [duplicate]

It says here -- http://community.office365.com/en-us/f/156/t/160998.aspx that sharepoint external users cant be created programmitically. Is it possible to use rest API to programmitically add ...
0
votes
0answers
8 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 ...
5
votes
1answer
231 views

Is it possible to create a Document Set using REST API

I know this can be done using the JSOM, but is it possible via the REST API to create a document set?
1
vote
1answer
411 views

Copy List items using REST/JSON

I'm very new to REST and JSON, I want to copy list items from one list to another list in the same site on button click, both the lists are of same type but with different column names and they are ...
1
vote
3answers
139 views

Suggestions for exporting big dataset to excel from search results

I have the following scenario Client Site colleciton Job Site 1 Document Library X Document of Content Type X.docx Job Site 2 Document Library X ...
1
vote
1answer
448 views

How to get 'form digest value' used in REST call?

I am trying to delete a web by calling the REST service from a SharePoint 2013 workflow. The MSDN reference here tells the syntax like $.ajax({ url: "http://<site url>/_api/web", type: ...
0
votes
2answers
93 views

REST API: Show each unique item only once while retrieving categories from a list

In my SP2013 environment I've a function which returns items from a list using REST. Let's say it only returns the items' category which is defined in the column "Category". It works just fine. Some ...
0
votes
1answer
15 views

Can I sort Rest by multple fields?

How can I get order Reset results with 2 colums? /_vti_bin/listdata.svc/News?$filter=Expires+ge+datetime'2012-11-23'&$orderby=Created also I want to order by the filed Topnews
0
votes
0answers
61 views

Configure Personal site through REST

I am having difficulty accessing the users personal site details through REST on O365. I would like to run the code from the intranet home page (companyname.sharepoint.com) and of course I cant use ...
0
votes
3answers
131 views

What the RESTFul API for GetList of Site

I am looking for the SharePoint OnLine RESTFul API try to get all lists of specified Site. Let's say the default Site of Site Collection in my Office 365 SharePoint OnLine trial. The Site Collection ...
0
votes
0answers
96 views

How can I access the shared link for a file/folder (sent in an email) through Sharepoint REST API?

I want to get a hold of the link that Sharepoint sends in an email to the person we share an file/folder with, through the REST API. I'm using Office365 and I am referring to the link under "Open to ...
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 ...
0
votes
1answer
43 views

Download of web page starts upon REST MERGE call

I have a nested REST call, that first GETS numClicked attribute of an item, then increments it by one, and MERGES back to update the column with the newly incremented value. This is working correctly, ...
0
votes
1answer
275 views

Want to access data using sharepoint REST Api in web application

I want to access SharePoint data in my application. I am new for this so don't know much about this to access data from SharePoint. I do not have permission on all pages in SharePoint so need to ...
0
votes
2answers
436 views

Failed to load resource: the server responded with a status of 406 (Not Acceptable) when my REST api call

Failed to load resource: the server responded with a status of 406 (Not Acceptable) when my REST api call works in site. But when I enter the REST url in browser it returns the result. So nothing ...
1
vote
3answers
312 views

What is the REST endpoint URL to get list of site collections?

If I go to SharePoint 2013 site, click on Admin -> SharePoint, you will see a list of site collections (the link is https://somename-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx) What ...
1
vote
1answer
175 views

What is the original form of _api/web/lists

I'm working with REST in SharePoint 2010. What is the original form of http://server/site/_api/web/lists/getbytitle(‘Title’) in SharePoint 2010?
2
votes
1answer
500 views

Manage File permissions using REST API

Is there a way to manage File permissions (roles) using the REST API? http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx I'm developing an app asking for permission on the fly: ...
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 ...
0
votes
1answer
89 views

REST updating List field

Using REST Api, how would I go about updating a plain number column within a list? Is there any faster way of doing so aside from doing a GET, then a separate POST? Seems there could be a faster way ...
1
vote
1answer
44 views

How does one access and modify the content of site pages using the SharePoint 2013 Rest API?

Basically I have a ribbon custom action and I would like to put it in page actions. When the user clicks on it it accesses the HTML content of the page and modifies it in order to give for instance ...
1
vote
0answers
378 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
1answer
42 views

how can I http POST to libraries with SP 2010's REST API?

SP 2010's REST api documentation cites an example that uses a list, whereas I wish to rely on a library (for example, "SharedDocuments"), because a standard named library already exists in every ...
0
votes
1answer
64 views

Filtering REST queries by multiple parameters

I have no problems getting a REST query to return the expected result set when I use a single clause- http://website/_api/web/lists/getbytitle('MyList')/items?$filter= StartDate ge ...
0
votes
0answers
88 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 ...
3
votes
1answer
328 views

SP 2013 REST API How to get Approval Status for Version History items

This is how SP presents Version History: I use this URL to get file history: ...
-1
votes
1answer
73 views

iterating list using _api rest - Not working

I can see 2 records in the console but my alert doesnt print out any data and doesnt append to the table either. See below and thanks in advance // begin work to call across network var ...
0
votes
0answers
16 views

SPD 2013 Workflow Handling “__next” page of List Items

I have a Sharepoint list and a workflow that needs to loop through each list item. Currently there are 450 items. I can do an HTTP GET call within my workflow, but if I do $top=500 to get all of the ...
3
votes
2answers
302 views

What are the advantages of using SP Services?

What advantages would I gain by using the SP Services library in SharePoint releases 2010 and later? The 2013 (and even the 2010) JavaScript Object Model and REST API seem to cover a significant ...
0
votes
1answer
398 views

SPServices GetListItems GroupBy

I am using the SPService, the method GetListItems. I need to groupBy the result (distinct). This is my code: var CamlQuery = '<Query><GroupBy Collapse="TRUE"><FieldRef Name="nameA" ...
0
votes
1answer
604 views

upload attachment to SharePoint List Item using REST API from Java client

Following Java code is an example for uploading a file attachment to the SharePoint 2013 list item. String uploadquery =siteurl+ ...
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 ...
0
votes
1answer
74 views

Check In file with Javascript and REST

I am trying to check in a file from my sharepoint-hosted app with jsom and rest, but it wont work my code look like this: function checkInFile() { var hostUrl = ...
3
votes
1answer
126 views

Downloading and saving sharepoint 2013 file into browser client

I'm trying to get and save files from SharePoint app using REST, the files are located inside the host SP. Once got the file, I'm saving/downloading it into the browser with a save function. When I ...
0
votes
1answer
2k views

SharePoint 2013 REST-API: Reliable way to retrieve all field values of a list item?

I am trying to retrieve all field values of a specific list item via the REST-API of SharePoint 2013. The values will be used for further processing. The goal is to retrieve all field values ...
0
votes
3answers
630 views

SharePoint2013 REST: Get user profile properties

I've been fighting to get user data using the REST API but I can't get it to work mainly because I am getting a server error 500 "Network Error: 500 Internet Server Error - ...
0
votes
1answer
77 views

Rest List Filter Query Multi Line search

I have created a form and am using bootstrap, jquery and knockout to display the results nicely from a discussion board in office 365. I am querying a list using the rest api and applying a filter to ...
0
votes
0answers
8 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
106 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
61 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 ...
2
votes
1answer
450 views

SharePoint 2013 Http Web Service Action

I have created a basic SharePoint 2013 workflow with the intent to call the Rest API to retrieve the users from a SharePoint Group. To do this I am attempting to use the HTTP Web Service action ...
1
vote
2answers
486 views

Insert a list item using REST form webpart: 403 error even when X-RequestDigest is present

I intend to insert a list item from the main page in intranet to a list hosted on another site collection. I made this simple HTML & JS to get it done, but I always get the 403 / FORBIDDEN error: ...
0
votes
1answer
266 views

Get users Manager using Client API

url: appweburl + "_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='Manager')?@v='" + seluser + "'", For my SP 2013 app I need to get a users manager and I'm ...
5
votes
1answer
2k views

SharePoint 2013 REST - Create list item with user field and lookup field

I'm trying to add an SPListItem to an SPList via REST, but have a problem with User or Group and Lookup (information already on this site). function adddullitem() { var item = { ...
0
votes
0answers
36 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 ...
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 ...