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
1answer
25 views

Passing filter value to REST Query

I have a text box that I'm trying to take the value from and pass it into a REST query as a filter parameter when the button is clicked. If I hard code a value into the REST query it retrieves the ...
0
votes
1answer
24 views

SharePoint 2013 REST API error

I have this working properly on Office 365, but when I move it to our on-premise installation, I get an error. here is the code I'm trying to execute <script type="text/javascript" ...
0
votes
0answers
13 views

Workflow elevated permissions

I've been reading (and using) the actions mentioned in this article several times: Create a workflow with elevated permissions by using the SharePoint 2013 Workflow platform Now I need to do ...
0
votes
0answers
6 views

Events/Changelogs in the new Office365 Files API

I'd like to know if this new Office 365 API provides changelogs for diff events that occur on OneDrive for a tenant user like Share, Unshare, Create, Update, Delete events etc. Much appreciated!
0
votes
0answers
15 views

Cannot query SP.UserProfiles.PeopleManager from the App Web via REST

I'm testing REST results in the browser with mixed results. The following URL returns the expected result: ...
1
vote
1answer
40 views

Sharepoint REST API - Using caml query and select/expand to get lookup data

I have a Sharepoint app and I use a caml query to filter the data I get back: var caml = "<View><Query><Where><And><Contains><FieldRef Name='PublishingPageLayout' ...
0
votes
0answers
15 views

Access Token (Java) [duplicate]

How do you get Access Token using REST? I'm trying to upload a folder in my Document Library using REST but it requires a Access Token in the header. Here is the code: public void ...
0
votes
0answers
5 views

Retrive data from a list name starts with 1 or more digit characters and choice field using listdata.svc

I am trying to retrieve data from SharePoint Document library using listdata.svc . My Document library name is "2015" and it have one choice field. When I browse using the URL ...
0
votes
1answer
21 views

Render Image from REST API Call

Here's the var from the function: var aoTiles = "<div class='col-md-4 tile'><div class='tileImg' style='background: url(" + [value=this.Image_x0020_Thumbnail_.Url] + ") no-repeat 0 ...
0
votes
1answer
18 views

GetFileByServerRelativeUrl returns corrupt document

