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)

2
votes
0answers
14 views

Best way to filter by distribution groups user is in and show assigned to tasks for that group

Basically, the goal is that there is a task list web part that will use REST services to see what distribution groups a user is a part of and the view will filter based on if any distribution groups ...
3
votes
0answers
28 views

Getting back-end data and displaying it in the client

My SP Admin level is strong. My SP dev level is beginner. I know some JavaScript. What is the best method of bringing Server and Farm information from the back-end to the client-side? For example, ...
0
votes
2answers
823 views

How to get the ID of a list item with a given GUID in Sharepoint online with REST api?

I tried a request at a url of the following form .../_api/web/Lists/getByTitle('docLib')/items?$select=id,GUID&$top=1&$filter=GUID eq '2779cf8051-381f-4834-93dc-ece6345dde33' and i get ...
0
votes
0answers
31 views

How to retrieve a SharePoint list item using document ID only

How can I retrieve a SharePoint list item using just the document ID? I am accessing a SharePoint 2013 server (with document IDs enabled) remotely from a .NET application. I do not know which site or ...
1
vote
1answer
28 views

Get Department for current user using REST API (Javascript)

Is it possible to get the department of the current user using REST API (Javascript)?
1
vote
0answers
9 views

Service account to access data without being able to log into the web interface?

I've been asked a tricky question. Here is the schema. A user have access to a custom web interface, no SharePoint. He wants, through this interface, to access data on SharePoint. He has no account on ...
1
vote
2answers
402 views

SharePoint Hosted App: Using Cross Domain call to access list items on Host Web

I can use Chrome Advanced REST tools to test out a get list items request on the host web http://mydev/records/_api/Web/Lists/GetByTitle('Uber Documents')/Items?$select=Title Ok now I want to use a ...
1
vote
1answer
24 views

REST calls between applications

I have a series of SharePoint applications, one being our Intranet site and one being a system for serviceinformation on our IT-systems (itstatus). I really want to make a section of out intranet ...
2
votes
1answer
675 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
0answers
37 views

Rest API create personal site enque

I'm trying to provision My Site by utilizing SharePoint JSOM or REST API. The JSOM code snippet (below) gives System.UnauthorizedAccessException and REST call gives me a 401. The goal here is to ...
0
votes
1answer
34 views

How to combine 2 calenders from 2 different sharepoint online sites?

I've received the assignement to combine 2 calenders from 2 different sharepointonline sites. From what i researched, this is not possible with the out of the box overlay solution SharePoint has to ...
1
vote
1answer
154 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
16 views

How to dynamically change the drawing path in Visio Web Access Web Part

I am wondering if there's any way to dynamically change the drawing shown by a visio web access web part. I have multiple drawings I want to show on a page based on what users click on the page. Any ...
0
votes
0answers
14 views

User Profile REST Endpoint isn't up-to-date

I'm trying to access the User Profile information so that I can personalize some information on our Intranet. I'm using the User Profile REST endpoint for it, but it seems like the REST endpoint is ...
0
votes
1answer
534 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: "Not well formed JSON Stream" I cant find much on calling the REST API from c# so have been piecing it ...
2
votes
1answer
1k 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
0answers
19 views

Changes made in Sharepoint web interface to list aren't reflected when using REST method

I've got a Sharepoint list to which I've added some columns, like so: Now, I've been able to pull data from Sharepoint using the super awesome Rest API, using the below PowerShell code: $Items = ...
0
votes
0answers
7 views

How to use REST on Form Libraries

I need to edit permissions on individual form items that have been added to a form library. This is within 2013 Workflows. So I only need the http call. I have tried to access using the standard ...
0
votes
1answer
22 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 ...
1
vote
1answer
522 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
0
votes
2answers
65 views

Problems while Accessing SharePoint List items in SharePoint 2013 using REST API in NAPA tool

I am trying to access the list item using an APP in my office 365 share point hosted trial environment.It seems like the call REST call is failing, the alert in error function is getting executed. ...
2
votes
2answers
46 views

How to create a folder in Sharepoint using Java and RESTFul API?

This is my Sharepoint site http://sp2k13/sites/ifsp/ and I would like to create a folder using Sharepoint RESTFul API with Java. I have already gone through Working with folders and files with REST ...
3
votes
1answer
522 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 ...
1
vote
1answer
484 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. ...
0
votes
1answer
487 views

SharePoint 2013 REST API: how to get or set document fields

I want to get and also set document properties defined in a content type via a Rest call in either and app or a workflow Activity. If you fire up Google Postman or Advanced REST Api client you can ...
2
votes
2answers
740 views

Upload files to SharePoint Online using REST API

I'm trying to develop a console application which will upload files from the users client PC to a SharePoint Online site. I've written a version that used CSOM, but the file size is limited to 1.5Mb, ...
0
votes
3answers
45 views

