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
11 views

REST API Search images

I'm doing a simple REST request to the SharePoint API and it seems that it doesn't retrieve images or videos, should I add something specific to the query text in order to have images and videos in my ...
1
vote
1answer
400 views

Check users group membership via REST API using AD-Groups in SP-Groups

I am aware that similar questions have been asked around here but none of them answers the part of AD-Groups that are used inside of SP-Groups. I have several SP-Groups in my teamsite. I follow best ...
1
vote
1answer
48 views

REST API O365 site collection upload file in a folder in document library

I have a script that uses the rest api and I am wanting to upload a file to a site collection document library that has the /sites/sitecollectionname layout. By doing : ...
0
votes
0answers
13 views

SP2013 : Get data from folder inside a custom list

How to get all data from folder inside a Sharepoint list using client side code ? Rest apis
1
vote
2answers
33 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
0answers
30 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
2answers
1k views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
1
vote
1answer
635 views

REST API In SharePoint 2013 Uploading and Setting a Property

I am currently in the process of trying to upload a file from using SharePoint 2013 Restful Service as well as setting the fields in the same document library at the same time. I have had success ...
0
votes
1answer
22 views

VBA - REST API call to Sharepoint list update speeds

I've been trying to look more into this but I can't seem to find a good explanation of why this is happening. So I am making a REST API call to a Sharepoint list. All I want is to grab information ...
0
votes
0answers
15 views

Populate SharePoint 2013 calendar using REST api [duplicate]

I am new to REST and am currently learning. So far I can see how to use the REST service to retrieve list items but it seems that the REST service can only be used to GET items from SharePoint, not ...
6
votes
1answer
182 views

How to access a custom field of a list using REST

I'm trying to get information from a list in a custom SPField called "My Field" with the internal name "MyField" using this JavaScript code: $.ajax({ url: ...
1
vote
2answers
985 views

How to get all items in a view using REST API

by using rest api I get items like this http://mydomain/_api/web/lists/GetByTitle('MyList')/Items I get the view like this and naturally in it I have the GUID ...
0
votes
0answers
15 views

Search results is null when ViewsLifeTime field is included and Queried via Rest api

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
0answers
30 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
10 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
2answers
28 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
37 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
19 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
21 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
24 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
22 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
480 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
31 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
59 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
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
14 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
33 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
26 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
12 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
53 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
42 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
364 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
655 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
93 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" ...
0
votes
1answer
32 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
16 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
545 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
53 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 ...