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)

3
votes
1answer
205 views

How to retrieve image column from SharePoint List using REST API

How to retrieve image column from SharePoint List using REST API
0
votes
0answers
48 views

How can I post json data from sharepoint designer workflow

How can I post json data from share point designer work flow ? Currently I am stuck with pass or post json data from workflow designer for sending email. Thanks in advance
0
votes
0answers
44 views

REST Api Download file content

I want to use REST Api to download documents that exists both in Sharepoint and OneDrive for business. I have the DocumentUrl, DocId, SiteId, UniqueId and WebId properties for these documents. Do ...
1
vote
1answer
73 views

sharepoint profile picture

Is there any possibility to change profile picture or uploading a new profile picture in SharePoint Online by using SharePoint hosted app, via JavaScript or jQuery? How do you solve it?
0
votes
1answer
69 views

How to wrapped angularjs promises in sharepoint

I'm writing an app that requires the use of $.getScript quite extensively. I've pushed it into its own function, for ease of use, but now I need to make sure that the function itself is synchronous. ...
0
votes
0answers
27 views

Check whether user is active or inactive in Active Directory using REST API or JSOM?

How can I check whether user is active or inactive in Active Directory using REST API or JSOM ?
0
votes
1answer
133 views

A node of type 'EndOfInput' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was expected

I try adding list item using REST in SharePoint 2013. when code is try add new item in list , getting error : "{"error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException", ...
2
votes
1answer
160 views

Query List with REST API in app web from host web on different domain

I am successful in getting data from host web to app web but the problem i am facing with is querying the API. This is i am trying to do but getting error.. var getTaskByUser = function (userID) ...
1
vote
1answer
39 views

Granting permissions on a group for a site

I had successfully create groups and add users in it using REST API. These are the permissions on a SharePoint Group/User for a site: *Full Control - Has full control. *Design - Can view, add, ...
2
votes
1answer
53 views

Adding members in a subsite

I had successfully created sub sites using REST API and i set 'UseUniquePermissions': true so that i can manage selected users as a member into the site i created , Now i'm wondering how can add a ...
1
vote
1answer
47 views

Creating Fields in a sharepoint list

I am using this code for adding a custom field (column) in a sharepoint list executor = new SP.RequestExecutor(shptService.appWebUrl); var data = "{ '__metadata': { 'type': ...
1
vote
1answer
117 views

How to Modify Search REST query after Thesaurus is called

I have a query "< my_url >/_api/search/query?querytext="Bureau'" I have added to the Thesaurus Bureau,Office. I am trying to get the query to return everything that 'Office*' would return. ...
0
votes
2answers
307 views

With REST recursively retrieve file and folder directory structure

I have a site which is running under SharePoint 2013. Via REST I am trying to retrieve the file and folder directory for that site. There are several similar questions on this site related to ...
1
vote
1answer
32 views

Get HasPublishedVersion property in REST call

I am using REST service call to get items. I need to check if the item has any published version in filter part of url. I just need to filter based on this value. I don't need version history. I ...
0
votes
2answers
56 views

How to read the search results by the Search Rest Api XML

When I enter the url below for Search Rest Api I can see some xml on the browser. Is there some tool or something else to read this xml? I would like to know which results are found. ...
0
votes
0answers
33 views

SharePoint 2013 Online REST API does not returns /Folders

I have problem of using SharePoint 2013 Online REST API, it is working correctly for my accounts except one. I login as XXX user and browse ...
1
vote
1answer
59 views

Read FieldMultiLineText with REST API query

Im trying to query data from different lists. Im having the issue, I cannot read a FieldMultiLineText field from a list I joined via expand. The server responds I t is invalid to query the field. ...
0
votes
1answer
26 views

SPD Workflow Response Code: NotAcceptable

I am using the approach posted here by Vadim Gremyachev: Get current user information and add to email action in workflow? here the REST-URL: /_api/Web/SiteUserInfoList/items?$filter=(ID eq ...
1
vote
2answers
135 views

SharePoint 2010 listdata.svc dates incorrect time zone

I have written an Angular site using the SharePoint 2010 REST Api. To query the list I use listdata.svc, for example: ...
0
votes
0answers
39 views

Can the order of list fields retrieved by REST be changed?

Is there any way to change the order of the fields associated with a list in SharePoint? Ie. the fields retrieved with a url like this: ...
0
votes
1answer
56 views

Sharepoint Rest API max querystringlength exceeded

We are trying to post a really long query string, that exceeds 2048 characters to sharepoint REST API. I am making a post to the below API ...
2
votes
0answers
31 views

What are the different ways to consume SharePoint REST using Javascript

I know of two ways, using ajax and using SP.RequestExecutor.js. Are there any other ways. Code snippet and information around performance will be appreciated.
0
votes
1answer
44 views

read,add and update sharepoint 2010 list from an asp.net application

I have a sharepoint site which is internal and I would like to build a website that is public to get some data from a list in this sharepoint 2010 instance. The asp.net site would be hosted publicly. ...
0
votes
1answer
87 views

Joint two lists in the SharePoint blog site using REST API

I have two SharePoint lists. 1) Posts and 2) Categories The Posts list has a lookup field called Category into the Categories list. I am trying to use the $expand option to join the two lists but ...
2
votes
0answers
144 views

SharePoint 2013: Retreving the list of files on a List I always get an empty result

I have a list in SharePoint on Premise in which I know there are 2 files and a folder. If I try to get the list of files from it I always get an empty response like in the example: GET ...
0
votes
1answer
95 views

GetUserProfilePropertyFor(Manager) differs from the managers Account

