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
1answer
38 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 ...
2
votes
0answers
38 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
29 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, ...
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 ...
1
vote
0answers
59 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
56 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 ...
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
40 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 ...
0
votes
0answers
25 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
19 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

Need to get folder,file items using REST

I have used REST url as: ...
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
26 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 ...
0
votes
1answer
34 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
22 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 ...
0
votes
3answers
62 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 ...
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
0answers
19 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
1answer
64 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
1answer
81 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 ...
0
votes
0answers
46 views

OData batch request does not work well

Now I'm trying to use odata batch request in reference to the following things. http://www.andrewconnell.com/blog/part-2-sharepoint-rest-api-batching-exploring-batch-requests-responses-and-changesets ...
0
votes
0answers
22 views

Search results is null when ViewsLifeTime field is included and Queried via Rest api

I'm trying to do a search with the REST API sorting by ViewsLifeTime but the result search contains documents with ViewsLifeTime value is null, how can I avoid that?
0
votes
1answer
27 views

Default App Permission Scope

I've created a list that creates subsites through the REST API that uses a project site template. The site template i'm using has workflows that talk back to the main site using the REST API. The ...
2
votes
2answers
48 views

Open the document in the browser

I'm presenting some Search results to the user using REST API, is there something specific should I include in the link to the document so the document opens in the browser?
0
votes
1answer
24 views

REST query 'getbytitle' gives an error message in IE

I am trying to access tasks list using REST call using site_url/_api/web/lists/getbytitle(‘tasks') in Internet Explorer. It displays the message "The webpage cannot be found". However i could get ...
0
votes
2answers
64 views

GetUserEffectivePermissions returning 0 (“EmptyMask”)

I'm trying to retrieve the current user's permissions for a list but I keep getting an emptyMask result, even when my current user account is a Site Collection Admin. function ...
0
votes
1answer
16 views

Rest Api File Upload with version comments

Is there an api to upload a file along with Version Comments? When I upload a file through the SharePoint portal, the file upload popup also provides a text box to include version comments if needed. ...
0
votes
1answer
37 views

Get account name of specific user using their display name

I am targeting a Person/Group field within my page layout via JavaScript. This enables me to get the display name for that particular user "Lastname, Firstname". Using '.innerHTML', I can also ...
1
vote
0answers
56 views

REST update not working

I am having problems updating list items using REST calls within an angularjs SPA. I've tried HTTP and ajax methods but both do not work and give different errors. (I am only trying to update ...
3
votes
4answers
79 views

Compatiblity when using CSOM or SOM

If I want to develop an application in .Net using C# which will perform simple operations such as: Connect to a site using user/password Retrieve document libraries Upload file in document ...
0
votes
0answers
68 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 ...
1
vote
0answers
34 views

invoke rest api office 365 powershell

### ENVIRONMENT SETTINGS $user = "domain\user" $pass = "thepassword" $doclib = "Documents" $url = "http://localhost/sites/teamsite" ### TOGGLE DEBUG MODE $debug = $FALSE ### DO NOT MODIFY $headers = ...
0
votes
0answers
47 views

Using powershell to upload large files using the rest api

I am wanting to use powershell to upload large files using the rest api, not on the sharepoint online shell or anything like that, just normal powershell. I have an office 365 site that i want to ...
1
vote
1answer
44 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 ? ...
1
vote
1answer
29 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 ...
0
votes
0answers
71 views

Office 365 upload a file to a document library powershell

$Context = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL) $pass = ConvertTo-SecureString $credentials.Password -AsPlainText -Force $Creds = New-Object ...
1
vote
2answers
99 views

Sharepoint online/Office 365 Is there a way to get all site collections for a tenant? [duplicate]

I'm looking for a way to get all the site collections for a particular tenant through API. The URL that lists all site collections is ...
0
votes
0answers
39 views

Create Web Property in Web Property Bag in SharePoint Site using REST API

I want to add one Web Property to sharepoint sub site using REST API. Is it possible or feasible using REST API?
1
vote
1answer
46 views

import sharepoint 2010 list data in json format using javascript (IE8)

i have a sharepoint list already created and populated from an excel file. How would i go about pulling data from sharepoint to a json object in my javascript program. Another requirement is that ...
0
votes
0answers
18 views

Sharepoint REST API Expand Column to fetch Lookup Column ID

I have a Sharepoint List 'UserSubscriptionList' that has a Lookup Column 'WorkspaceApp' and my 'WorkspaceApp' has a Lookup Column that has a Lookup Column 'AppCategory'. What is the best Optimal ...
1
vote
2answers
44 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
1answer
48 views

Reading sub-sites with files rest API?

I'm using the REST Files API, as documented here, to read the content of an Online Sharepoint (Office 365) site. Is it possible to get the sub-sites the root site using this API? I understand I ...
0
votes
0answers
17 views

Office Graph change the rowlimit

How Can i Change the rowlimit in an Office Graph query? I tried adding rowlimit=20 to the search but it didn't work.
0
votes
0answers
89 views

REST API uploading a file powershell office 365

Add-Type –Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type –Path "C:\Program Files\Common Files\microsoft shared\Web ...
0
votes
0answers
26 views

Delve and SPO REST API

So, besides the offical documentation of Delve and the REST API is there another sources where I can see the Delve capabilities? To see what I can combine with SPO and Delve
0
votes
1answer
15 views

While using REST API to get a list by title, there is a problem getting a list whose name contains the '&' character

I have already tried encoding the '&' as %26 in the request URL. It didn't work. Please suggest something else.