The REST (Representational State Transfer) interface in 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 that can be addressed by remote URLs.

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

OData batch request does not work well

Now I'm trying to use odata batch request in reference to the following things. http://www.andrewconnell.com/blog/part-2-sharepoint-rest-api-batching-exploring-batch-requests-responses-and-changesets ...
0
votes
1answer
5 views

Default App Permission Scope

I've created a list that creates subsites through the REST API that uses a project site template. The site template i'm using has workflows that talk back to the main site using the REST API. The ...
0
votes
0answers
5 views

ViewsLifeTime is null

I'm trying to do a search with the REST API sorting by ViewsLifeTime but the result search contains documents with ViewsLifeTime value is null, how can I avoid that?
0
votes
2answers
24 views

GetUserEffectivePermissions returning 0 (“EmptyMask”)

I'm trying to retrieve the current user's permissions for a list but I keep getting an emptyMask result, even when my current user account is a Site Collection Admin. function ...
2
votes
2answers
35 views

Open the document in the browser

I'm presenting some Search results to the user using REST API, is there something specific should I include in the link to the document so the document opens in the browser?
0
votes
1answer
18 views

Apps cannot use External Content Types defined in the Business Data Connectivity Shared Service Application metadata catalog

My issue is getting Unauthoraized exception while accessing external data in workflow 2013 context throw REST call (HttpSend). I read several posts suggests to create BDC model inside App package, ...
0
votes
1answer
19 views

REST query 'getbytitle' gives an error message in IE

