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
3answers
6k views

REST Adding New List Item

I am currently using office 365 and lots of REST queries to display data. However I am now creating my own forms using bootstrap and JQuery. However, how do I use REST to add the data to the list. ...
2
votes
1answer
875 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 ...
1
vote
3answers
6k views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
0
votes
0answers
11 views

SharePoint 2013 Workflows - A binding instance has already been associated

I upgraded from .NET 4.5 to 4.5.2 via the Web Platform Installer. This utility offers no way to rollback or uninstall. I am getting the following error in SharePoint for a 2013 Workflow (also shown in ...
0
votes
2answers
2k views

How to Get User Active Directory Groups in Sharepoint Online

I can't find any documentation or a way to find if a user belongs to an AD group with Javascript neither with the REST API or with the client model JSOM. I have a page in a Sharepoint site and I want ...
1
vote
0answers
21 views

Invalid JSON error while checkin of file on IE

I am facing an issue while checking in the file using REST API. The code below works Chrome Firefox and IE except the version 11.0.9600.17914. I tested it on my local IE version 11.0.9600.17905 and ...
0
votes
1answer
34 views

SharePoint Online/Office 365 - Using Rest Services in a SharePoint Designer Workflow

Good Morning All, does anyone have any good articles, notes and\or documentation on how to configure and develop a rest web service call within a SharePoint Designer 2013 workflow? I've found plenty ...
0
votes
0answers
51 views

Querying field is invalid when accessing it by using OData query operations in SharePoint 2013 REST requests

I'm trying to use the OData query operations in SharePoint REST requests, but I get an error message when Im trying to join two lists and access some fields. The message is saying: QUERYING THE ...
4
votes
3answers
698 views

SharePoint REST POST to upload file produces corrupted or empty file

I've got this jquery/REST process that I thought was uploading a PDF file to SPO 2013 Document library, but it's only producing an empty or corrupt. Anybody know why? function ...
2
votes
2answers
1k 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
2answers
1k 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 ...
1
vote
1answer
74 views

SharePoint 2013 Online adding a user to a group using a workflow

I am trying to add a user to a security group via a SharePoint 2013 workflow I am currently trying to do this using the Call HTTP web service action and I have 3 dictionary's built. All of this is ...
0
votes
1answer
760 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 ...
1
vote
1answer
28 views

REST call to move a file/folder to another location

I am trying to move a file/folder from one location to another using a REST call, but I am getting the following error: { error: { code: "-1, ...
2
votes
0answers
37 views

REST Call to Post a Reply to a Discussion Board Topic w/o JSOM

I am trying to find a way to post a reply to an existing discussion on a Discussion board using the REST API. I cannot find a way to do this. I can only create a new discussion topic using REST. I ...
1
vote
1answer
27 views

SharePoint REST API Post date from Input value

I am currently developing a SharePoint 2013 app and I have ran into an issue. I have REST api that runs when the user tries to submit data, I have managed to get the Title field to submit the ...
0
votes
1answer
461 views

Copy a file from the RootSite to a SubSite

I'm trying to add a file from a Rootsite to a SubSite using REST API. There some code: $.ajax ( { url : _spPageContextInfo.siteAbsoluteUrl + "/_api/web/getFileByServerRelativeUrl('" + selected + ...
1
vote
0answers
51 views

Keep getting a 400 Bad Request when trying to create a Site via REST API

I'm quite new to Sharepoint stuff, and currently am trying to interact with the REST API. I have been able to get all kinds of data without much problems by sending GET reuqests, but sending POST ...
3
votes
1answer
51 views

SharePoint 2013 REST API Request Token: The given key was not present in the dictionary

I am trying to post data to a SharePoint 2013 REST API using Python. I am able to successfully acquire the required X-RequestDigest using the method from this post. I have already tried solutions ...
4
votes
2answers
855 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: ...
1
vote
1answer
55 views

Pre Filling SharePoint Field using Javascript

I am using REST API to create list item in another list. Based on the successful creation of the list item I am just updating the current SharePoint field value.This whole process is executing through ...
1
vote
0answers
36 views

Finding all personal sites in my site collection through REST API

I want to know if there is any way I can get the entire list of My Sites (personal sites) with in the My Site collection for a tenant. So I'm looking for all sites under ...
1
vote
1answer
656 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 ...
1
vote
1answer
42 views

$orderby not working with lookup column Id

I want to sort order my REST results data with a lookup column's Id in my SharePoint list. I tried using $orderby in my REST query, but got no luck. can anyone of you help me out with this ? ...
0
votes
0answers
23 views

How to update folder properties based on content type using C# Rest code

I have a document library, say, People, with a custom content type MyCustomType with fields Location, Cost.This library has a folder say X. X has a subfolder Y. Y has 3 subfolders z1,z2,z3 at the same ...
0
votes
0answers
16 views

REST api getting custom user profile property

I'm creating a workflow, using VS 2013, that needs to get a user profile with some custom properties. I used REST to try and get the custom properties but according to msdn ...
0
votes
0answers
22 views
0
votes
0answers
18 views

Accessing Site Newsfeed in Sharepoint 2013 via REST

I have a SharePoint system set up and a site created named 'testsite'. I can access folders and documents via different means respectively, e.g.: ...
0
votes
0answers
12 views

permanent Link to the document through search webservices

how to get the permanent Link to the document through search webservices? My site collection has the Document Id feature activated but I don't know how to get this link. I'm guessing I have to set a ...
0
votes
1answer
28 views

Get the default values for a Library

Is it possible to get the default values for a library using JavaScript? For example for the column A I've set the default Value 'Pencil'
0
votes
1answer
1k 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
1answer
28 views

REST API Search images

I'm doing a simple REST request to the SharePoint API and it seems that it doesn't retrieve images or videos, should I add something specific to the query text in order to have images and videos in my ...
0
votes
1answer
25 views

Refresh SharePoint document programmatically in MS Word addin

I have a MS Office Word addin that contacts a service to upload and checkin the current Active document into SharePoint and does some other magic. My issue is that if I try to save the document again ...
1
vote
1answer
55 views

REST analog of SP.Utilities.Utility.formatDateTime

I would be very glad if someone help me, I am trying to find REST analog of SP.Utilities.Utility.formatDateTime function: var context = new SP.ClientContext.get_current(); var web = ...
0
votes
3answers
55 views

Aggregate task list using REST - Sharepoint Online

I have about 15 project sites sitting under a root site in O365,each project site has a list called 'Tasks' I would like to display all the tasks on the root site showing Project site the task has ...
5
votes
4answers
5k views

REST with $filter for List Items in Sharepoint 2013

Sharepoint 2013, REST API, native C++ application: I want to get all Folder items from the list. Try /_api/Web/Lists(guid'GUID')/Items?$filter=FileSystemObjectType+eq+1 and get HTTP 400 Bed ...
3
votes
1answer
2k views

Sharepoint 2013 - REST api - downloading file returns incorrect Content-Type

I made the following request to download a file from Sharepoint 2013 using REST api: GET ...
0
votes
1answer
32 views

Setting Group Owner using workflow 2013 and REST

We wanted to have a group created while specifying the group owner upon creation. Is that possible? The rest call to /_api/currentsite/sitegroups using POST will create a group, but there is an ...
0
votes
0answers
20 views

Clone list item using Lists Web Service & REST in SharePoint 2010

I know how to add/edit/delete items in a list using Lists Web Service (lists.asmx) and REST but I'm wondering if there is an easy way to clone? I know I can get the item, iterate through its data and ...
1
vote
2answers
195 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 ...
1
vote
1answer
28 views

How to update item properties for an existing document found by search with CSOM?

You don't know which library it resides in, nor site, nor site collection. The only entry point is the search center URL or _api/Search endpoint. The problem is that when you retrieve the File it is ...
1
vote
1answer
482 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 ...
1
vote
1answer
62 views

REST API O365 site collection upload file in a folder in document library

I have a script that uses the rest api and I am wanting to upload a file to a site collection document library that has the /sites/sitecollectionname layout. By doing : ...
0
votes
0answers
18 views

SP2013 : Get data from folder inside a custom list

How to get all data from folder inside a Sharepoint list using client side code ? Rest apis
1
vote
2answers
43 views

Get Group Id Using REST

I want to get group id in single call. I am using below URL <Sitename>/_api/web/sitegroups/getbyname('Approvers') it is returning object. I want to apply filter to above url to get group id. ...
0
votes
0answers
61 views

invoke-restMethod uploading a file to document library in office 365

<# .Synopsis Stores the credentials for Invoke-SPORestMethod. .DESCRIPTION Stores the credentials for Invoke-SPORestMethod. This is done so that you don't have to provide your ...
0
votes
2answers
1k views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
1
vote
1answer
640 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 ...
0
votes
1answer
74 views

VBA - REST API call to Sharepoint list update speeds

I've been trying to look more into this but I can't seem to find a good explanation of why this is happening. So I am making a REST API call to a Sharepoint list. All I want is to grab information ...
0
votes
0answers
16 views

Populate SharePoint 2013 calendar using REST api [duplicate]

I am new to REST and am currently learning. So far I can see how to use the REST service to retrieve list items but it seems that the REST service can only be used to GET items from SharePoint, not ...