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

App Permission requests

I am trying to create a 2013 workflow that uses an App step to break inheritance on a form library and give individual forms unique permissions. I am having problems, and constantly receiving ...
3
votes
2answers
255 views

SharePoint Online REST API - Get List selecting all fields excluding one

The below will get a list containing all fields $.ajax({ url: "http://<site url>/_api/web/lists/GetByTitle('ListTitle')/items?$select=*" ,type: "GET", dataType: "json", headers: ...
4
votes
2answers
173 views

Create SharePoint List programmatically

I want to create a SharePoint list programmatically from a SP addin. I would like to know which approach is better: Using JavaScript or Using REST Thanks In Advance
1
vote
0answers
20 views

odata = verbose vs. select query options

I know that odata = verbose gets everything from the results in REST, and more data than necessary, but what's the use of the query option $select then if we're going to get everything when specifying ...
4
votes
1answer
51 views

Fiddler 401 error /_api/web

I am requesting this url with fiddler: http://sitecollectionUrl/_api/web With the header of: Accept: application/json;odata=verbose But I am getting 401 error code when doing so. I am on ...
1
vote
0answers
27 views

Develop organizational chart with REST

Is there a way to build an organizational chart with REST? How do we get user manager and colleagues in REST, I guess I need to use profiles end point, but how do we build the structure for the web ...
0
votes
2answers
107 views

Is it possible to create a Link to a Document with REST or JSOM?

Is it possible to create a SharePoint list item that uses the Link to Document content type? I would like to be able to add new links with REST, but JSOM could work too. I was thinking if I could just ...
1
vote
0answers
41 views

Uploading Video to video Library using SharePoint2013 Rest APIs

I am using SharePoint RestAPIs to upload video to Video Library using the following urls and the video is uploaded successfully: _api/web/lists/getbytitle('Video ...
0
votes
0answers
21 views

500 Error to SharePoint 2010 Rest call

I'm having issues with other users getting any data from a particular list in SharePoint 2010. I can view the data without any problem, but others cannot. They can access the list normally (through ...
0
votes
1answer
341 views

Understanding authorization schemas for a custom SharePoint web service

I am building a custom Rest service to be hosted on a SharePoint 2013 farm. The service currently has only one method called "Ping" which simply return the current DateTime. public interface IService ...
3
votes
0answers
48 views

Using REST API in SharePoint forms in Office 365 using SharePoint Designer

Can someone direct me to some basic tutorial or component that would allow me to consume a REST API from SharePoint forms in Office 365. I would prefer to do all the customization using SharePoint ...
0
votes
0answers
60 views

CustomProperties missing while getting global navigation using REST

I am using the following REST API to get global navigation. http://sitename/_api/navigation/menustate(mapprovidername='GlobalNavigationTaxonomyProvider') It works good, however the only thing which ...
3
votes
3answers
111 views

SharePoint REST API getbytitle with ampersand in title?

Trying to use the SP2013 REST API to ping a library with the title "Prep & Admin Docs" and I can't use getbyID as this snippet will be used in multiple sites where the GUID of the list will vary. ...
1
vote
1answer
56 views

Get exception messages from a custom SharePoint REST service

I am experiencing some difficulties in managing errors raised from a custom REST web service deployed to SharePoint ISAPI folder I developed. My service is pretty simple. I deployed an .svc file to ...
0
votes
2answers
266 views

How do I format SharePoint Rest API Results?

How do I get my SharePoint Rest API Results to return like so: Title : FDA Project RioBravo Module: Primary Training Roles : Project Manager, Lead Agent versus the way this returns them like so: ...
0
votes
0answers
55 views

REST connection in InfoPath forms for View only users

I have configured REST connection in InfoPath form in SharePoint 2010.When i logged in with a user with full control ,REST connection works, but when I logged in as a user who has only View ...
2
votes
1answer
87 views

How to get random user profiles in SharePoint 2013 restful api?

In SharePoint 2013 restful api, is there a way to put in the url for user profiles, that you want say 5 random items from the target list? I don't want to download the whole thing and then take 5 ...
0
votes
2answers
2k views

REST query cannot be viewed in Internet Explorer

I am trying to get the results from a site using REST call like this: http://server1/sites/mysite/_api/web/lists/getByTitle('list title') But it's giving me that Internet Explorer Cannot Display This ...
0
votes
0answers
21 views

SharePoint online - API data access quality

How much access to the data will I have if I use SharePoint online? Will I be able to do reporting from any list or rdl hosted in SP online via the available javascript api? What about pulling data ...
3
votes
0answers
75 views

SharePoint 2013 REST expand and filter issue

I've been using REST for a lot of tasks, and with the recently added $batch endpoint, it's more fun than ever. There is one thing bugging me though, and I'd like to share it with you, perhaps someone ...
1
vote
1answer
107 views

SharePoint is currently configured to block intranet calls

This happens when trying to get data from a remote service, I've only been able to find a solution to this exception for Sharepoint-server(farm) The solution for a sharepoint farm is the following ...
0
votes
0answers
22 views

SharePoint REST API for Fetching custom Metadata Columns

I am Developing a plugin that exports Documents to SharePoint Repository after processing them. Along with the document, I need to send values for Custom Metadata columns defined in SharePoint. I ...
0
votes
0answers
29 views

SharePoint 2013 $batch issue with parent and child sites

I've played around with $batch for a while, overall it's a great addition, but there are some minor things I am curious about. $batch allows you to request data from the host web (from the app ...
0
votes
0answers
36 views

Filter on Null for lookup column in SharePoint REST API

I need do a filter where a lookup column is null, doesn't point to any thing. I tried var endpoint = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('" + listName + "')/" + ...
2
votes
1answer
20 views

Async REST Queries and setting field values to global variables

I'm having a problem wrapping my head around these sharepoint async REST queries. The problem is that an async REST query isn't setting a field.value because the assignment is happening to soon. Even ...
0
votes
0answers
30 views

SharePoint Search REST API returns invalid XML

I've ran into an issue where passing certain keywords to SharePoint Search REST API returns invalid XML. Here is an error message from Chrome: This page contains the following errors: error on line 3 ...
4
votes
3answers
2k views

SharePoint 2013 Http Web Service Action

I have created a basic SharePoint 2013 workflow with the intent to call the Rest API to retrieve the users from a SharePoint Group. To do this I am attempting to use the HTTP Web Service action ...
0
votes
0answers
25 views

Caching SharePoint API Queries at the Server?

Let's just say I have to call this REST service via JavaScript: http://someserver/_api/lists(guid'aguid')/items?$select=ID,Title&$top=5000 Knowing there's a lot of records to be returned, let's ...
4
votes
1answer
127 views

Retrieve userprofiles by REST API

I'm trying to retrieve user people with rest api. But it does not work. var getSpecificUserProperty = ...
0
votes
1answer
70 views

SharePoint Data Source Filter REST / View

I have an external list with one wildcard filter named taskname. When I edit the filter directy in the view I get all the information i want to get. The problem is when I try to set the filter for ...
0
votes
2answers
75 views

Updating field in sharepoint list using rest api while adding a new item

When a new item is added to list, it has one column which I need to update using Rest API. how can we do this at the time of adding new item?
0
votes
1answer
35 views

Link to cross domain images from SharePoint online app?

I've created a simple employee photo directory app for SharePoint Online (O365), packaged and deployed the solution as a SharePoint app. The lists and libraries where I'm getting my data from exist ...
0
votes
0answers
7 views

How to crawl the content type of custom list and page

I want to get all the items using the search api functionality .i have tried with following search url using REST API ...
1
vote
1answer
187 views

Set list item level permission in jsom (javascript object model)

I need to assign permissions to a particular list item using client object model in JavaScript.Say for 5th item by id I want to assign contribute permission to a particular group. I have previously ...
0
votes
1answer
148 views

Remote authentication using REST

I am trying to access SharePoint online using REST API's remotely. Office 365 Smart links are enabled for the site. As per this blog I don't receive wsse\\:BinarySecurityToken in the response. My code ...
0
votes
2answers
75 views

REST expand query option for Folder is not working with GetItems data

I'm using REST to query SharePoint 2013. I need to return a complete list of all files contained in a document library including subfolders. This query itself works correctly using a POST request: ...
2
votes
0answers
26 views

Update metadata w/2013 REST API in a Workflow

I am looking for an example of a REST PUT/MERGE method done from a workflow (no code) in SharePoint Designer to update a metadata field in a library. Specifically what the Build Dictionary and Call ...
2
votes
0answers
51 views

HitHighlightedSummary HitHighlightedProperties is empty in people search using REST

Is there a way to get search hits in HitHighlightedSummary HitHighlightedProperties on people search using REST? ...
1
vote
0answers
40 views

How to programmatically use the built in search functionality

How to programmatically use the built in search functionality to get the results and displays in the app part? I have found some jQuery REST search api code and it seems working when I try to add my ...
1
vote
0answers
72 views

How to access Choice Field Value by using Lookup Field in REST API?

I have a list(ListA) which has a lookup field(LookupF) for another list(ListB). ListB includes a choice field(ChoiceF) which can take a single value. I want to call the selected value of the ChoiceF ...
1
vote
2answers
61 views

Retrieve all user profiles

I'm in struggle to retrieving all user profiles in a single request. Is it possible to retrieve all user profiles including properties with REST search API?
2
votes
2answers
2k views

jQuery call all list items using REST

I'm trying to make a REST call to a SP list to retrieve all the list items, using jQuery from another website. Bit of background: The server is on prem, and the usage of this script will be on prem ...
6
votes
1answer
102 views

REST API Query Syntax

I'm trying to pull back all Projects that are Active and have a ProjectName="X". ProjectName is a lookup and Active is Yes/No. Here's what I have built: ...
0
votes
0answers
25 views

REST: CopyTo Works Only for Files in Document Libraries?

I'm trying to use CopyTo with a query like below: /_api/web/GetFileByServerRelativeUrl('/site/Documents/Forms/Content Type ...
0
votes
2answers
947 views

Postman Rest Call to _api/contextinfo failing

So I have been having this issue for awhile and im not sure what has changed. I used to be able to get the form digest value from hitting the /_api/contextinfo endpoint using a post call after ...
0
votes
0answers
25 views

How to get user permission level from login/accountname - REST Query

I want to get user's/group permission by executing a REST query. I have tried several options, but I couldn't find a proper way. At last I tried following query, but it doesn't give me a readable ...
1
vote
4answers
100 views

403 Error on REST/JSOM call within a form in SharePoint 2013

I try to update a ListItem in a (foreign) SiteCollection wihtin an edit form by CSOM. But I can't get it to work without getting a 403 error: cs.updateListItem = function(siteURL, listNameSTR, ...
2
votes
3answers
230 views

REST: Filter List Items by Content Type Name

I can't for the life of me figure out what's wrong with this URL: _spPageContextInfo.webAbsoluteUrl + ...
1
vote
1answer
22 views

Rest web service principalid

Any URI that can be used to find the principalid for user name and group name via Rest. I can only use separate URIs to find it.
0
votes
0answers
40 views

Like an item from SharePoint App with REST

I need to post a like on an item in list or on a document in library... with REST :) Why REST ? Because I'm doing Sharepoint Online App, and doing REST with SP.requestExecutor is easier than JSOM ...