I am trying to access tasks list using REST call using site_url/_api/web/lists/getbytitle(‘tasks') in Internet Explorer. It displays the message "The webpage cannot be found". However i could get ...
1
vote
2answers
5k views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
0
votes
1answer
8 views

Rest Api File Upload with version comments

Is there an api to upload a file along with Version Comments? When I upload a file through the SharePoint portal, the file upload popup also provides a text box to include version comments if needed. ...
0
votes
2answers
20 views

Sharepoint rest api Version number increments on Checkout rather than check in

Consider a file whose current version number is 1.0. I am checking out the file through rest api and the UIVersionLabel property of the file, is incremented to 2.0 after checkout operation. When i ...
0
votes
1answer
21 views

Get account name of specific user using their display name

I am targeting a Person/Group field within my page layout via JavaScript. This enables me to get the display name for that particular user "Lastname, Firstname". Using '.innerHTML', I can also ...
0
votes
1answer
475 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
0answers
29 views

REST update not working

I am having problems updating list items using REST calls within an angularjs SPA. I've tried HTTP and ajax methods but both do not work and give different errors. (I am only trying to update ...
2
votes
4answers
54 views

Compatiblity when using CSOM or SOM

If I want to develop an application in .Net using C# which will perform simple operations such as: Connect to a site using user/password Retrieve document libraries Upload file in document ...
0
votes
0answers
21 views

invoke-restMethod uploading a file to document library in office 365

<# .Synopsis Stores the credentials for Invoke-SPORestMethod. .DESCRIPTION Stores the credentials for Invoke-SPORestMethod. This is done so that you don't have to provide your ...
0
votes
1answer
24 views

$orderby not working with lookup column Id

I want to sort order my REST results data with a lookup column's Id in my SharePoint list. I tried using $orderby in my REST query, but got no luck. can anyone of you help me out with this ? ...
1
vote
0answers
13 views

invoke rest api office 365 powershell

### ENVIRONMENT SETTINGS $user = "domain\user" $pass = "thepassword" $doclib = "Documents" $url = "http://localhost/sites/teamsite" ### TOGGLE DEBUG MODE $debug = $FALSE ### DO NOT MODIFY $headers = ...
1
vote
1answer
32 views

import sharepoint 2010 list data in json format using javascript (IE8)

i have a sharepoint list already created and populated from an excel file. How would i go about pulling data from sharepoint to a json object in my javascript program. Another requirement is that ...
3
votes
1answer
3k 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
24 views

Using powershell to upload large files using the rest api

I am wanting to use powershell to upload large files using the rest api, not on the sharepoint online shell or anything like that, just normal powershell. I have an office 365 site that i want to ...
1
vote
0answers
10 views

How to update item properties for an existing document found by search with CSOM?

You don't know which library it resides in, nor site, nor site collection. The only entry point is the search center URL or _api/Search endpoint. The problem is that when you retrieve the File it is ...
2
votes
1answer
2k views

How to get 'form digest value' to use 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 is like below: $.ajax({ url: "http://<site url>/_api/web", ...
1
vote
2answers
48 views

Sharepoint online/Office 365 Is there a way to get all site collections for a tenant? [duplicate]

I'm looking for a way to get all the site collections for a particular tenant through API. The URL that lists all site collections is ...
0
votes
0answers
40 views

Office 365 upload a file to a document library powershell

$Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $pass = ConvertTo-SecureString $credentials.Password -AsPlainText -Force $Creds = New-Object ...
0
votes
4answers
1k views

get the attachement files from REST API

I use REST API SharePoint 2013 to get the items from list: And and I want to get the Attachments Files, How can i do that? This the code : function getListItems(url, listname, query, complete, ...
0
votes
4answers
350 views

Filtering REST call with lookup field

We have a column defined on a custom list that allows for multiple select of values from another custom list. The column on the list is call Panels. When I do a REST call against this list, I can ...
0
votes
0answers
32 views

Create Web Property in Web Property Bag in SharePoint Site using REST API

I want to add one Web Property to sharepoint sub site using REST API. Is it possible or feasible using REST API?
1
vote
1answer
2k 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 ...
2
votes
1answer
103 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
2answers
652 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: "Not well formed JSON Stream" I cant find much on calling the REST API from c# so have been piecing it ...
1
vote
1answer
28 views

SharePoint REST Connection to Return Data - Error

I would like to ask your help to this scenario: I am trying to return item data from a SharePoint 2013 list using REST I am using this url: ...
0
votes
0answers
9 views

Sharepoint REST API Expand Column to fetch Lookup Column ID

I have a Sharepoint List 'UserSubscriptionList' that has a Lookup Column 'WorkspaceApp' and my 'WorkspaceApp' has a Lookup Column that has a Lookup Column 'AppCategory'. What is the best Optimal ...
1
vote
0answers
89 views

How to retrieve a SharePoint list item using document ID only

How can I retrieve a SharePoint list item using just the document ID? I am accessing a SharePoint 2013 server (with document IDs enabled) remotely from a .NET application. I do not know which site or ...
1
vote
0answers
97 views

How to restrict sharing of a folder on Onedrive for business using REST API?

Using SharePoint REST API(App only token), I want to restrict sharing of a folder(or file) on onedrive for business to with in an organization. For example, A file is shared with "user1@domain.com" ...
1
vote
1answer
29 views

Get Group Id Using REST

I want to get group id in single call. I am using below URL <Sitename>/_api/web/sitegroups/getbyname('Approvers') it is returning object. I want to apply filter to above url to get group id. ...
0
votes
1answer
31 views

Reading sub-sites with files rest API?

I'm using the REST Files API, as documented here, to read the content of an Online Sharepoint (Office 365) site. Is it possible to get the sub-sites the root site using this API? I understand I ...
0
votes
0answers
15 views

Office Graph change the rowlimit

How Can i Change the rowlimit in an Office Graph query? I tried adding rowlimit=20 to the search but it didn't work.
1
vote
1answer
544 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 their ViewsLifeTime is null. ...
2
votes
1answer
2k 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
0answers
51 views

REST API uploading a file powershell office 365

Add-Type –Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type –Path "C:\Program Files\Common Files\microsoft shared\Web ...
0
votes
2answers
377 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
18 views

Delve and SPO REST API

So, besides the offical documentation of Delve and the REST API is there another sources where I can see the Delve capabilities? To see what I can combine with SPO and Delve
0
votes
2answers
466 views

The length of the URL for this request exceeds the configured maxUrlLength value. REST API

I was wondering if someone could help, or am I missing something. In the articles found here http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileStartUpload They refer ...
0
votes
1answer
14 views

While using REST API to get a list by title, there is a problem getting a list whose name contains the '&' character

I have already tried encoding the '&' as %26 in the request URL. It didn't work. Please suggest something else.
1
vote
1answer
758 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
2answers
472 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
0
votes
0answers
17 views

REST Look-up Field Expansion (Members Unknown)

Trying to expand a look-up field, in a REST call, without knowing the member names. For example, I have a custom list with a People Picker field (Employee). I can retrieve the Title and ID fields via ...
1
vote
1answer
614 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
1
vote
1answer
31 views

Render person with presence

How could I render a person with presence using JavaScript? Not in SharePoint result templates... I'm using REST and I'm getting the person from the web service
0
votes
1answer
42 views

http:<server>/_api/web/webs 401 unauthorized

i'm using a jquery script embedded in a SharePoint page. i am able to load the results of a /_api/web/webs call to REST as myself (site collection admin). However, anyone that visits the page that is ...