I'm trying to read a SharePoint document using GetFileByServerRelativeUrl. The code seems to work (it throws no exceptions). It's returning a byte array that should represent a Word document. (It's ...
0
votes
0answers
9 views

WCF Rest Service hosted in Sharepoint (ISAPI folder) doesn´t prompt for credentials

I have a custom WCF Rest Service hosted in Sharepoint (ISAPI folder) and the FBA is enabled in my WebApplication. The problem is that I´m being able to consume my WebServices without a previous login ...
0
votes
1answer
17 views

filter list Items REST API

I have a lits sharepoint which have an user item.I need get the items filtering by user like this : http://win-f898lhd0rn9//_api/web/lists/getbytitle('BudgetConcerneLD')/items?$filter=IPS_Personne ...
1
vote
0answers
16 views

Update metadata field of type TaxonomyFieldValueCollection using REST API [duplicate]

While updating metadata of field type TaxonomyFieldValueCollection I am getting following error. "{"error":{"code":"-1, ...
0
votes
0answers
16 views

How do I find the Tenant ID of my SharePoint Online Account?

I am trying to create a simple PHP script that uses oAuth and I seem to require the Tenant ID of my SharePoint Online account. I'm sure this is something very straight forward, but I can't seem to ...
0
votes
0answers
26 views

how to POST to sharepoint 2013 using php curl

at work we have sharepoint 2013 on-premise. currently no one is experienced about it so I'm trying to learn it. at this point I need to get some data from sharepoint lists using php/linux. I end up ...
2
votes
2answers
35 views

Get file size with SharePoint 2010 REST call

Is there a way to get file size with SharePoint 2010 REST (via _vti_bin/ListData.svc) service? The same question about number of items in some folder. I don't see such fields in items corresponding to ...
1
vote
1answer
39 views

SharePoint 2010 REST Date/Time format

In SharePoint 2010 REST API when I call to _vti_bin/ListData.svc/Documents(38)/Created and get JSON response the date/time is returned as /Date(1421146908000)/ (I found some information about it but ...
0
votes
2answers
48 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
9 views

Import SharepointList into Outlook template as BCC

I am trying to import a Sharepoint list into a BCC field of an Outlook oft email template. When user will click on the sharepoint linked oft email template, a new email message will open, BCC field ...
0
votes
0answers
34 views

SharePoint REST API get users following a document

Is is possible to use the REST API to get users following a document? I saw a thread about someone trying to get a list of the users following a site and the answer was that it cannot be done with the ...
1
vote
1answer
29 views

Sharepoint REST service URI

I have one doubt in Sharepoint REST service URI http://server/site/_api/web/lists and http://server/site/_api/lists are same request, Am I correct? I mean both request returning same result. ...
0
votes
0answers
26 views

Workflow Call HTTP Web Service returns xml instead of Json

I developed a Workflow that uses http call webservice in our devlopment site on O365. When I rebuilt the identical workflow in production, it fails with the error: ...
0
votes
0answers
22 views

Downloading large binary files and upload it to SharePoint document library using REST

I am building a SharePoint hosted app that communicates With a REST service, also built by us. The REST service provides a method to get a file (image or video file, typically 4Mb - 50Mb, but also ...
2
votes
2answers
103 views

How to get json data from REST api SharePoint 2013

How to get json data from REST api in SharePoint 2013 list? Regards,
1
vote
1answer
32 views

Finding Renditions for an Image via SharePoint REST API

In my application I'm displaying images via REST that I've pulled from a library using a query similar to this: http://localhost/_api/web/GetFolderByServerRelativeUrl('/PublishingImages')/Files As ...
0
votes
0answers
10 views

Error 'ACS90019: Unable to determine the tenant identifier from the request.' in SP2013 REST API Call

My company uses a MSP that has their own multi-tenant sharepoint 2013 installation. I am trying to use oAuth to connect and keep getting the error, "ACS90019: Unable to determine the tenant ...
0
votes
1answer
19 views

PWA List access via REST from sub site

I've got a Project server site that needs to access to the values of a list stored in the PWA when a new row is added in a list of its own. For that I've created a workflow using Sharepoint ...
1
vote
2answers
44 views

CrossListQueryInfo or SPSiteDataQuery equivalent in REST API or CSOM

Is there any equivalent in SharePoint 2013 RESTful API or JavaScript Object Model to either one of the following? CrossListQueryInfo SPSiteDataQuery
0
votes
0answers
28 views

SharePoint rest API HTTP401

I am trying to retrieve the lists of my web by REST API. With this code I get HTTP 401. (the browser does not prompt for the credentials) var requestUri = "http://sp13" + "/_api/web/lists"; ...
0
votes
0answers
10 views

Connect to a REST based service from BCS

We are on SP 2010. I wanted to find out if under SP2010 I could make calls to a REST based service from a BCS. Any help/examples would be appreciated. Cheers
0
votes
0answers
8 views

Error sending Email from workflow

I've got a Sharepoint list inside a project server site. When a user creates an item in this list I want to send an Email to another user. I've been able to get the email address using REST and ...
1
vote
1answer
36 views

Undefined custom user profile properties - javasript - rest

I'm trying to get a custom user profile property, but I only get that the property is undefined. What I'm trying to do is to get a custom user profile property, without having to loop trough the ...
0
votes
0answers
17 views

Obtaining bearer token for Sharepoint REST API calls

Our scenario is following: User logs in through SSO (using Azure AD) to our website. On the site we have a page that will show links to some documents from SharePoint. The page will query SharePoint ...
1
vote
2answers
54 views

Copy documents to a subsites

I have a site collection MySiteCollection which contains many subsites like SiteA, SiteB, SiteC, etc. Each subsite contains its own subsites. For example SiteA-1, SiteA-2, SiteA-3. And I want to ...
1
vote
0answers
26 views

Make users accept a policy before they can use the solution - SharePoint - REST

First time a user logon to the system they should get a "policy" that they should accept. Without the accept on the policy they cannot use the solution! I've created a custom user property on every ...
0
votes
1answer
25 views

Get Lookup table value via REST

I've got a project server app in which I hava a custom field that gets populated through a lookup table I've previously filled. What I want is to get the value of this custom field using the REST ...
1
vote
0answers
41 views

Sharepoint 2013 Search REST API return lack of result with exact phrase querytext

In sharepoint foundation 2013 search REST API. I used double quotes to find exact phrases in document content which was attached in my sharepoint list item. "/_api/search/query?querytext='\"" + query ...
-1
votes
0answers
20 views

How to get the count list items,work flows,documents from Lotus Notes Data Base?

We are working on Lotus Notes(LN) migration to SP2013,we are having LN databases,is there any way to get(using power shell or API) the list of workflows,documents,list items count to get from the LN ...
2
votes
1answer
34 views

FILES REST API url to list specific folder content

I need to retrieve the items/documents in a specific folder of our Office 365 hosted SharePoint site, but I always get an resource error. I'm trying to use the FILE REST API for this, documented here: ...
0
votes
1answer
28 views

How to pull the user profile image?

Using the _api/SP.UserProfiles.PeopleManager I've gathered the information needed to display my user profile image and presence. pInfo is a variable that contains the property information needed to ...
1
vote
1answer
16 views

Create a DocumentSet in host web using REST API

I need to create a DocumentSet in the Hostweb from inside the App. I have tried this: var info = { __metadata: { 'type': 'SP.DocumentSet' }, AllowContentTypes: true, ...
1
vote
0answers
26 views

Display Rating Stars

I have a page and I want to display the items' title of a list with the rating stars for each item beside it in that page. What should I do?
0
votes
1answer
52 views

REST API in SharePoint - Query specific list URL

I'm new to REST API in SharePoint. I was required to query some items from given URL of Calendar type list. But I know how to query calendar list items ...
0
votes
1answer
26 views

Sharepoint 2010 listdata.svc returns exception Value cannot be null. Parameter name: target. On orderby with lookup field

I'm trying to use SharePoint 2010 ListData.svc with jqgrid control. It works fine, but when I try to use orderby with lookup field, I get an exception: -An error occurred while processing this ...
0
votes
2answers
43 views

SharePoint 2010 Rest API filter statement not working

I am trying to filter a rest query but can't seem to get it to work. During my testing, the following statement works (no filter, a alternate way to get the item I wanted): // sort the list desc and ...
0
votes
1answer
25 views

GetSiteAndWeb access denied after Office365 service update - why?

Typically this call GetSiteAndWeb, using Office365 authentication, does not require extra authentication to succeed. This call starts failing recently at subsite level (but still ok on site collection ...
0
votes
0answers
11 views

how to get SharePoint Site Hits using Rest calls

Is there any way I can pull number hits using rest call in SharePoint 2013.
0
votes
0answers
43 views

How to pull data from SharePoint On-Premises Search REST API from PHP?

I have a SharePoint 2013 on-premises installed on one of our organisation server (Windows Server 2012 R2 with IIS 8.5). We have enabled the REST search API so that we can query to sharepoint and ...
1
vote
1answer
58 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 ...
3
votes
1answer
52 views

Using NOT on REST date query

I am able to filter for items created on a specific date with the following query (using today [03-06-2015] as an example): "$filter=Created ge datetime'2015-03-06T05:00:00.000Z' and Created lt ...