I will explain how I am currently doing my REST calls, by the hyperlinks. _vti_bin/ListData.svc/UserInformationList?$select=Account&$filter=substringof('Joe',Name) ...
0
votes
0answers
37 views

External content type add connection to a rest api

Is there a way to connect an external content type to a third party rest API? If so how? I have tried to find information about this, but have only found methods to using rest to get data out from ...
1
vote
0answers
71 views

Sharepoint Designer Workflow to add file using REST api with some content in the file

I am creating a SharePoint Designer Workflow 2013 where I add a file using REST api call. File gets added perfectly, however it goes empty. I want some content in that file, let's say "Test File ...
0
votes
1answer
308 views

Upload file into sharepoint document library using REST

I am developing a sharepoint-hosted application now it can upload files to a document library using REST api can anybody help me to achieve this.
3
votes
1answer
156 views

How to Change a View with REST API Web Service Call in Javascript

I have a site with 150+ libraries that are tied to a business process. Each has the default view configuration from the template I used. Now the business process is evolving and users want to see ...
3
votes
2answers
101 views

get user detail list of people who having access of ListItem/Folder SPD or Rest Api

I wanted to notify via email all those users having access or shared the listitem/folder and file with given item level permission. As my solution I was sending notification to the shared with field ...
1
vote
1answer
70 views

Query and filter user profiles based on the value of customer property using REST

I have a source list which has the EmployeeIDs of some of the employees and I need to look these up in SharePoint to get other details of the user and enrich the existing list by mapping the ...
1
vote
0answers
70 views

SharePoint Online (Office 365) Workflow to Copy New File Versions to Record Center Automatically

We have a design goal to copy every new version of files in our Office 365 / SharePoint Online-based Document Center site to a separate Records Center site automatically using a SharePoint 2013 ...
1
vote
1answer
223 views

How to call SharePoint Rest Service with CAML and Lookup column [duplicate]

I am trying to query sharepoint list which is having Lookup columns. So to do so I am using below JavaScript function function getDataWithCaml(oDataUrl, caml) { var requestData = { ...
1
vote
3answers
106 views

Rendering Choice, Date and User values in Sharepoint 2013 REST API (without knockout)

I have researched this topic, but I can't find a solution for multiple list items needing $expand:. The script is below, with the following fields: Title: text/Name of the Company CompanyStatus: ...
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 ...
1
vote
2answers
63 views

get the attachement files from REST API when using select(I need other fields not just attachments)

I'm trying to get attachment plus other fields like title, created etc. When I use the below code var url = ...
0
votes
1answer
837 views

REST api 403 (Forbidden) error for creating site

I'm trying hard to make work this code: shptService.create_board = function (url, title, description, template) { //ensure form digest shptService.ensureFormDigest(function ...
0
votes
1answer
96 views

Get the ID of a user in REST API 2013 Designer workflow

I am using: _api/web/siteusers?$select=Id,Title&$filter=startswith(Title, 'FirstName LastName') But my issue is that Title is not a unique value. We can have more than one user with the same ...
0
votes
1answer
68 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 ...
1
vote
1answer
104 views

PUT request remote REST service from SharePoint-Hosted App

I'm trying to do a simple update in my MySQL database, I have created a REST service using JPA. The problem is, I don't know where to put the "name/value", the data that I want to use to update the ...
0
votes
2answers
142 views

Get Listitem Attachment URL

I want to get the Attachment URL with via REST or Javascript. Is there an easy way? The reason I need this, is because I want to build a marketplace in my company. User creates new list item User ...
1
vote
1answer
47 views

REST - How to get the maximum of a number

A list has an int field named AccountNumber. Everytime a new record is created through the NewForm.aspx I need to fill out the field AccountNumber with max (AccountNumber for existing items) + 1. I ...
0
votes
1answer
95 views

What is the Best way to use angular with SharePoint

I'm trying to find the Best way to Build a SharePoint site(not an app) with Angular. I've multiple Content Editor webparts where I use the REST/JSOM to load content(Ex: Image Slider, List of Calendar ...
0
votes
1answer
114 views

REST API Link to edit excel/word doc online

I am using the O365 REST API to display/organise files and currently xls/doc files have to be downloaded then opened in an editor in order to edit them. Is there a way to open these in the Word/Excel ...
3
votes
0answers
241 views

REST api 500 (Internal Server Error) error for following a site

Im currently using this code to follow a site : var executor = new SP.RequestExecutor(shptService.appWebUrl); var siteUrl = "https://domain.com/site1"; ...
2
votes
0answers
124 views

Copying attachments using JavaScript (JSOM or REST)

I've been able to copy documents in document libraries using the "CopyTo" method: https://msdn.microsoft.com/en-us/library/office/dn450841.aspx#bk_FileCopyTo I'm not understanding how I can apply ...
0
votes
0answers
28 views

Sharepoint Online Update ReadOnlyField via JSON Fiddler

I am trying to update the readonlyfield to false of the created by column in sharepoint online. The URL directs to the field and displays the following <?xml version="1.0" encoding="utf-8" ...
0
votes
1answer
80 views

_api/web/lists/ returns all the lists including system generated

We are working on a mobile app where we want to get all the custom lists (created by user etc.). API GET "/_api/web/lists/" is working perfectly fine but it is returning all the lists available in ...
0
votes
0answers
39 views

Accessing azure hosted API with sharepoint online add-ins

Here is our situation. We have a sharepoint add-in that needs to obtain data from an api, this api in turn calls a WCF service to obtain the data. Both the api and the WCF service are hosted on ...