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)

1
vote
0answers
51 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
56 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
1answer
142 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
69 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
2answers
32 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
2answers
41 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
0answers
21 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
150 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
1answer
129 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 ...
0
votes
1answer
70 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
26 views

Setting up files to access through API?

Before learning that this forum existed, I asked this question on StackOverflow. I am a new Sharepoint (Office 365) user, and I want to use it to host a file that I can access through the REST API. ...
4
votes
6answers
3k views

Paging using REST/OData with SP 2013

I'm trying to do paging on a document library (also trying this on a list) with SP 2013 using REST/OData but I can't seem to get the skipping of items working. Here are some examples of URLs that I'm ...
1
vote
1answer
38 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
1answer
67 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
0answers
169 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
2answers
70 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, ...
2
votes
1answer
114 views

Sharepoint 2013 REST API with user without admin rights

I'm developing a web application which integrate with the sharepoint (multi-tenant). The app is supposed to upload and download files to the sharepoint. I'm using the Sharepoint 2013 REST and trying ...
0
votes
1answer
29 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
64 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
37 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 ...
4
votes
2answers
583 views

REST API along with startswith and tolower function method in SharePoint 2013

I would like to bind all users into textbox autocomplete event. I done with below script but it is consider case sensitive expression while searching the results. $("#txtselectuser").autocomplete({ ...
1
vote
2answers
316 views

how to attach file to list sharepoint 2013 via REST API

I need to upload file as an attachement to list SharePoint using REST API. UPload the file to list and not to SharedDocuments. There is a COM code: ...
0
votes
2answers
60 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
16 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
1answer
20 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
43 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 ...
1
vote
1answer
81 views

How to access the users roles in a easy way, using REST api?

I am trying to obtain user roles to pass from Sharepoint server to a specific tool, and I have to perform a lot of gets to obtain it. There is a simples REST request to do it?
0
votes
1answer
30 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? ...
4
votes
2answers
744 views

REST API Filter by multilookup property

Having an Activities list with a column called Engineer of type lookup that allow multiple values. How to build a call to listdata.svc in order to get only activities that are asigned to an Engineer ...
0
votes
0answers
70 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
1answer
68 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?
1
vote
0answers
42 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
52 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 ...
0
votes
2answers
251 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
1answer
56 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. ...
0
votes
0answers
16 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
71 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
39 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
2answers
64 views

How do I handle Multi Select Fields using Rest API?

A couple of my rows are Multi Select Rows. When I make this call nothing returns for that row. How do would I handle the multi-value field? <script type="text/javascript"> $.ajax({ ...
0
votes
0answers
53 views

Make document unfollowed from REST api

I'm trying to use the REST API for social.following. What I want to do is to mark a document as unfollowed from a mobile app call. At start I wanted to simulate the call from Postman extension from ...
0
votes
1answer
33 views

How to display list items store in different Web Application without REST?

I have an one intranet site, and one public site. These have different web application. I want to display Tasks list and also insert items in intranet site into public site. I try to add ...
0
votes
1answer
142 views

Get File Url from a Lookup Column REST API

I have a lookup column that correlates to a background image in my presentation layer. Is it possible to expose the URL to the actual file via the $expand mechanism using REST? Example REST URI ...
0
votes
1answer
56 views

How to pull data fields from Document Sets within an Asset Library?

I have an Asset Library with document sets, that I need to pull data from. I'm able to pull data from using the following code, but not sure how to get and enumerate data from the associated document ...
0
votes
0answers
62 views

REST GetChanges(query) only returning ChangeType=1

In my SP Hosted App I have a list with 9 items. I deleted item 6 and 7 and changed item 9. Next I ran the following REST in Postman: ...
0
votes
0answers
164 views

Office365(Sharepoint/OneDrive) REST API endpoints for Recycle bin call return empty list

I'm trying out the Recycle Bin REST API endpoints for Sharepoint mentioned here . The URL I'm hitting is; ...
0
votes
0answers
224 views

How to create list item in an external list using SharePoint workflow?

Environment: SharePoint 2013 SP1 I have an External List displaying data exposed through a WCF service. Creating, Reading, Updating and Deleting (CRUD) items in the external list works fine in the ...
2
votes
2answers
162 views

Sharepoint 2013 Development Boundaries

I need some understanding around SharePoint 2013 Development model. What are SharePoint 2013 Development Boundaries? What SharePoint developer can and cant do with each model?
2
votes
1answer
49 views

Communication options with SharePoint and the world

I have just started with SharePoint. Made a CRM system for our own company with help of the SharePoint suite found in Office365. This is mostly a 'getting to know sharepoint' exercise. Now I'm ...
1
vote
0answers
125 views

Problems making REST POST requests to SP-Hosted App with Postman

I am facing problems when making REST calls of type POST to my Sharepoint Hosted app with Postman in Chrome. GET type calls work fine. For example, I want to make the following call on my app to get ...
6
votes
1answer
2k views

Using REST for a DVWP DataSource with Office365

I'm trying to use the REST services (ListData.svc) to retrieve items from a list in a very simple test with Office365. I can't seem to get the connection to work without adding my credentials to the ...