Bringing back fields by internal name in SharePoint REST

Let's say I have the query: http://thisbox/_api/lists/getbytitle('ThisList')/items?$select=* But instead of "*" for selecting fields, I have a list of Field Internal Names and/or GUID's. I'd like ...
1
vote
1answer
573 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 ...
1
vote
1answer
617 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
1answer
25 views

Filtering a Lookup field using REST not working in Sharepoint 2010

I'm trying to filter a column of type lookup from a list using this method. /_vti_bin/ListData.svc/Collections()?$expand=Departments&$filter=Departments/Title eq 'Sales' And its outputting the ...
5
votes
3answers
5k views

REST API filter by start and end dates using 'today'

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
0
votes
1answer
26 views

Get image from SharePoint by URL

I try to get an Image from SharePoint by using JavaScript code. I have the complete URL of the image which is stored in a SharePoint Assets Library. My app is SharePoint hosted. This code does not ...
0
votes
1answer
29 views

Cannot find resource for the request $batch Sharepoint server 2013

When i try to execute sample batch code in Sharepoint server 2013 i'm getting the error 'Cannot find resource for the request $batch' Int16 listRetrievalCount = 0; if (IsPostBack) { ...
2
votes
1answer
41 views

Get url of document library from REST call

I am working with O365 SharePoint site where I need to get the name and URL for the document libraries in a site collection. I have made a rest call for it as: https://site/_api/web/lists and select ...
1
vote
0answers
12 views

Apps Permission Request XML for Workflow, and Rest Workflow Help Please

The documentation on msdn is pure junk if you ask me, for setting up App permissions in a Workflow. Here is the link ...
0
votes
1answer
369 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
2
votes
1answer
110 views

How do I access an image library from my client web part via the REST API?

I am busy implementing a small web part to rotate through a list of banner images. The images must come from an Office 365 SharePoint Online list. My first choice to implement this list is by using ...
4
votes
0answers
102 views

How to access a custom field of a list using REST

I'm trying to get information from a list in a custom SPField called "My Field" with the internal name "MyField" using this JavaScript code: $.ajax({ url: ...
0
votes
0answers
8 views

How do I set up SharePoint Designer so I can edit list item permissions using a workflow

I need to be able to change list item permissions within a workflow. I have Workflow platform 2010 but the Impersonation step is greyed out. I have Workflow platform 2013, but I dont know where or ...
0
votes
0answers
21 views

SharePoint 2013 Online Permission to User Profiles REST API

I have a SharePoint application which I've built using javascript on a single page (not using an app). I have to make calls to the user profile service to retrieve properties like Manager and Business ...
2
votes
2answers
846 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 ...
1
vote
1answer
48 views

Get the permission list for a group using jQuery AJAX requests REST API

How can i get the group permissions for a list using an AJAX request with the REST API? I could add or remove permissions for the group but i want to know the actual permissions of the group over the ...
0
votes
1answer
20 views

Get link to image from asset library

I try to access an asset library in a SharePoint-Hosted App via the REST API. The app is hosted in SharePoint Online. I get the properties of the images (e.g. the title etc). But I do not find a ...
3
votes
1answer
2k views

The field 'EventDate' of type 'DateTime' cannot be used in the query filter expression

I am trying to filter standard Calendar events via SharePoint web api and my query looks like this: /_api/web/lists/getbytitle('calendar')/items?$filter=( EventDate ge ...
3
votes
1answer
68 views

Using NOT on REST date query

I am able to filter for items created on a specific date with the following query (using today [03-06-2015] as an example): "$filter=Created ge datetime'2015-03-06T05:00:00.000Z' and Created lt ...
5
votes
2answers
181 views

Consume SharePoint online lists using REST API (in R)

I would like to be able to query lists that are on my sharepoint online site via R. I'm having difficulties ascertaining the right method for authenticating my requests. These requests would be ...
1
vote
2answers
208 views

How to add an AD group to a SP group using REST api?

I managed to write a code that adds a user to SP group using REST and it just posts this data: { '__metadata': { 'type': 'SP.User' }, 'LoginName':'i:0#.w|domain\\user' } to here: ...
2
votes
2answers
84 views

Add AD group to SharePoint Online using REST API

Is it possible to add an AD group into SharePoint. I've created a user group in the Office 365 portal, which appears to be stored in AD. Is there a way of searching for this AD group and adding it. ...
0
votes
3answers
65 views

Not able to access sharepoint list using rest api

This is my code function getListItem(url, listname, id, complete, failure) { // Getting our list items $.ajax({ url: url + "/_api/lists/getbytitle('"+ listname +"')/items", ...
1
vote
1answer
27 views

ItemAdded not firing with REST

I have an ItemAdded on a list which creates a Document Library for each item added, and updates some fields of the item. It fires perfectly when items are entered manually. It doesn't fire when ...