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
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
357 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
26 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
46 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
96 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
701 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?
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
41 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
49 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
100 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
77 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
160 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
42 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
12 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
25 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
66 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
167 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
31 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
37 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
625 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
21 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
67 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
35 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
30 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
60 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
37 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
55 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
34 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
33 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
113 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
2answers
55 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
49 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
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
1answer
66 views

Rest API authentication

I need to use the SharePoint Rest API from a custom JavaScript application (outside from SharePoint). How can I authenticate the user to use the Rest API. I can not deploy a SharePoint app, I need ...
1
vote
1answer
160 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 ...
0
votes
0answers
61 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 ...
3
votes
2answers
119 views

Updating SharePoint item using REST API from outside of SharePoint

I need to update (CRUD) SharePoint list items from a stand alone application outside of SharePoint. This application can only use JavaScript to call SP. Deploying it as an app on SharePoint won't be ...
2
votes
1answer
33 views

Sharepoint restful api: json return value is structured differently between simialr scripts

I have some odd behaviour when using REST API to query SharePoint lists. In one example, I have to use data.d.results[0] to get to the data, in another I have to use data.d[0] When I use data.d[0], ...
0
votes
1answer
73 views

Query 1 list from multiple sites using a single REST call

My boss has been looking for a way to do this for a while, I figured I might as well ask around instead of telling him it can't be done without multiple queries to the server. During a Project Server ...
0
votes
0answers
70 views

'Cannot find resource for the request' error using REST

I am trying to use REST to copy documents from one place to another. I would ideally like to do this through a SPD 2013 workflow, but have also been trying to use jQuery as well. I have been ...
0
votes
1answer
110 views

How to authenticate user in SharePoint Online using rest api

I have a website on SharePoint Online and a website on SharePoint On-premise. From my On-premise website i want to create a new list on my SharePoint Online site. To authenticate I used the ...
1
vote
0answers
70 views

SharePoint 2013 upload(and resize) image with REST api problem

I am trying to create an SP2013 APP, the user should be able to upload an image to a SharePoint list. The image needs to be resized before it is being uploaded. I got the upload function to upload the ...
0
votes
1answer
33 views

Retrieve list value with more than 2 look up field

I have a list 'NewsList' with columns Title, ShortDescription,Image ,Programs,Division and Tag. Here, Programs,Division and Tag are lookup fields with same list name. When I try to retrieve the ...
1
vote
0answers
99 views

Set value in web property bag using REST API

I am trying to manage web properties from property bag using REST API. It is pretty straightforward how to get the values var url = "https://site.sharepoint.com/_api/web/allProperties"; $.ajax({ ...
0
votes
0answers
94 views

Create a folder in document library using REST (Java)

How do you create a folder in document library. I got this code right now but getting error code 403 FORBIDDEN public void createFolder(String digest) throws ClientProtocolException, IOException { ...
0
votes
2answers
43 views

REST API Sharepoint 2010 hyperlink column

I am using REST api to get data form a list. The only thing tripping me up is a hyperlink column containing a link to a word document in a library. The data is being returned like so: ...
1
vote
0answers
73 views

sharepoint workflow rest api add role assignment exception

I develop a workflow and i want to grant unique permission on item in list using sharepoint rest api ...
0
votes
2answers
27 views

Do REST only uses search index to retrieve information / do the data have to be indexed - SharePoint

I know that I can use search REST api to fetch data from SharePoint. But is there a way to get a list without having to index the list? I'm having a problem that search (Continues crawl) is to slow ...