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

How to associate an existing site column to a list using the REST API

In SharePoint 2013, I have a site column that already exists and I'm trying to associate it to an existing list using the REST API. I found examples on adding a new column to a list using the REST API ...
0
votes
1answer
11 views

How can I manage folders and files using rest api?

How do I use rest API to pull data from folders and files? Each set of files are associated to one particular folder. I'm not sure how the are associated and I need to pull certain fields associated ...
0
votes
2answers
23 views

How to filter for files using rest api ( sharepoint online )?

Why doesn't the following string returns data from within a folder in the same asset library: Asset Library Name is Production_Library Folder Name is at the top level of the asset library and is ...
1
vote
0answers
8 views

REST with fiddler unauthorized

I am trying to use REST in SharePoint with fiddler, but whenever I make a request I get 404 unauthorized. So how do people test their REST requests using fiddler?
0
votes
1answer
21 views

Web API with social.following

I would like to create a Web API which interacts with the SocialFollowManager. I want to be able to make a document unfollowed. The exposed Web Api will be later accessed by a mobile application. ...
1
vote
1answer
441 views

SharePoint Hosted App Cross Domain Calls to a REST API

I have a SharePoint hosted app and I want to use the JIRA REST API with it. Which means I want to make requests and work with the data from the responses. Because it's a SharePoint hosted app I can ...
0
votes
1answer
673 views

Office 365 SharePoint Online 2013 REST with SoapUI

Im trying to run Office 365 SharePoint Online REST API calls. I get an error message: <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> ...
0
votes
0answers
11 views

Cannot see some SharePoint data feed because of user rights, that is wrong!

I try to see 2 list data feed with same user rights that are in same SharePoint 2010 site via browser by some url like this "http://SiteURL/_vti_bin/listdata.svc/ListName . One is ok but the another ...
0
votes
1answer
24 views

How do I get and sort child items using rest api?

I have an asset library with managed content types, but for some reason I'm unable to get the managed content fields when I drill down to the Child level. At the moment, I'm only able to file names ...
1
vote
1answer
24 views

Seconds since item created with REST. Perhaps use server current time (clock)

I'm trying to find the most correct way to determine the amount of seconds since an item was created. My first approach is to simply diff the Created property with the browser time, e.g., ...
0
votes
2answers
24 views

How do I handle Multi Select Fields using Rest API?

