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)

1
vote
1answer
141 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?
0
votes
1answer
36 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
38 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
14 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
12 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
25 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: ...
3
votes
1answer
596 views

SP 2013 REST API How to get Approval Status for Version History items

This is how SP presents Version History: I use this URL to get file history: ...
1
vote
1answer
126 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
27 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 ...
1
vote
2answers
1k views

Change item permissions using 2013 workflow

I would like to create a 2013 workflow using Rest api call to break inheritance and change permissions on list items when they are created. This is in a Sharepoint Online environment. Have anyone ...
0
votes
0answers
12 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 ...
2
votes
2answers
45 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
63 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 ...
1
vote
1answer
551 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
26 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 ...
1
vote
2answers
62 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 ...
0
votes
0answers
20 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 ...
1
vote
0answers
19 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, ...
2
votes
3answers
339 views

SharePoint 2013 REST how to add pagination?

I am using SharePoint 2013 REST to display my list data in a table My list is getting long and how can I have pagination links blow my table? my code: <script> var app = ...
0
votes
0answers
25 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
37 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 ...
0
votes
2answers
69 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
1answer
637 views

Expanding columns in lookup fields

Using the SharePoint 2013 REST API, Can I get more than one column from the lookup column by using the $select and $expand endpoints?
1
vote
1answer
594 views

Clear all values in a multi-value lookup, via REST, SP 2010

Conditions: SP 2010, html/javascript, using REST to read/write to various lists. Im using a jquery multiselect plugin to set a multi-value lookup column. I need the selecting Groups of items, easy ...
0
votes
0answers
13 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
39 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
35 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. ...
2
votes
3answers
2k views

Checked null with dateTime in REST API SharePoint

I want to get all article pages which Article Date is not null. so I have try to do by this way. var ArticlePageContentTypeID = ...
0
votes
0answers
71 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
64 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
137 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
38 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
11 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
22 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
54 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
1
vote
1answer
156 views

Authentication using Sharepoint Online REST API to create Task for Organizational Site

I have a Office 365 Organizational SharePoint Online Account. I want to Add Few Tasks in one of the list programmatically. I saw options of using JavaScript API or hitting the REST URL's ...
0
votes
1answer
30 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
32 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"; ...
2
votes
3answers
585 views

SharePoint Online REST API Image upload AJAX

I'm trying to upload an image to SharePoint using native JavaScript/jQuery - NOT SP.RequestExecutor. I've cracked the authentication issue, nice and easy, so now it's just a case of working out how ...
0
votes
0answers
12 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
53 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
31 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
0answers
29 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 ...
1
vote
0answers
51 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 ...
0
votes
1answer
32 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 ...
2
votes
1answer
44 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
31 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
21 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
30 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
78 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 ...