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
2answers
57 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
47 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
20 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
24 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 ...
0
votes
1answer
14 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
39 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
33 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
517 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
53 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 ...
3
votes
4answers
76 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 ...
1
vote
0answers
30 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
43 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 ...
0
votes
0answers
42 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 ...
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
87 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
65 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
454 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
38 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?
2
votes
1answer
110 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 ...
1
vote
1answer
35 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
15 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
122 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
105 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" ...
0
votes
1answer
44 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
17 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
571 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. ...
0
votes
0answers
83 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
427 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
25 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
1answer
15 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
2answers
495 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
20 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
647 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
58 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
60 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 ...
1
vote
2answers
34 views

Querytext: blank value for a property

How could I specify in a Querytext that I want all the elements that doesn't have defined a value for a property? For example, let's say that I'm interested in the property CheckoutUserOWSUSER, how ...
0
votes
0answers
51 views

Filter XML results from REST API call to SP list data

I was curious if it was possible to use VBA to send a query inside a REST API call to a sharepoint (SP) site in order to extract data from the SP list? I've looked around and I can't find an exact ...
0
votes
2answers
36 views

How to Refresh RequestDigest in SharePoint 2010 Angular SPA

I previously built an AngularJS application in SharePoint 2013 and that is great, now I am building a similar application in SharePoint 2010. I have two questions specific to SharePoint 2010: How do ...
0
votes
0answers
18 views

REST and Share price

I'm using 2010 and wanted to know if REST in 2010 behaves the same as 2013. Im looking for a get share prices and found a blog that explains how to use RESt but I cannot get it to work. Has anyone ...
0
votes
2answers
770 views

Upload attachment in a document library using c#

Our client is running CRM and SharePoint and they would like to upload attachments from CRM into SharePoint 2013 Online. I started searching the web for some help and I came to this Microsoft page. ...
0
votes
0answers
39 views

Bind REST result to DataTable/Gridview

Is there a way to bind Ajax/executor query result (JavaScript) from a SharePoint list to a datatable so that I can bind it into a gridview (aspx)? The examples I found so far are using ...
0
votes
0answers
35 views

How do I access the docs in a Sharepoint folder via REST API?

I am a total beginner with Sharepoint, actually I do not know much about the internal structures used by Sharepoint and what exactly can and can not be accessed via REST Apis Here is what I am trying ...
0
votes
1answer
31 views

How to read Data from App web and write data to a host web by making REST calls

my Question :How to read/copy Data(images folder) from App web and write/Upload data to a host web (Picture Library) by making REST calls with the cross-domain library. i have Created SharePoint ...
1
vote
1answer
46 views

SharePoint-hosted App - Retrieving items in host web with REST from app web with enabled fine-grained permissions

I have a SharePoint-hosted app which is querying list in host web. This list has enabled fine-grained permissions (item level security) and I am site collection admin. When I try to query items (with ...
1
vote
2answers
162 views

REST endpoint working in SharePoint online and not in on premise

/_api/web/lists/getbytitle('List')/items?$select=Id,AttachmentFiles&$expand=AttachmentFiles The above REST endpoint works in SharePoint online and we are able to fetch attachments but the same ...
0
votes
0answers
13 views

When I upload a document to SharePoint it works but I still get an error

I am learning the different capabilities of REST in SharePoint and right now I am working on uploading documents with REST. I have a code that uploads the documents and they are readable and ...
3
votes
4answers
122 views

Testing REST API in SharePoint 2013

I'm new to SharePoint 2013 and I'm looking to use REST to do some api calls to my other web sites. I just want to see how to check and see the following items: If the REST service is enabled on the ...
4
votes
2answers
187 views

How to get all properties of all users in SharePoint 2013 Rest API?

I am using this code to get all properties for just myself (current user). But how can I change this so that I can get the same data but for all the users in SharePoint? var oldurl = ...
1
vote
1answer
89 views

Updating a list item from sharepoint online workflow using HttpSend

I'm trying to update a list item in the host web from a sharepoint app using workflow's HttpSend activity in visual studio. How should I set the RequestHeader and RequestContent values ?
0
votes
1answer
40 views

/_api/web/features

This applied to a site collection like https://tenant.sharepoint.com/sites/MySite/_api/web/features retrieves a list of features ACTIVATED at the current scope. Does that mean site collection ...