A couple of my rows are Multi Select Rows. When I make this call nothing returns for that row. How do would I handle the multi-value field? <script type="text/javascript"> $.ajax({ ...
0
votes
0answers
31 views

Make document unfollowed from REST api

I'm trying to use the REST API for social.following. What I want to do is to mark a document as unfollowed from a mobile app call. At start I wanted to simulate the call from Postman extension from ...
0
votes
1answer
16 views

How to display list items store in different Web Application without REST?

I have an one intranet site, and one public site. These have different web application. I want to display Tasks list and also insert items in intranet site into public site. I try to add ...
0
votes
1answer
35 views

Get File Url from a Lookup Column REST API

I have a lookup column that correlates to a background image in my presentation layer. Is it possible to expose the URL to the actual file via the $expand mechanism using REST? Example REST URI ...
0
votes
1answer
406 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 a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...
3
votes
1answer
392 views

How to add items to a document library when uploading a file using Rest in SP 2013?

I am trying to add file to document library by using REST IN SP 2013 APP MODEL. This is my code I can upload file to document library but I can't add items value to that document library in fields ...
0
votes
1answer
17 views

How to pull data fields from Document Sets within an Asset Library?

I have an Asset Library with document sets, that I need to pull data from. I'm able to pull data from using the following code, but not sure how to get and enumerate data from the associated document ...
0
votes
0answers
28 views

REST GetChanges(query) only returning ChangeType=1

In my SP Hosted App I have a list with 9 items. I deleted item 6 and 7 and changed item 9. Next I ran the following REST in Postman: ...
0
votes
0answers
124 views
0
votes
0answers
17 views

How to create list item in an external list using SharePoint workflow?

Environment: SharePoint 2013 SP1 I have an External List displaying data exposed through a WCF service. Creating, Reading, Updating and Deleting (CRUD) items in the external list works fine in the ...
2
votes
1answer
644 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 ...
1
vote
1answer
382 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
2answers
137 views

Sharepoint 2013 Development Boundaries

I need some understanding around SharePoint 2013 Development model. What are SharePoint 2013 Development Boundaries? What SharePoint developer can and cant do with each model?
0
votes
0answers
18 views

How to access the users roles in a easy way, using REST api?

I am trying to obtain user roles to pass from Sharepoint server to a specific tool, and I have to perform a lot of gets to obtain it. There is a simples REST request to do it?
1
vote
1answer
25 views

Communication options with SharePoint and the world

I have just started with SharePoint. Made a CRM system for our own company with help of the SharePoint suite found in Office365. This is mostly a 'getting to know sharepoint' exercise. Now I'm ...
1
vote
0answers
28 views

Problems making REST POST requests to SP-Hosted App with Postman

I am facing problems when making REST calls of type POST to my Sharepoint Hosted app with Postman in Chrome. GET type calls work fine. For example, I want to make the following call on my app to get ...
1
vote
1answer
506 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 ...
3
votes
1answer
421 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: ...
6
votes
1answer
2k views

Using REST for a DVWP DataSource with Office365

I'm trying to use the REST services (ListData.svc) to retrieve items from a list in a very simple test with Office365. I can't seem to get the connection to work without adding my credentials to the ...
1
vote
1answer
160 views

REST API call Cross-Domain to My Site Personal Site Quick Launch Links

Hoping someone can help me with a concept I am trying to accomplish. Scenario Basically I need to replicate (on a Publishing Portal) the Add/Edit Links in the left navigation of My Site Host (My ...
0
votes
0answers
18 views

Cross-Domain Calls in SharePoint - Comparism

Basic Example mysite.mysharepoint.com has clientside code that wants to access a list on mysharepoint.com due to whatever reason. the Same-origin policy forbids this Possible Workarounds SSOM ...
0
votes
0answers
11 views

Setting up files to access through API?

Before learning that this forum existed, I asked this question on StackOverflow. I am a new Sharepoint (Office 365) user, and I want to use it to host a file that I can access through the REST API. ...
0
votes
0answers
16 views

SharePoint 2013 REST 401: Distinguishing Unauthorized vs. Unable to authenticate

I'm creating an application using the SharePoint 2013 REST service and I need to be able to distinguish a 401 resulting from attempted access of a resource the user doesn't have permissions for and a ...
0
votes
0answers
15 views

SharePoint 2013 Rest API Search

I am using SharePoint 2013 Rest API Search. I created a new site column in SharePoint, put some data in it and i ran a full crawl and i saw that SharePoint has automatically created a managed metadata ...
7
votes
2answers
3k views

Create multiple items via REST API

I'm looking to bulk create items to decrease the amount of calls being made in my application. In this instance, I'm working on a calendar control that has different needs than what SharePoint OOTB ...
0
votes
2answers
25 views

Check User has Full Control Site Permissions

Is there away to check if a user has Full Control permissions with out throwing an exception? I've tried the following using REST: ...
3
votes
4answers
3k views

Paging using REST/OData with SP 2013

I'm trying to do paging on a document library (also trying this on a list) with SP 2013 using REST/OData but I can't seem to get the skipping of items working. Here are some examples of URLs that I'm ...
0
votes
1answer
369 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
1answer
19 views

Read, Write, CheckIn/Out files in SharePoint 2010 with REST

Is there a way to Read, Write, CheckIn/Out files in SharePoint 2010 with REST? It is possible with SOAP but transferring base64-encoded seems to be inefficient. Thanks
0
votes
0answers
26 views

SP2013 Search (REST API) Items are indexed but not found

We have a setup with a SP2010 farm and a SP2013 search Server. The search server is set up to crawl the SP2010 farm. Now I want to use the REST API to query the search server for certain pages (news), ...
0
votes
1answer
16 views

How do I send data to a lookup field with ReST? SP2013

I've been working with a jQuery AJAX call to post data to one of my SharePoint lists. One of the fields in this list is a look-up field. In forming my JSON data to push to the list I was able to ...
0
votes
0answers
19 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 ...
-1
votes
1answer
52 views

Calls to WebProxy without an app context are not allowed

From SharePoint 2013's default.aspx page (https://somecompany-public.sharepoint.com/pages/default.aspx) I'm trying to call a RESTful json API which lives outside the SharePoint domain, but getting ...
0
votes
0answers
14 views

How to dynamically adjust Subsite Logo using the Call http Web Service action

I've been trying to build a workflow which automatically generates a subsite. Since these subsites are projects under a variety of the company's clients, it would be nice if each project site could ...
1
vote
1answer
275 views

PublishingPageImage Field is missing when get data through Rest Api to Pages Lib 2013

I want to get PublishingPageImagefield value on REST API method on Pages library with below script. executor = new SP.RequestExecutor(appwebUrl); executor.executeAsync({ url: appwebUrl + ...
0
votes
3answers
85 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
0answers
6 views

How to retrieve site data from SharePoint on cloud and store them at SQL server

I currently use SharePoint on cloud at Microsoft 365 and need to retrieve few data including site title(name), site URL, site owner and also its parent site and subsite title and owner ...
0
votes
1answer
686 views

upload attachment to SharePoint List Item using REST API from Java client

Following Java code is an example for uploading a file attachment to the SharePoint 2013 list item. String uploadquery =siteurl+ ...
-1
votes
1answer
30 views

How to format SharePoint Rest API Data after calling a list item by ID?

I'm using a rest call to pull data from a SharePoint list by item id. I was able to verify it pulls the list items by id, but I'm running into an issue formatting the data. Any suggestions would be ...
0
votes
1answer
39 views

How to return multi-value fields via SharePoint Rest API?

After reviewing my results, I realized one of the sharepoint columns only returns one value. How do I get it to return each value from my Role Column? It should look like this: Title: FDA Program ...