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
vote
0answers
13 views

Distinguish between approved and not approved items (REST api)

I don´t want to ask the same question here again. But to understand the origin of my question this could be helpful ...
0
votes
1answer
5 views

401 Unauthorized Exception with SharePoint search rest API

Note: Please do not make my question as duplicate, still i haven't get any proper answer for my question. I am getting 401 unauthorized error when calling a sharepoint search rest api ...
0
votes
0answers
14 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 ...
1
vote
1answer
78 views

SharePoint Hosted App Cross Domain Calls to a REST API

I have a SharePoint hosted app and I want to use the JIRA REST API with it. Which means I want to make requests and work with the data from the responses. Because it's a SharePoint hosted app I can ...
1
vote
1answer
129 views

How to access the REST api with the browser

All, Forgive me this newbie question. I can get the REST result which shows xml format with the browser (ie , chrome ) from Share Point 2013 online trial. But got non-xml format from Share Point ...
1
vote
1answer
39 views

Why UniqueId missing in the REST api result from on-premise version

All, I found there is a property named UniqueId exist in the type of SP.File. And I try to retrieve the File item of the Page from SharePoint 2013 on-premise. The REST api url I used is ...
1
vote
1answer
72 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
0
votes
1answer
43 views

500 internal server error when ReST query executed from the SP host machine

We have SharePoint 2010 hosted on Windows Server 2008 R2 server. We are trying to access the data in the SP lists using REST queries (GET) such as ...
0
votes
0answers
33 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
9 views

The required version of WcfDataServices is missing

I try to add a list item via the SharePoint 2013 REST API (in Objective C) and keep getting the following error: { "error":{ "code":"-1, System.InvalidOperationException", "message":{ "lang":"en-US", ...
2
votes
2answers
66 views

Get links from SharePoint 2013 global navigation using REST

I am trying to get the Global Navigation links using a REST call. https://sitename/sites/test/_api/navigation/menustate?mapprovidername='GlobalNavigationSwitchableProvider'&$filter=IsHidden eq ...
1
vote
2answers
32 views

Is it possible to create field with defined internal name using rest api?

Is it possible to create field with defined internal name using rest api in sharepoint 2013?
0
votes
1answer
34 views

Expand nested property in one Rest url call

Say you have a Site named https://beyondhard.sharepoint.com/sites/TestPrivate in the SharePoint Online. I tried the url ...
0
votes
0answers
11 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 ...
1
vote
2answers
69 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
12 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
33 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
70 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
22 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
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 ...
1
vote
1answer
68 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
51 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 ...
0
votes
2answers
45 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
13 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
1
vote
0answers
31 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
3answers
91 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 ...
2
votes
0answers
22 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
30 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
45 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
101 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
33 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 ...
3
votes
2answers
111 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
119 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" ...
1
vote
0answers
57 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
32 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
54 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
282 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
2answers
167 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
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
83 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
33 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 ...
1
vote
2answers
101 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: ...
3
votes
1answer
702 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
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 ...
1
vote
0answers
76 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 ...
0
votes
2answers
105 views

REST API OData Filter on Boolean not Working

When I perform a REST query to the following URL: _api/web/lists/getbytitle('BtProjects')/items?$filter=Active eq true I receive only the one item that has this field marked as false. I get the same ...
2
votes
2answers
187 views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
2
votes
2answers
193 views

Copying files AND folders via REST/Javascript

I'm trying to build a the following functionality into a library view: Each document has a checkbox beside it User checks off which documents/folders they want to copy User clicks a "Copy Files" ...
2
votes
1answer
124 views

Getting List with REST Service to HTML page on different domain

I am trying to get data from SharePoint and display it in an HTML page on a separate domain using SharePoint 2013's API. The SP instance sits on-prem and the other domain is also within our firewall ...
0
votes
1answer
181 views

creating a subsite using c# and the rest api

Im trying to create a site using the rest api from a console app. I keep getting a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...