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)

0
votes
0answers
56 views

Calculating Delta for RoleAssignments for a Documents List item

Consider this scenario; I create an item(file or folder) on my OneDrive (Office365) and I share that item with an internal user say xyx@mydomain.com. When I get the changelogs for my site, I ...
0
votes
1answer
154 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 ...
1
vote
1answer
114 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 ...
1
vote
1answer
62 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 ...
0
votes
0answers
19 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
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
1answer
183 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
153 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
119 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 ...
2
votes
3answers
3k 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 ...
1
vote
1answer
66 views

REST API Error:: Querying ParentUniqueId for a list item

I'm looking for a way to retrieve the parent Id for a list item so that I can query it as well. For a given list item say id 101, I need to find the Id for its parent (the folder it lies under or the ...
1
vote
1answer
120 views

How to call Rest api in SharePoint hosted app.?

I want to call Rest api which is not of SharePoint. I have created one Api which is in php. And I want to call that api in my SharePoint hosted App. Is it possible to call API which not of SharePoint ...
2
votes
2answers
432 views

How to fetch a SP.Taxonomy.TaxonomyFieldValue with odata/rest api/web - SharePoint Online

I have a managed data field I would have to fetch using the url below The field i would like to fetch is Divisions. Is this possible? Thanks in Advance ...
0
votes
0answers
62 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
1answer
38 views

Event receiver on user log in

I'm trying to make a feature to assist with user provisioning. Our users don't exist in our domain until they register, at which point they're sent directly to SharePoint. I'm trying to populate ...
3
votes
2answers
175 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 ...
3
votes
1answer
244 views

How to filter on managed metadata column using REST API in sharepoint 2010?

I am accessing couple of forms libraries and lists from SharePoint sites using the ReST API at _vti_bin/listdata.svc. I can use filters like $Select, $Expand etc and it works fine. However few of ...
0
votes
2answers
152 views

jQuery search api and no results

I try to get search results using a javascript (jQuery) call to my on premise SharePoint search REST API but I don't get any results. that's my js: $.ajax({ type: "GET", url: ...
0
votes
0answers
28 views

Getting CmisInvalidArgumentException for getChildren command for site collection having Danish (as default lang)

Getting CmisInvalidArgumentException for getChildren command for site collection having Danish (as default lang), On changing language to English it is working fine.From sharepoint log error rising ...
0
votes
2answers
101 views

Search documents contents using SharePoint 2013 REST API or CSOM

I'm wondering if there is a way to query the actual contents of the document using the REST API or using the CSOM and CAML from an ASP.NET application? I remember in a previous job that we used FAST ...
8
votes
3answers
4k views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
1
vote
1answer
156 views

Search REST API call not working for anonymous

I'm trying to execute the following query for anonymous users. But, its not getting any results. When login, its working fine. Any idea about this ? /_api/search/query?QueryText='Category: "About ...
0
votes
1answer
349 views

Uncaught TypeError: undefined is not a function

I access my web in javascript code in SharePoint 2013. I'm using Jquery and KnockOutJS for my other functions. So I have added following urls above my code. <script type="text/javascript" ...
0
votes
1answer
539 views

SharePoint 2013 REST api to update list item- Uncaught ReferenceError: etag is not defined

I try to update my sharepoint list using REST api. But following code throws exception in browser "Uncaught ReferenceError: etag is not defined " Can someone help to resolve this issue? // update an ...
1
vote
2answers
65 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
257 views

How to get all items with a specific content type using REST Api

There are five Custom Lists in a site collection, all have same content type. I would like to get all items from those five lists using rest api. Is there a way to get all items from all lists having ...
0
votes
0answers
59 views

Accessing Site Collection Administration Recycle Bin through REST API for Sharepoint (Office365)

I'm looking for a way to access the Site Collection Administration Recycle Bin through REST API endpoints for Sharepoint. Is this possible? The only information I found on the net is here. How do I ...
1
vote
3answers
134 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
0answers
371 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 ...
3
votes
2answers
560 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 ...
2
votes
1answer
977 views

REST Api for get all document libraries who has full control of current user SharePoint 2013

I want to get all the document libraries in which current user has full control using rest api. it seems that we can check using effectiveBasePermissions. I have used below script : function ...
0
votes
1answer
109 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 ...
1
vote
0answers
72 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 ...
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 ...
1
vote
2answers
153 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": { ...
5
votes
3answers
1k views

Updating a Property w/ 2013 REST Api

I have a sharepoint hosted app that is succesfully able to add Read and Create files on the Host site (using the REST Api and SP.RequestExecutor). Now I am trying to figure out how to update ...
0
votes
1answer
130 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 ...
2
votes
2answers
2k views

How to get PublishingRollupImage for page in Page library with REST and jQuery?

I have a repeater in a user control and I databind it in code behind like so: var items = list.Items.Cast<SPListItem>() .OrderByDescending(a => ...
0
votes
1answer
34 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
45 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 ...
2
votes
1answer
1k views

Is it possible to make SharePoint lists accessible cross domain using REST API?

Is it possible to make SharePoint 2013 resources accessible via internet using REST API? Say I want to do CURD with a list from outside of SharePoint. How we can manage credentials for this situation? ...
0
votes
1answer
142 views

People search using CSOM API

I am using CSOM in API. I used following code for content search in documents and now want to integrate People search which can search users from sharepoint website using CSOM. ...
0
votes
1answer
83 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 ...
2
votes
2answers
1k views

Setting Search Center URL in SharePoint 2013 using Javascript CSOM

In SharePoint 2013, I am trying to access Search object through JavaScript CSOM. I want to know the object which can give me the access to Search Settings under Site Settings. I tried looking under ...
2
votes
2answers
1k views

SharePoint 2013 APIs for anonymous and/or mobile access

In SharePoint 2013 (Preview), does any of the APIs (csom, REST, etc.) work with anonymous access? With mobile access? I haven't found any reference to this in the documentation. I did a quick test ...
2
votes
1answer
904 views

Using JSOM or REST get list items stored in a different web application

In an on-premises SharePoint 2013 environment I need to read list items stored in a different web application using JavaScript based solution. This could either be JavaScript in Script Editor web part ...
1
vote
1answer
428 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
88 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