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

Retrieve list value with more than 2 look up field

I have a list 'NewsList' with columns Title, ShortDescription,Image ,Programs,Division and Tag. Here, Programs,Division and Tag are lookup fields with same list name. When I try to retrieve the ...
0
votes
0answers
9 views

Do REST only uses search to retrieve lists - SharePoint

I know that I can use search REST api to fetch data from SharePoint. But is there a way to get a list without having to index the list? I'm having a problem that search (Continues crawl) is to slow ...
0
votes
0answers
29 views

Create a folder in document library using REST (Java)

How do you create a folder in document library. I got this code right now but getting error code 403 FORBIDDEN public void createFolder(String digest) throws ClientProtocolException, IOException { ...
0
votes
0answers
26 views

How to update metadata for Sharepoint 2013 rest service?

How to update metadata for Sharepoint 2013 rest service using Java
1
vote
1answer
23 views

Can we trigger a SP2013 WorkFlow using REST API + Jquery?

Can anyone suggest whether there is any possibility how to trigger a SP2013 WorkFlow using REST API & Jquery ?
2
votes
3answers
62 views

Get Columns via REST

I'm trying to get a list of all columns/fields for a list via REST using the /_api/Web/Lists(guid'xxxx')/Fields endpoint. This works fine, except it's adding in all of the system and duplicate fields ...
0
votes
1answer
28 views

Query rules and REST

Is it possible to create a query rule and have the condition match a keyword in a complex KQL query? For example the following query is being issued from a third party application using the REST ...
-2
votes
2answers
28 views

Rest webservices in SharePoint?

Any documentation to learn REST Webservice in SharePoint ? I am trying to create REST webservice for SharePoint.
0
votes
1answer
29 views

SharePoint REST api Input string was not in a correct format

I'm fairly new to SharePoint and have been wrestling with this particular problem for some time now. Whenever I try using the REST API for a calendar list using the following url ...
0
votes
0answers
14 views

Can we get Excel Pivot chart as an image in SharePoint 2013

I have a workbook which has a pivot chart and we are showing it in Excel services web part. Now my question is: Is it possible to access that chart (as an image) element? I know we can use REST api ...
0
votes
0answers
27 views

Add Guest Reader site user for a File

I want to know how I can add a Guest Reader site user on my OneDrive. Since a Guest Reader is for a particular file, I want to know if I can add such a user through REST API. I am looking for ...
0
votes
0answers
29 views

Office365 REST API bad request while saving data to List

In a SharePoint hosted App am trying to save data to my list in Office 365 using REST API below is the code. The problem with this code is it works fine for less values passed (eg: my in my item I ...
2
votes
2answers
97 views

Office 356 REST API for search

Office 365 REST API for search return only 500 rows by setting parameter rowimit=500. This is the query i am trying.. https://server_address/_api/search/query?querytext='test'&rowlimit=500 but ...
0
votes
3answers
53 views

Filtering REST call with lookup field

We have a column defined on a custom list that allows for multiple select of values from another custom list. The column on the list is call Panels. When I do a REST call against this list, I can ...
0
votes
1answer
32 views

CRUD Tasks using Java via JERSEY REST

I am trying to create a rest webservice using Jersey library. I want to upload, get, delete and update a document in document library. Can someone link an example of simple crud. For some reason I ...
0
votes
0answers
26 views

Copy File site collection to subsite with REST API & Javascript

Im trying to copy a file from between sites. Everything works out fine, but when I try to open the copy I get an error messages that tells me the document is corrupted. Ive been trying the approach ...
1
vote
1answer
29 views

web api query with $filter return HRESULT : 0x80131904

I try to filter items using SP2013 web api such this request : _api/web/lists/getbytitle('Activity')/items?$filter=Mylookupfield eq 'SomeValue'. All works fine in my DEV machine but in the customer ...
1
vote
1answer
23 views

How do I get the number of items in a list using REST?

How do I get the total number of items in a list based on a filter. For example: How many fruits in the SharePoint list, "Fruits", are red? I can get the items themselves like below, but I just want ...
0
votes
0answers
18 views

SharePoint 2013 REST call with CopyTo causes a not well formatted JSON Stream error

I have written an SharePoint hosted App that performs a local file copy .. first I tested my url with a valid REST call listurldir = "/appsdev/Marketing Lib; itemurl = "/Marketing ...
0
votes
0answers
33 views

Upload File as Attachment using SharePoint REST API

I have tried to upload a file to a SharePoint list item, but the server returns an error (400 Bad request): ...
0
votes
0answers
29 views

Cannot delete attachment from a list item from a sharepoint online app

I get a success message after running the following code displayed below. However, when I go and verify the list item the file is still there. If I try the client side of this code, the file gets ...
0
votes
1answer
69 views

Update metadata column using Java REST

As I understand, you have to make a 3 steps to update the metadata on the file. I have uploaded a file to my document library using POST and after that made a GET and took out the metadata i need to ...
0
votes
0answers
12 views

How do we consume Sharepoint API methods in SQL server?

As we know we can access the web service in SQL. But then how to consume the Sharepoint API methods in SQL? Can anyone explain with example? I wanted to access ...
0
votes
2answers
128 views

How to get JSON column “Title” in Java

I get this JSON returned and i want to select the metadata "Title" so i can change it to something else. { "d": { "results": [ { "__metadata": { "id": ...
0
votes
2answers
27 views

Access number of major versions using REST API

I managed to access the fields "EnableVersioning", "EnableMajorVersions" etc. to check whether my sharepoint lists have versioning enabled. However, I didn't find any XML element that controls the ...
0
votes
1answer
29 views

curl request to access file through REST API?

Is there a simple way to use a cURL request to the REST API to access a file on my Sharepoint account? For example curl -i -H "Authorization: Bearer <some-key-here>" ...
0
votes
0answers
20 views

REST API Social News Feed with Images throwing 400 error

Reading the news feed with the REST API _api/social.feed/my/news gives me text, but if an Image post is added, without text, I get a 400 error. If I added text, I am shown the text and get no error. ...
0
votes
2answers
29 views

Problem with many $filter parameters

The query below returns a 404 error because there are two many $filter parameters. Can I increase the number of $filter parameters permitted? How can I improve this query? ...
0
votes
1answer
61 views

Create document from template with REST API in javascript

I have a document library in my SharePoint Online tenant with a custom content type with some fields and a specific document template thats puts the metadata into the document. How should proceed to ...
1
vote
1answer
24 views

Resume upload with SharePoint Online

Is it possible to resume an upload with SharePoint Online? I've been looking at the following at doesn't appear to be supported. ...
0
votes
0answers
43 views

2013 REST api $skiptoken with $orderby returns wrong number of results

I noticed some discrepancies in the number of results when getting paged list items when I $orderBy different fields. I set up a test list with 196 items, the below snippet will get items in batches ...
0
votes
1answer
41 views

SharePoint App Crossdomain Rest function rewritten as a Promise

I have written a successful crossdomain call using Rest which is hosted in an Menu Action App. It returns all document item properties. Ok now I think is the time to rewrite as a JavaScript" ...
0
votes
2answers
40 views

cannot post a list item with a file using rest api

I am able to post files into folder using rest... but now I am trying to post files into a list and received {"error":{"code":"-1, ...
0
votes
1answer
26 views

need to update the item in the list

I have a list called revision. It has a columns called wbscode and revisionnumber. Wbscode contains code of the project(eg.pcode1) and revisionnumber is to store revision number done for the pcode. ...
0
votes
1answer
33 views

SharePoint 2013 REST response: jasonObject.d.result is undefined but jasonObject.d is fine

I am testing a SharePoint hosted app Menu Action. I have written a REST call that brings back all the properties in a document item. I get a valid response but when I unpick my response I run into ...
0
votes
2answers
47 views

Csom or rest to verify user

I am uploading a spreadsheet to a task list using visual studio - the sheet will usually have users that are misspelled or incomplete and SharePoint throws a not a user error. I have to go back fix ...
0
votes
0answers
10 views

Getting row data from SharePoint Analytics

How can I get row data from SharePoint 2013 analytics? Is there any api to use by sending query or something and then get the row data?
0
votes
2answers
29 views

How to exclude more than one file name ending with vsdx or avi?

I'm able to grab the files, but haven't been successful excluding more than one file name ending with vsdx or avi. I need to exclude more than one file type. Any suggestions? <script ...
0
votes
1answer
18 views

How do I get results to open in new tab?

I've made several edits to this line, but they do not appear to be working. html = html + "< a href='" + this.LinkingUrl + target="_blank"+"'>" + this.Name $.ajax({ url: ...
3
votes
1answer
28 views

Reserved folder names sharepoint online

I'm currently running into an issue with creating a folder titled "large_files" When using the Web UI in OneDrive for Business I've created the following folder ...
0
votes
1answer
24 views

Is there a way to expand and filter using a substring in the Sharepoint API?

I'd like to expand files and filter using a substring like so: Is it possible? ...
0
votes
0answers
23 views

Filter calculated columns in sharepoint 2013 using rest api

I am using Rest Api to filter values. Can i apply filter on Calculated columns. Basically the calculated column returns a string . Her is How my View Looks My REST API CODE IS like this ...
1
vote
0answers
32 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
31 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 ...
1
vote
1answer
44 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
2answers
83 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 ...
0
votes
0answers
14 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
46 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
29 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
1answer
36 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. ...